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

    Imo the amount of magic variables in perl is too damn high.

    Like I don’t want to have to keep all that in my head while parsing through thousands of lines of code. I spent a few years working as a perl developer and even near my last days there I still found myself digging through docs to figure out what certain symbols meant and did.

    My first developer role was as a junior developer and I was tossed into single letter variable loop hell in perl lol.

    I was telling my mentor that if I were introduced to perl now that I’ve got several years of experience in a variety of different languages and thought models, it probably wouldn’t bother me as much. I kind of like bash (sometimes) and perl is really a hyper extended scripting language so going from bash to perl isn’t too bad. But given that that is what I was started in, I have a massive distaste for it and I doubt that will ever change.

    • richieadler@lemmy.myserv.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Imo the amount of magic variables in perl is too damn high.

      “Explicit is better than implicit” and “There should be one-- and preferably only one --obvious way to do it” in The Zen of Python exist, I’m sure, as a direct reaction to Perl’s magic variables and TIMTOWTDI.