Readability is king π
Check out this article π
Clever code considered harmful.. There is something undeniably⦠| by Joshua Comeau | Medium
The article taught me really important points for working with shared code. I want to recommend it to all developers β¨
My takeaways
I am citing some points from the article below, yet I encourage you to read the original article π
- A good barometer: will an intern understand it?
- Good code is simple code
- Code that makes minimal use of abstractions β Abstractions add complexity
- Readability is king when it comes to shared code
- Pernicious bugs are often caused by too much complexity, not too many characters
- The key is to weigh the cost of an abstraction against its benefit
- Consider the tradeoffs of abstractions with the junior coder in mind
- Turning a complex problem into simple code is so much more impressive than solving a simple problem with a complex solution
Top comments (0)