Doc Avid Mornington

Not actually a doctor.

  • 0 Posts
  • 17 Comments
Joined 2 years ago
cake
Cake day: July 5th, 2023

help-circle



  • To be fair, it said “an enormous amount of code”, not “your entire app”, but yes, the ability to add unexpected new features or make focused changes without touching more than a minimal amount of existing code is a very good smell metric of code quality. The problem is that for every dev who understands how to program like that, there are at least five, probably more like ten who don’t, which means most of us are working on teams that produce a blend of clean code and, as you say, dog shit, so the feature request that requires stirring up all that shit is out there waiting for us, like it or not. The best we can do, when it hits, is try to at least improve all the shit that we touch in the process. Maybe some of it can become compost, I dunno, the metaphor breaks there, gonna have to refactor the metaphor.










  • I agree with your logic, so far as it goes. However, there are, currently, just over eight billion humans in existence. If my quick, over-tired math is correct, that means only 34 people have to say no, until we run out of people to tie to the tracks. Assuming, at that point, the system collapses and nobody dies, I’d guess 34 people would refuse - might be the better choice.



  • I always feel that graphical interfaces make easy things difficult, in most cases. A bunch of figity clicking around, instead of a few keystrokes I could press with my eyes closed. They are more discoverable, though.

    If you use emacs, dired and wdired together are fantastic for managing files like that. You can even run dired over tramp, so you can manage files on a remote server that doesn’t have emacs installed, using the emacs on your desktop. But there are also good cli options, you might want to look at the rename command, as one that’s probably installed by default on any given distro. That’s outside my expertise, though, as I just use emacs.