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

  • itsathursday@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 month 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.

  • Solemarc@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

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

  • Darohan@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    1 month 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)

    • stetech@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 month 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.

    • sleep_deprived@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month 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 /.

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 month 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.

      • xmunk@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 month 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.

      • brian@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        1 month 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

    • untorquer@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 month 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?

      • xmunk@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

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

        • untorquer@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          1 month 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.

    • ThePunnyMan@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      For python, see which one they use and secretly replace a single indentation with the other.

  • sleep_deprived@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month 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?

  • Croquette@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 month 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.

      • Troy@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

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

    • deadbeef79000@lemmy.nz
      link
      fedilink
      arrow-up
      0
      ·
      1 month 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.

          • letsgo@lemm.ee
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 month ago

            I’ve ridden a motorbike in a T-shirt and kilt before. That’s … fun …

          • BigDanishGuy@sh.itjust.works
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            1 month 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.

            • deadbeef79000@lemmy.nz
              link
              fedilink
              arrow-up
              0
              ·
              1 month ago

              embedded RTOS

              That sounds like a domain where memory safety is secondary to size and speed… though compile time memory safety guarantees could help.

              Good thing we have so many options!

  • PlexSheep@infosec.pub
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Compile your kernel with a different version of ld then shipped with your distro. I have this right now in Debian testing and it’s enraging. I’m not even sure if that’s the source of my error