3 ms·
This comment makes me really sad. There is so much shit software because developers are lazy or incapable to write clean and concise code. It should not be a pr
by kissgyorgy 7y ago
This comment makes me really sad. There is so much shit software because developers are lazy or incapable to write clean and concise code. It should not be a problem for any software developer. "Because junior developers" is not a good excuse, they should be capable of learning these things.
- jerf 7y agoWhile nowhere near the majority of "shit software", there is definitely a subgenre of "shit software" that sources from taking a paradigm from a language you are not currently programming in, and jamming it into the one you are currently working in. If you force currying into Go, you're going to end up with that. This does not clean up your code or make it more concise... in Go. By contrast, if you're programming in Haskell and you're not taking advantage of the currying, you're missing something. But in that language, you don't manually define a ton of closures, and break the normal convention for calling functions in the language, and break the reflection support, and make the godoc look terrible and confusing, etc. etc., you're using the language as designed. Closure handling is built in and automatic, you're not shoveling out a ton of syntax because it's the default behavior anyhow, it's the only convention in the language, the documentation is designed to handle it, etc.
- weberc2 7y agoAnother at-least-as-valid perspective is that there is so much shit software because developers feel the need to flex their cleverness and end up making a mess of overly abstract code that can't be safely modified or extended. These developers think other developers have a moral duty to spend time understanding their brilliance, and that anyone who writes simple, flat-footed, readable code is inferior.