2 ms·
Locality of Behavior
- recursivedoubts 5y agoLocality of Behavior (LoB) describes a design principle that I believe explains the increasing popularity of libraries like alpine.js, tailwindscss, front end components and, if I may, htmx. It is in tension with the more familiar Separation of Concerns (SoC) design principle which has been dominant in the web development world. I am hoping that by introducing this terminology, people who favor this style of programming can better communicate with other developers its advantages.
- aliasEli 5y agoI don't believe that using a <div> as a button is good practice for building accessible websites.