Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This ("the rule of least power") is a rule I abide by religiously:

https://en.wikipedia.org/wiki/Rule_of_least_power

I build lots of DSLs/configuration languages but Im pretty militant about killing them if requirements dictate a need for anything resembling loops or conditionals. Those are the the klaxon warning bells telling you that you should just be writing code/a library.



What do you think of my approach (sister comment)?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: