News for hackers. Stuff that matters.
Re:Program your next server in Go by wyager on Tuesday June 07, 2016 @04:37PM (#11857581)
For optimal code maintainability, there is a happy compromise between excessively terse and excessively verbose code. There is a lot of code in the wild that's too spread out.
Re:Program your next server in Go by nameless912 on Tuesday June 07, 2016 @07:05PM (#11858737)
Well sure, but erring on the side of verbosity at least ensures that someone can follow your thinking as long as the code is well structured. I would prefer to read 25 lines of decent Python over 3 lines of regexes in Perl.
Re:Program your next server in Go by Drdrdrq on Wednesday June 08, 2016 @04:14AM (#11860765)
Sure, but at least I would prefer 25 lines of decent Python over 125 lines of overly verbose Java. Nothing is black and white, it is easy to make code too verbose and thus very taxing for the reader.