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

  • MaxMalRichtig
    link
    fedilink
    254 months ago

    I mean, the headline of this post already makes me irrationally angry. 😂

    Y u no close brackets!?

  • Nat (she/they)
    link
    fedilink
    1384 months ago

    I thought the joke here was that your unbalanced parentheses would make me angry (they did))

    • nafzib
      link
      fedilink
      English
      44 months ago

      I clicked into the post expecting more text and then realized that was the joke.

      Congrats OP, I am both upset and entertained!

  • Troy
    link
    fedilink
    404 months ago

    Insist they index from 1. Like God and Fortran intended it. ;)

    • @[email protected]
      link
      fedilink
      74 months 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.

          • @[email protected]
            link
            fedilink
            12
            edit-2
            4 months 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.

      • Troy
        link
        fedilink
        74 months ago

        MATLAB is basically a UI wrapper around Fortran’s BLAS and LAPACK – change my mind. ;)

  • @[email protected]
    link
    fedilink
    204 months ago

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

  • @[email protected]
    link
    fedilink
    English
    844 months 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?

  • @[email protected]
    link
    fedilink
    104 months ago

    Micromanagement to speed up product release date. Daily meeting and status reports, work breakout categories such as ‘code design’, ‘code development’, ‘code documentation’, etc,etc (flash back gif of Apache helicopters flying over a jungle

    • @[email protected]
      link
      fedilink
      7
      edit-2
      4 months ago

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

      Edit: I’m a developer myself and it looks like I triggered everyone just as the post said. Thanks for playing!

      • @[email protected]
        link
        fedilink
        English
        34 months ago

        I think what people generally mean when they say programming language (other than just a language to write a program) is that the language is turing complete. Even with this more limited definition, JavaScript, Bash, and Powershell are turing complete and therefore programming languages.

      • @[email protected]
        link
        fedilink
        English
        204 months ago

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

  • @[email protected]
    link
    fedilink
    214 months ago

    I work as an embedded developer and when a new board is produced and half tested, every one expects fully functional code off the bat, right away.

    Motherfucker, you didn’t even qualify your hardware and you expect my code, that hasn’t hit the new board, to be 100% functional, based on your mind map? We will find hardware issues that will inevitably be blamed on the code and spend hours “debugging” the code to eventually find out the hardware is shit.

  • @[email protected]
    link
    fedilink
    554 months 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.

    • @[email protected]
      link
      fedilink
      04 months ago

      I’ve only ever heard raging between the two, but never why. I’m guessing there were competing languages with different standards, or maybe historic hardware limiting input sets that kicked this debate off or?

      • @[email protected]
        link
        fedilink
        24 months ago

        A few languages force a decision (usually towards tabs), but otherwise it’s just a question of aesthetics vs. accessibility.

        • @[email protected]
          link
          fedilink
          34 months ago

          I see.

          My worst experience was with spaces in code from an engineering professor who used a non-monospace typefont. Sadist. Though it was comic sans, they were probably just dyslexic. Despite the class focusing on numerical methods, we had to hand write Matlab code on paper using proper syntax. I have no clue why. Never learned much numerical method, nor were we ever allowed to use Matlab except on a few “projects” during the term. I found out about the spaces when i had to debug his example code he gave as solutions(which we were graded against). I saw errors and had to confirm i wasn’t losing my mind. …I wasn’t. Anyways there was a mix of spaces and tabs to align the comic sans.

          TLDR: I couldn’t care less. Just don’t code in word, and use a monospace font.

    • @[email protected]
      link
      fedilink
      English
      74 months ago

      I feel like this is a debate that doesn’t exist - 4 spaces bound to tab is the only actual answer.

      • @[email protected]
        link
        fedilink
        34 months ago

        Hard tabs are much better as someone who works with an age diverse team where vision issues are a serious issue. Four space tabs are optimal for you but there are other lived experiences.

      • @[email protected]
        link
        fedilink
        104 months ago

        most things seem to have settled on this, but tabs are so much better for accessibility. programmers with bad vision can have trouble differentiating smaller indentation levels, while some of them just bump the font size up so high that 4 spaces takes up too much screen space. each one can set a tab width that is comfortable for them. https://alexandersandberg.com/articles/default-to-tabs-instead-of-spaces-for-an-accessible-first-environment/ has some good arguments

        with a forced formatter and a configured editor there really isn’t any argument for spaces

        • @[email protected]
          link
          fedilink
          English
          1
          edit-2
          4 months ago

          I remember people arguing over 2 vs 3 spaces, back when terminals only displayed 80 characters and every character width saved was a huge deal. (Oh god, memories of all the single-character variable names have returned to haunt me)

          I can’t go back, won’t go back. I am so glad the Bad Old Days are over. *returns to coding on my dual-widescreen monitor setup*

  • @[email protected]
    link
    fedilink
    364 months 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)

    • @[email protected]
      link
      fedilink
      34 months ago

      Replace all spaces with the unicode non-breaking space that looks the same.

      Although I know at least some language servers will detect this and mark it as an error, lol.

    • @[email protected]
      link
      fedilink
      English
      234 months 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 /.

  • Lvxferre [he/him]
    link
    fedilink
    124 months 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.