Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@DivByZero the programmer, depending on the best algo he thinks would be best for the situation. I meant to say that many times people think few lines = better optimization which is wrong.
-
kunashe19688yI tend to think each line of code I write is a potential source of error.
So to minimize risk, I minimize the amount of code. I hope this generally leads to better quality code.
Better quality being: not having to wake up at 3 am to deal with dodgy logic. -
zinnoa1618yWith certain languages, you COULD write the whole program on one line. If you know, you were a crazy person.
-
matanl26448yI thought LOC for measuring code quality passed from this world. It tells nothing really.. If you add tests the code is better, if you remove redundant logic the code is also better => LOC have no direct effect on code quality
-
ruby437188yLess lines of code = higher logic density => harder to debug => ends up on stack overflow only to be marked as already answered in a totally unrelated question about jQuery
Related Rants
Do the 'best' programmers use fewest lines of code?
The best programmers write the appropriate number of lines of code. No more, no less.
undefined
random
!rant