Sunday, October 11, 2015

One Line, One Thing

"When one line of code only does ONE thing, it makes code easier to understand..." -quote by someone who codes.

My reaction: I think making one line of code do as many things as it can is better.  But the person who said the above quote has a point...from now on I will start doing this (making each line do just one thing) especially if its code I know others will read. (No point in making people mad)

No comments:

Post a Comment