• billwashere@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    7 days ago

    I am old and a nerd and I don’t see Perl on here.

    Wait… is it the tiny camel at the bottom?

  • kn0wmad1c@programming.dev
    link
    fedilink
    English
    arrow-up
    28
    arrow-down
    4
    ·
    7 days ago

    Most of these are scripting languages. Some are even markup languages. It’s like the meme creator didn’t even know what a programming language was.
    I hope someone got fired for that blunder

      • nyan@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        26
        ·
        7 days ago

        Some people think that only compiled languages are true programming languages. (Needless to say, they’re wrong.)

        • Malgas@beehaw.org
          link
          fedilink
          English
          arrow-up
          9
          ·
          7 days ago

          Needless to say, they’re wrong.

          Not least because there’s no such thing as a “compiled” or “interpreted” language.

          Which is to say that it’s a property of the tooling rather than the language itself. There’s nothing stopping anyone from writing a C interpreter or a Python compiler.

          • Revan343@lemmy.ca
            link
            fedilink
            arrow-up
            15
            ·
            7 days ago

            There’s nothing stopping anyone from writing a C interpreter

            Except god, hopefully

          • balsoft@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            6 days ago

            Not least because there’s no such thing as a “compiled” or “interpreted” language.

            I’d say there is (but the line is a bit blurry). IMHO the main distinction is the presence (and prevalence) of eval semantics in the language; if it is present, then any “compiler” would have to embed itself into the generated code, thus de-facto turning it into a bundled interpreter.

            That said, the argument that interpreted languages are somehow not programming languages is stupid.

        • frezik@midwest.social
          link
          fedilink
          arrow-up
          6
          ·
          7 days ago

          Yeah, once you know all the details, the distinction disappears. The term doesn’t clarify understanding.

          If I had to make a distinction, it’d be that scripting languages are meant to be a simple way to serve a specific niche. Things like SQL or Excel formulas. It doesn’t apply to Python.

      • mriswith@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        edit-2
        7 days ago

        Do you know what community you’re in? Do you want to start a war?


        There is no clear definition because there is a lot of overlap, especially when you get into the details, but:

        • Scripting languages are often considered to be very high level and can commonly run without compilation. Making them great to automate tasks or create a simplified interaction/abstraction layer to a more complex program.

        • Programming languages usually have much lower level access, and by extension they tend to be more complicated. In exchange for that, you get much more control. Although the access varies from Assembly to languages a C programmer would consider “scripting”.

        Although for every example, there is basically a counter example. Because programmers being who they are, see it as a challenge to do something with a language that others consider impossible or wrong.

        For example, there are things like NodeOS, a “Lightweight operating system using Node.js as userspace.”

        • Pardal@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          7 days ago

          For example, there are things like NodeOS, a “Lightweight operating system using Node.js as userspace.”

          No way this exists.

          Wtf, it exists. Why would anyone do that to the world?

        • frezik@midwest.social
          link
          fedilink
          arrow-up
          5
          ·
          7 days ago

          Scripting languages are often considered to be very high level and can commonly run without compilation. Making them great to automate tasks or create a simplified interaction/abstraction layer to a more complex program.

          Then Python is not a scripting language.

          Programming languages usually have much lower level access, and by extension they tend to be more complicated. In exchange for that, you get much more control.

          Would you consider C to be more or less complicated than Perl?

          • mriswith@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            7 days ago

            The first comment worked as bait, but that last question is way too obvious.


            Although just for fun:

            Then Python is not a scripting language.

            That is true. It is often used as one, but it was developed from the start as a general-purpose language.

            Would you consider C to be more or less complicated than Perl?

            You know about Python, Perl and C. You know the answer and you’re just trying to incense people.

            • frezik@midwest.social
              link
              fedilink
              arrow-up
              5
              arrow-down
              1
              ·
              7 days ago

              No, I’m trying to get people to think. If I laid out my full opinions on this subject (compilers and interpreters aren’t that different anymore, even machine code often runs more like bytecode in many ways, “scripting” is a term that hides what’s actually going on, etc.), then people get into endless debates. My questions are designed to pick apart assumptions.

              Admittedly, people didn’t appreciate when Socrates did this shit, either.

      • 0x0@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        7 days ago

        One is:

        • a scripting/interpreted language needs an interpreter to be installed on the target system in order to run
        • a programming/compiled language needs a compiler on the host machine and will run as-is standalone in the target machine

        /me ducks for cover

        • Valen@beehaw.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          6 days ago

          Still a language to make the computer do something. Thus, programming language. Scripts are programs.

      • I_am_10_squirrels@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        6 days ago

        It’s mainly a tool for working with matrices (matrix laboratory). This is useful for solving ordinary differential equations. Learning Matlab is usually a requirement for first year engineering students. I’m now a licensed chemical engineer, and I haven’t used Matlab since sophomore year.

      • jadedwench [they/them]@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        11
        ·
        6 days ago

        Thankfully I suck at that, but holy crap it is prevelent in this industry. The alcohol abuse is cray. Doesn’t help when you travel constantly. I don’t travel much anymore, but the people who spend 90+% of the year in the field, while having a family, are fundamentally broken. Fun to party once in a while, but when they do this shit multiple times a week, I don’t understand.

        • PolarKraken@programming.dev
          link
          fedilink
          English
          arrow-up
          9
          ·
          6 days ago

          Couldn’t agree more. Field service is one hell of a drug. Money’s good, variety is fun, the chaos and travel are fun too, and you learn a lot quickly. The latter often because some or all of the mfg. plant you’re visiting needs you to fix your stuff so they can run, and no one is coming to BFE to help you, lol.

          But that all wears off, in time, and it starts to take a huge toll like you described. Never met a long term field service engineer with a healthy home life, or with their health in general. I got out because both of mine were crumbling, for real.

        • Lazycog@sopuli.xyz
          link
          fedilink
          arrow-up
          5
          ·
          6 days ago

          Yeah holy shit. When I was starting out and tagged along a senior on a trip he literally hauled a big backpack of spirits with him.

          Got out of that industry after a few years when I realized why every senior was drinking. The money was just not worth it for me.

    • piranhaconda@mander.xyz
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      7 days ago

      I’ve had more than one job where Matlab was used extensively, guess my coworkers and I aren’t real engineers.

      I’d rather use something else, but if it’s what the group already uses, fine, I’ll do it

      Also, I don’t do a ton of true programming on it. It’s a fancy calculator, and occasionally I make a GUI app with it

        • piranhaconda@mander.xyz
          link
          fedilink
          arrow-up
          8
          ·
          7 days ago

          I mean, I agree with you, I’d never pay for a Matlab license for myself if I ever decide to go the private engineering consultant route. Just sharing my experience that yes, it’s used in the professional world.

          • markovs_gun@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            7 days ago

            It’s just so weird to me. I’ve worked at a few big companies and Matlab was just kind of out of the question at any of them. It was Excel or Python

    • TunaLobster@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      7 days ago

      So many come out of school with Matlab experience. I get them started with python. They brush me off. Then the license server goes down. Welcome to open source grasshopper! I should make a meme about this and put on my door…

    • iegod@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      6 days ago

      If we’re talking real engineering (like professional accredited engineering and not programmers calling themselves engineers) you couldn’t be more wrong. It isn’t used in deployment necessarily but for modeling and analysis it has no equal.

  • GooberEar@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    7
    ·
    7 days ago

    Right hand to baby Jesus, I thought Kmart was basically no longer in operation, when did it become a programming language for nerds?