• palordrolap@kbin.social
    link
    fedilink
    arrow-up
    85
    arrow-down
    4
    ·
    1 year ago

    U nd to rembr tht mny snr devs grw up prgrmng on old hrdwr tht ddn’t hv mch mmry & oftn th lang ony allwd shrt var nms anywy. Also thy wr th gen of txtspk fr smlr rsns.

    Yngr snr devs pckd up bd hbts frm tht gen.

    And here’s a sentence that’s not squashed to cleanse your palettes / give a sigh of relief because I figure if I need a break from typing like that, you need a break from reading it.

    Nmng thngs s hrd.

    • markstos@lemmy.world
      link
      fedilink
      English
      arrow-up
      49
      ·
      1 year ago

      I’ve been at this for 25 years and a restriction on variable name length hasn’t been a problem since then.

      A good senior dev shouldn’t just be older, they should have continued to learn and evolve.

      I do remember texting abbreviations because we texted on a number pad with no autocomplete.

      Everyone I know was happy to switch to better keyboards and autocomplete as soon as they were available.

        • Hoimo@ani.social
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          And with “this decade” you mean within the last 10 years or since 2020? Either way, I’m scared… Just kidding, if this is a bank we’re talking about, they’re actually ahead of the curve.

      • palordrolap@kbin.social
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        I was mostly poking (heh) fun at myself, (also) a member of the generation I spoke about. Very much not a professional, but I do code a little, and know about the non-triviality of naming things.

        Also also, for reasons I won’t go into, my phone is still a flip phone.

    • ChickenLadyLovesLife@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      oftn th lang ony allwd shrt var nms

      I started coding with TurboBasic which allowed variable names of any length but the compiler only looked at the first two letters (and case-insensitive at that), so DOUGHNUT_COUNT and DoobieCounter were actually the same variable. Good times debugging that kind of shit.

      • palordrolap@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Yeah, I was thinking of old 8-bit computers that did the same ignore-after-second-char thing. Most people didn’t bother typing the extra characters though because 1) those characters took up valuable memory and 2) if you accidentally put a keyword in the middle of your longer name, the tokeniser would see it and assume it was a keyword.

        e.g. Calling your variable FORGET seemed like a good idea until you got a syntax error because FOR and GET are both keywords. FO it is, then. Or just F.

        COLOR was cursed too; OR is usually a keyword, even if COLOR itself isn’t. British English COLOUR might save you here, but you’re still losing those four extra bytes.

    • Rob@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      U nd to rembr tht mny snr devs grw up prgrmng on old hrdwr tht ddn’t hv mch mmry & oftn th lang ony allwd shrt var nms anywy.

      My generation. Many of us learned and adapted over time, and use perfectly decent variable names now.

      Also thy wr th gen of txtspk fr smlr rsns.

      Nope. Got my first cell phone 8 years into my professional life, and 18-20 years after I started programming. Txtspkrs r th nxt gnrtn. Whippersnappers!

      Now get the hell off my lawn!