• 0 Posts
  • 87 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle










  • I’ve worked in a few startups, and it always annoys me when people say they don’t have time to do it right. You don’t have time not to do it right - code structure and clarity is needed even as a solo dev, as you say, for future you. Barfing out code on the basis of “it works, so ship it” you’ll be tied up in your own spaghetti in a few months. Hence the traditional clean-sheet rewrite that comes along after 18-24 months that really brings progress to its knees.

    Ironically I just left the startup world for a larger more established company and the code is some of the worst I’ve seen in a decade. e.g. core interface definitions without even have a sentence explaining the purpose of required functions. Think “you’re required to provide a function called “performControl()”, but to work out its responsibilities you’re going to have to reverse-engineer the codebase”. Worst of all this unprofessional crap is part of that ground-up 2nd attempt rewrite.



  • These are arguments talking past each other. Sure 1 useful comment and 9 redundant ones can be better than zero, but comments are not reliable and often get overlooked in code changes and become misleading, sometimes critically misleading. So often the choice is between not enough comments versus many comments that you cannot trust and will sometimes tell you flat-out lies and overall just add to the difficulty of reading the code.

    There’s no virtue in the number of comments, high or low. The virtue is in the presence of quality comments. If we try to argue about how many there should be we can talk past each other forever.


  • My guess at the stance is I’d imagine it’s that switching away from snaps is switching away from Ubuntu’s support and security monitoring and updates to some less known/reliable/diligent third party?

    Popey (Alan Pope) used to work for Canonical / Ubuntu, so he’s presumably not inclined to jump on the bandwagon of Canonical/Ubuntu/snap hate since he knows a lot of Canonical and Ubuntu people and their motivations and work. Not that there aren’t good reasons to criticize snap or other Canonical decisions, but it’s also plain that a lot of people just join a hate bandwagon and don’t even know what about it they object to. There is masses of wrong-headed criticism of Canonical out there e.g. I’ve frequently seen people criticize creating Upstart, saying Canonical should have used systemd, or bzr vs git! Presumably these people were annoyed at Canonical for not inventing a time machine.