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

What is the goal you want to achieve with this? If just programmer discipline, then that's what many people use linters for.


I do not think discipline is a reliable factor in many aspects... once you try a good compiler or a well designed/consistent API there is no way back. Look for example at C++, no one knows all of it and the newer a developer is the more they want to use all its features, and then there are the templates... which do not add much of clairity or sanity.


That's why people use linters: to enforce that discipline. No need for a special language keyword.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: