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:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of power

power

Photo of rule

rule

Photo of htmx

htmx

Related news:

News photo

Specifying the power and limitations of randomness

News photo

Regulator fears big tech firms' power in AI market

News photo

Naismith's Rule