Get the latest tech news
Htmx and the Rule of Least Power
TMX and the Rule of Least Power The Rule of Least Power suggests choosing the least powerful [computer] language suitable for a given purpose As a principal it’s applicable for all programming, but it finds particular relevance when working in the frontend of web development. The link above is to the W3C article on the subject, written by Tim Berners-Lee.
As a principal it’s applicable for all programming, but it finds particular relevance when working in the frontend of web development. Web resources that use these technologies are more likely to be reused in flexible ways than those expressed in more powerful languages. If we were to graph, in a very realistic and not made up way, the different power levels of the three classic frontend technologies - HTML, CSS and JavaScript - we’d see something like this:
Or read this on Hacker News