(How to trigger programmers (and make them irrationally angry) - eviltoast

Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅

  • Lvxferre [he/him]@mander.xyz
    link
    fedilink
    arrow-up
    7
    ·
    2 hours ago

    Correctly highlight when a programmer is being assumptive as a brick, even when assumptions are one of the biggest sins in programming. Done, you’ve triggered a lot of programmers.

    • deadbeef79000@lemmy.nz
      link
      fedilink
      arrow-up
      2
      ·
      4 hours ago

      Fuck C and it’s lazy shit pointer arithmetic array indexing shortcut. I.e. you just add the index × size(t) to the array pointer.

      Bounds checking? We’ve heard of it.

          • BigDanishGuy@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            2 hours ago

            And sun glasses, don’t forget the aviators.

            While Mr “I can’t code without a garbage collector” is still putting on his backplate of “oh no pointers are bad” and a duck typed full face helmet, to ride his interpreted moped, the big boys, Mr C-ool and Mr ASSembly, are already downing grain alcohol at the finish line.

            But then again I really don’t like to step out of my embedded RTOS bubble. It really depends on what you want to accomplish and how complicated your system is.

    • johntash
      link
      fedilink
      English
      arrow-up
      21
      ·
      7 hours ago

      … is that not the point of the title?

  • sleep_deprived@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    45
    arrow-down
    1
    ·
    8 hours ago

    I have this great idea for an app, we can go 70/30 on it! 70 for me because the idea is the hardest part after all. So basically it’s Twitter plus Facebook plus Tinder with a built in MMO. You can get that done in a couple weeks, should be pretty easy right?

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    35
    ·
    9 hours ago

    Figure out if they prefer spaces or tabs, insist on the other.

    Please note this won’t work on Pythonistas as they’ve already had their spirit thoroughly broken.

    • ramble81@lemm.ee
      link
      fedilink
      arrow-up
      3
      arrow-down
      6
      ·
      7 hours ago

      That’s right there with calling JS, PowerShell and Bash “programming languages”. I said what I said.

      • sleep_deprived@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        3 hours ago

        Tell me you don’t know what a programming language is without telling me you don’t know what a programming language is

  • itsathursday@lemmy.world
    link
    fedilink
    arrow-up
    27
    ·
    10 hours ago

    You guys are too slow, we need to hire more of you and let the sales teams use AI to add features the client asks without waiting for you.

    AI can code now, in 2 mins I can create an app, so it shouldn’t take you long to make changes to this 10year old product.

  • Darohan@lemmy.zip
    link
    fedilink
    arrow-up
    26
    ·
    11 hours ago

    Replace a semicolon (;) with a Greek Question mark (;), provided they’re working in a language that uses semicolons at the end of every line, and their IDE doesn’t highlight the difference (which some do now)

    • sleep_deprived@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      12
      ·
      3 hours ago

      Fun fact, Rust has a special error message for this:

      Unicode character ‘;’ (Greek Question Mark) looks like a semicolon, but it is not.

      It also detects other potentially confusing Unicode characters, like the division slash which looks like /.

    • tiredofsametab@fedia.io
      link
      fedilink
      arrow-up
      4
      ·
      4 hours ago

      I inherited an old Japanese codebase. Tons of stuff was just single-letter variables. Apparently, this used to be at least somewhat common here. I spent a lot of time just updating code to replace vars with something meaningful (and found bonus bugs due to improper scoping with same var names as a bonus). Didn’t have an IDE that would easily do it for me at the time and running something like sed felt too risky.

  • Solemarc@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    11 hours ago

    “we’re just trying to display <insert field here> why is this so hard? It’s a ten minute job!”