4 ms·
Some certainly are, many are not. To discern the two is very easy. You write a piece of code. If someone else or even yourself can still understand it after a
by alvis 5y ago
Some certainly are, many are not.
To discern the two is very easy. You write a piece of code. If someone else or even yourself can still understand it after a month, then you're practicing the "best practices".
Whereas, if you don't follow some "best practices" and they're still clear to others, they are just "developer preferences".
- floverfelt 5y agoRight, but your definition of discernment is itself a preference for readability over conciseness. Another developer could say "if it works a month or a year later, then you're practicing a best practice."