• BetterNotBigger@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Python is not very good at this. TypeScript with prettier will very often add missing commas or semi colons for me. I never have to worry about whitespace before the formatter comes into play.

        Python’s whitespacing felt nice in the days when there wasn’t a ton of tooling around auto formatting but now it feels like a burden.

  • YMS@kbin.social
    link
    fedilink
    arrow-up
    51
    arrow-down
    1
    ·
    1 year ago

    I’ve been programming with lots of dumb people, and I’m particularly dumb myself, but if you really literally spend hours looking for missed semicolons, then you should give up programming no matter if this means more time for date nights or more time to look at the wall.

    • tj111@lemmy.world
      link
      fedilink
      arrow-up
      20
      ·
      edit-2
      1 year ago

      I dunno, back in the old PHP days (like the really shitty PHP) if you missed a semicolon on an included file, and that file was included in another file, and some dumbass included that in the middle of some other file, you would spend hours looking for it because the error showed it missing in the top-most file.

    • pseudonym@monyet.cc
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      I have been in the unfortunate position of spending hours looking for a semi colon. Well I was looking for a bug, I didn’t know it was a missing semi colon. But it was my first internship after doing one CS class and I was writing PHP.

  • mildsauce@lemmy.ca
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    2
    ·
    1 year ago

    oh great, these stupid “missing semicolon” jokes have made their way here from the old place that shall not be named.

  • fubo@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    3
    ·
    edit-2
    1 year ago

    This is why you’re polyamorous. When partner #1 is coding and partner #2 is high on coke with their salesbros, you can snuggle with partner #3 who’s sleepy and retired.

  • httpjames
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    1 year ago

    It’s 2023 now, all you gotta do is paste your code into GPT and ask it to fix it for you!