News for hackers. Stuff that matters.
Re:Is Clean Code Necessary? by stinos on Tuesday August 09, 2016 @05:02AM (#12253373)
Really nothing more? I beg to differ after having to plough through lines of code just yesterday where, just to give some examples

- each single line uses a different formatting style

- variable names are hard to read abbreviations

- variable/class names don't make sense

- 5 is a level of indentation easily reached

- there's almost as much dead code as live code

- comments are grammatical nonsense and don't explain why the code is written the way it is

Re:Is Clean Code Necessary? by k__ on Tuesday August 09, 2016 @06:21AM (#12253609)
Can all be fixed rather easily, if there ha been good modularization.

But yes, I prefer those things too, haha

Re:Is Clean Code Necessary? by cauterized on Tuesday August 09, 2016 @07:13AM (#12253751)
But to replace code, first you have to understand it.
Re:Is Clean Code Necessary? by k__ on Tuesday August 09, 2016 @07:22AM (#12253782)
Modules have an api and a responsibility, often this +any code helps to understand whats going on good enough