DEV Community

Discussion on: But bro, these are the good practices.

Collapse
 
lexlohr profile image
Alex Lohr

Good code shows itself by using its language in an effective way to describe problem and solution. More lines of code can mean more verbose and understandable code. Comments may be a good way to add additional context about the problem. You don't need to test implementation details, that's a waste of time. And if you want to be able to interrupt a loop or use iterators, a for-loop is perfectly fine.

Collapse
 
onurbraga profile image
brunobraga

Completely agree.