We are in an age of “refactoring.”
https://news.ycombinator.com/item?id=8124166Just a rant, but frankly, I'm tired of all this BS over frameworks, OOP, TDD, design patterns, factory classes, singletons, inheritance, structured data, and generally anything related to "clean code done the right way."
People are getting cult-like over this "clean code" mentality, it's like a fanaticism. The funny thing is, almost all the code I've seen is still spaghetti code, often interconnected within a larger system of more spaghetti-systems, with spaghetti-documentation scattered across the internet and various peoples in an organization.
We're sort of in an age of refactoring, aren't we? We've seen the demise of "messy" languages like PHP or Perl. Swift is a refactor of Objective C. Ruby and Coffeescript are more refactored languages. Plain old javascript just doesn't seem to cut it anymore either - we need framework upon framework, hierarchical trees, patterns, and everything's gotta be object-oriented for some reason.
But you know what...? Real life isn't organized, and just maybe, code doesn't always need to be either. My apartment's not hierarchy-based into neat little tree structures, but it's ok. I know where stuff is, and it's even convenient. My car's got a bunch of junk in it too, and I'm just fine with that.
When I code, especially for myself, sometimes I prefer no structure. Yep, I'll avoid OOP just because it takes me 10 minutes longer to type it all out and I think it makes things more complicated. I don't particularly care about private/public variables, I just make everything public - it saves me time typing the getters and setters. My variable names may be obscure, because I don't want to spend the extra time typing more descriptive names. Code might be messy and not the most efficient solution, but as long as it works, that's just fine with me.
Perhaps 20 years into the future, people will look back on this age of software and think "Why were we so obsessed over making everything OOP and so structured like that?"
Anyway, I think the true soul of programming lies in building stuff and launching. Users don't care how beautiful or elegant code is, that's something that employees/bosses/academics care about.