• sbv@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      13
      ·
      11 months ago

      and if I do it’ll be in a private repo and I’ll never look at the source again because I’m a good programmer and a good programmer would never write that

  • ouRKaoS@lemmy.today
    link
    fedilink
    arrow-up
    16
    ·
    11 months ago

    …then you spend two weeks trying to optimize your code only to watch it break in more spectacular ways than you could imagine before reverting back to the original and hoping no one ever looks.

  • ChickenLadyLovesLife@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    11 months ago

    I remember once writing a classic ASP application that used a Visual Basic DLL on the back end to generate HTML that included Javascript code that saved what the user had entered as another Javascript function that was saved in an Access database BLOB field and re-included in the HTML by the VB DLL every time the user reloaded the page. That pigeoncopter looks pretty sensible by comparison.

  • flambonkscious@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 months ago

    Yeah, I’ve been nursing one of these projects for a while…

    Initially it started out as an autohotkey script, because I’m not a programmer, I’m a filthy windows engineer.

    Then I tried rewriting it in Powershell because I wanted to own the code (v1 was written on work time, so they provably own it), and have it in something slightly less arcane (!). That was not a great choice of languages, but I’m still not ready to learn a real one, yet.

    There’s surely some head banging roflcopter in there - I’m still not sure I’ve tested all the scenarios, but I just don’t have the emotional energy to wade through it (and my client can’t even use the new version, I’m not sure any others would care).

    It was fun, but now it’s just a burden

    • realitista@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      ·
      11 months ago

      We all have one. I’m also not a professional programmer but I have stuff like this for my home automation that I know I should really clean up but it works so I don’t want to mess around and break it.