DEV Community

Discussion on: While learning to code, What limits have you had in the past and how did you overcome them?

Collapse
 
dobis32 profile image
Scott VanderWeide

Years ago, when I was enrolled in my first OOP course in community college, I distinctly remember that as my programs grew I found myself being less productive over longer periods of time. It wasn't obvious at the time, but I now know it was largely due to the fact that my code had no tests. I was making changes to various classes so that I could implement the next spec in the assignment, but was not taking into account the various places those code changes would affect. This lead me to throwing a lot of time away by chasing down bugs in parts of my code that were previously working just fine.

The solution? Unit testing! Sadly none of these beginner courses I was taking covered unit testing, and, now that I think about it, it's a bit mind-boggling how little testing was covered in any programming courses I have taken over the years...

Collapse
 
jcsmileyjr profile image
JC Smiley

Within my local tech community, that is one of the most repeated limits. It doesn't matter if someone has a university, boot camp, or is self-taught background; testing is barely covered. I hope in the future this gets better as the industry demands this skill.