The same person as Daedskin@lemm.ee and Daedskin@programming.dev

  • 0 Posts
  • 4 Comments
Joined 8 months ago
cake
Cake day: June 26th, 2025

help-circle
  • Daedskin@lemmy.ziptoLemmy Shitpost@lemmy.worldmonumentale
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    4 months ago

    I once worked on a project doing firmware that a lot of people have likely used (printer firmware for a big-name company). One of the more trafficked functions was something like 1500 lines of “if-elseif-elseif…” with something like 13 or 14 different cases.
    It did end up getting refactored to something polymorphic and based on a configuration file to cut out any unnecessary steps, but it was like that for a while before I got there, and was like that for most of the year that I was part of the project.




  • Daedskin@lemmy.ziptoGreentext@sh.itjust.worksAnon likes a thing
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    8 months ago

    I’ve never been called out as AI for using them; but if I ever am, I have the strategy of knowing the alt code for them (0151). I even know the shortcut in word to insert one — pressing alt-X with your cursor at the end of “2014”. I also have a vscode macro set up that is just an emdash, just in case I’m in a situation where there’s not a way I know to insert one.