2 ms·
Patternitis is part of a cluster of diseases for a greenhorn dev. Abstractiosis - Adding layers of indirection which don't serve to make the code clear DRYicr
by cogman10 4y ago
Patternitis is part of a cluster of diseases for a greenhorn dev.
Abstractiosis - Adding layers of indirection which don't serve to make the code clear
DRYicron - Overeager deduplicating code (usually by adding hard coupling)
Fooflation - Avoiding descriptive names of methods/variables in favor of "result1, result2, goOn"
All fixed with a little TLC and experience :)
* ask your doctor if experience is right for you.
- code_biologist 4y agoFooflation - Avoiding descriptive names of methods/variables in favor of "result1, result2, goOn" All fixed with a little TLC and experience :) There's a funny overcompensation that greenhorns have when improving their code. Someone will ask them to use better names, then you get a few months of `let loopIndex = 0` when `let i = 0` would have been just fine.
- pydry 4y agoMetaprogrammitis - Im an "advanced programmer" now so Im gonna use the most advanced language features for the most inappropriate purposes.
- cogman10 4y agoOh man, those are always fun bits of code to unwind. "Yeah, I made a compiler plugin to generate code with my own custom preprocessor language I made up because I was so sick of write for (i in c)" One guy in my company tied into Java's annotation processing engine to create his own server side UI framework driven by his random annotations. The generated code? Usually just creating a method that populated a HashMap with stuff pulled from the annotation... Yeah...