re: Top 10 Object-Oriented Design Principles for writing Clean Code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Why are we still teaching new devs that DRY is #1 ? DRY is an outdated and dogmatic principle - it really should be the #1 principle on the "most ...
 

I understand that people sometimes overdo or apply things in the wrong places or without context but it does not mean that the said principle is wrong. It is understood wrong.
One can say, don't teache 'Classes' because then they will make too many classes. Or don't teach inheritance they will fall into the trap of class explosions.

Knowledge is different than competency. Knowledge is when one knows about the DRY (more than half of the developers)and competency is when to apply the DRY (Hardly anyone knows).

code of conduct - report abuse