• MonkderVierte@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 hours ago

    Over at invisible-island.net:

    Part of why xterm’s internals are so horrifying is that it was originally intended that a single process be able to drive multiple VS100 displays. Don’t hold this against Mark; it isn’t his fault.

    And startx:

    # This is just a sample implementation of a slightly less primitive interface than xinit.
    # …
    # Site administrators are STRONGLY urged to write nicer versions.
    
    • Simulation6@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 minutes ago

      Found deep in the Linux networking code years ago: // this code is too ugly to live, but I don’t have time right now

  • Omega_Jimes
    link
    fedilink
    English
    arrow-up
    22
    ·
    7 hours ago

    My professor once asked me about a comment that said "// This is awful and you should feel awful, change this before handing it in. " I had no excuse, I just told him time makes fools of us all.

    • voracitude@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      ·
      7 hours ago

      I had no excuse, I just told him time makes fools of us all.

      For that quip, they should’ve just christened you a developer and handed over your diploma right there.

    • qarbone@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      6 hours ago

      Should always slap a TODO on the front. IDEs like Jetbrain will catch those for you, so you can willfully ignore them next time(s).

    • four@lemmy.zip
      link
      fedilink
      English
      arrow-up
      10
      ·
      7 hours ago

      This is the difference between academia and actual experience. Senior engineer wouldn’t bat an eye for such comment

      • Omega_Jimes
        link
        fedilink
        English
        arrow-up
        11
        ·
        6 hours ago

        That’s basically what I was told. It worked, I explained the algorithm I was having trouble with, and that I just ran out of time. He didn’t deduct any marks or anything, he just said I should make an effort to make comments less self-deprecating.

        • edgemaster72@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 hours ago

          I should make an effort to make comments less self-deprecating.

          Weird, that’s what my therapist keeps telling me too. j/k, I can’t afford it or be bothered to go

  • Mastema@infosec.pub
    link
    fedilink
    English
    arrow-up
    33
    ·
    9 hours ago

    There is nothing honorable here. This code is best avoided. We are not proud of what we have done.

  • ooli@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 hours ago

    this is proof that if you read that in 10000 years, you would have no clue what to do… and will probably dig to be sure