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

The one and only important programming principle: use your brain.

Not every problem is the same and not every pattern could be used to solve every problem.



This true, but it is not very helpful advice for a novice programmer. DRY is popular because it is easy to follow. There are even tools which look for similar chunks of code in multiple places (and some companies put such checks in CI which IMO a bad idea).




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

Search: