19 upvotes, 1 hour, no answers... How often do you look at some code and think "an idiot wrote this", and then realise you're looking at your own code? Maybe all code is technical debt? That is, maybe every piece of code you inherit is bad because you now have more to learn and understand, no matter how nicely structured/documented/tested it is. Sorry OP, I got nothing positive!
What was the nicest codebase you've inherited without the original author(s)?
31–40 of 74 posts
Re: What was the nicest codebase you've inherited without the original author(s)?
#32Re: What was the nicest codebase you've inherited without the original author(s)?
#33The worst code bases I inherited, on the other hand, are a lot memorable. The absolute worse was a ~500k-ish line of code WordPress/BuddyPress mess of undocumented spaghetti, complete with a slew of modifications to WP and BP core files. It took me weeks to put the latter in separate plugins in order to upgrade the mess.
Re: What was the nicest codebase you've inherited without the original author(s)?
#3419 upvotes, 1 hour, no answers... How often do you look at some code and think "an idiot wrote this", and then realise you're looking at your own code? Maybe all code is technical debt? That is, maybe every piece of code you inherit is bad because you now have more to learn and understand, no matter how nicely structured/documented/tested it is. Sorry OP, I got nothing positive!
Every single day. I am my own worst enemy.
Re: What was the nicest codebase you've inherited without the original author(s)?
#35On the other hand I also inherited an angularjs frontend written by an ape.
Re: What was the nicest codebase you've inherited without the original author(s)?
#3619 upvotes, 1 hour, no answers... How often do you look at some code and think "an idiot wrote this", and then realise you're looking at your own code? Maybe all code is technical debt? That is, maybe every piece of code you inherit is bad because you now have more to learn and understand, no matter how nicely structured/documented/tested it is. Sorry OP, I got nothing positive!
The better we get, the more complicated problems become barely within our reach
Re: What was the nicest codebase you've inherited without the original author(s)?
#37My current works codebase. I've never seemed to like other peoples code. Not even my own after 1 month But this code is very good. I would attribute it to the strong set of rules and design patterns everyone follows. All code/services are broken up into `unit` which all follow the same pattern, of how it's called, how the code is arranged etc. This means there is no ambiguity for any new starters trying to contribute…
Re: What was the nicest codebase you've inherited without the original author(s)?
#38But then that's Delphi; a pure pleasure to work with. I only wish I had more use cases for it. I would put back in the lineup immediately if I did.
Re: What was the nicest codebase you've inherited without the original author(s)?
#39I inherited a popular open source charting library. People like it because it has a data model - you can automatically brush and filter between charts. It is intentionally a leaky abstraction so that there is always a way to customize it if it doesn't work the way you want. There is only enough design to make it reusable, no claim to a "grammar" or other highfalutin abstractions. There have been dozens of contributor…
Re: What was the nicest codebase you've inherited without the original author(s)?
#4019 upvotes, 1 hour, no answers... How often do you look at some code and think "an idiot wrote this", and then realise you're looking at your own code? Maybe all code is technical debt? That is, maybe every piece of code you inherit is bad because you now have more to learn and understand, no matter how nicely structured/documented/tested it is. Sorry OP, I got nothing positive!
All code is technical debt. We should not write it unless it serves a purpose of high enough value.