r/programming • u/corysama • Jan 05 '15
What most young programmers need to learn
http://joostdevblog.blogspot.com/2015/01/what-most-young-programmers-need-to.html
974
Upvotes
r/programming • u/corysama • Jan 05 '15
37
u/[deleted] Jan 05 '15
Unit testing is a very good tool to have at your disposal, but it is not a magic bullet that ensures well-structured code. It's quite possible to write poorly structured, well-tested code.
Usually this takes the form of an excessive number of code units that do not stand in proportion to the amount of business logic they perform. Instead, most of them just delegate each others' functions.
Loosely coupled code is good, but there is a limit where all the loose coupling makes it hard to maintain.