• Thorry84@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Yes the compiler/interpreter can figure it out on the fly, that’s what we mean by untyped languages. And as stated both have their merits and their faults.

    Elon doesn’t know what the words mean and just chimes in with his AI future BS.

    • janAkali@lemmy.one
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Yes the compiler/interpreter can figure it out on the fly, that’s what we mean by untyped languages.

      Are there untyped languages? You probably meant ‘dynamically typed languages’.

      But even statically typed languages can figure out most types for you from the context - it’s called ‘type inference’.

      • AVincentInSpace@pawb.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        I guess “untyped” could mean “weakly typed”, like how shell and DOS batch are, where everything is a string until you say “hey I want to do math on this” at which point the interpreter turns it into a number, does math on the number, and then turns it back into a string before saving it back to the variable

      • Thorry84@feddit.nl
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Well that would depend on the definition and what you exactly mean by untyped.

        The untyped part is usually referring to the way the programmer interacts with the language, for example not setting a type for variables and parameters. But then there is the question of is the programmer ever allowed to explicitly set the type. And further more, if the programmer explicitly set the type, does this mean the type can’t change at a later point? And another question could be, can the programmer check or enforce what type a variable or parameter is? And the question, if there is only one type of data in the language, would that be a typed or untyped language? But I would consider these to be details and all fall under the untyped umbrella, with untyped just meaning not-typed.

        Then there’s the question of the technical implementation of the language. Defining a language is one thing, actually having it run on a real system is another. Usually technical systems at some point require explicit types. Something somewhere needs instructions on how to handle the data and this usually leads to some kind of typing instructions being added along with the data. But depending on how many abstraction layers there are, this can soon become a very pedantic discussion. I feel what matters is the design, definition and intend of a language. The actual technical implementation isn’t what matters in my opinion.

        I feel like there are so many programming languages and technical systems at this point, every variation and exception exists. And if you can think of one that doesn’t exist, expect a follow up comment of somebody pointing out it does exist after all, or them having started a project to make it exist in the near future.

        • Poutinetown@lemmy.ca
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Would you say OCaml or any ml family language would be untyped since they have type inference?

          • Thorry84@feddit.nl
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            From what I know about those I would consider those to be typed languages. Even if the programmer doesn’t explicitly assign the types, he needs to be aware of them and take into account what type something will be. I am familiar with F# and it’s strongly typed for example.

      • nul@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Most of my code is untyped. First I type it, then I realize it’s all wrong and use backspace to untype it.

      • Traister101@lemmy.today
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Assembly probably? So low level you kinda just play with bits. That’s all I can think of for an untyped language. Everything else I’m aware of is dynamically or statically typed

  • meow@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    He’s the kinda guy whose only programming experience is learning Python for 3 hours 6 years ago, yet he thinks he’s the programming god.

    • HiddenLayer5@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Well, Tony Stark is a fictional character in a fictional universe, so real science or how the real world works in general don’t need to apply to him and he only needs to conjure up some cool sounding tech words for the audience and the plot will do the rest. So Elon Musk is indeed like Tony Stark, only issue is he is also indeed the real life version so has no plot to back him up and all the rules of real life still apply.

    • molave@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      At least around 2015 when SpaceX landed a rocket for the first time, it really does look like he’s the real life Tony Stark. People change, sometimes for the worse.

    • katy ✨@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      its amazing how elon was once so milquetoast and inoffensive that he was a guest on the big bang theory and then he was like you know whats good? nazis.

    • dangblingus@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      It didn’t hurt that he was in Iron Man 2. Pepper for some reason is bending over backwards to be deferential to him in the early Monte Carlo scene.

    • Tja@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I was one of those. In my defense, 2012-2015(ish) he really was doing cool things. Tesla and Space X were super innovative and brought optimism. Then a time traveler stepped on a bug, the whole Thailand pedophile fiasco happened and it went downhill from there. Now we have yokes, dumb turn signals and the whole cybertruck, not to mention removing ultrasound sensors to save a few cents and the whole Twitter debacle. At least space X is still somehow unfucked?

      In case it helps… I’m sorry.

      • SpaceCowboy@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        I think the problem was he started to believe his own hype that he was a super-genius that knew everything about everything.

        I mean I don’t know the nitty gritty details of building an electric car or building rockets. But neither does Elon Musk. Which would be fine except that he tries to talk about these things like he does understand all of the details. Nobody knows everything about everything, it’s only an idiot that tries to act like he does.

        But then he tries talking like he’s an expert in a field I am familiar with and it’s like… there’s points people could make on this subject, but that’s not one of them.

        • Da_Boom@iusearchlinux.fyi
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          I think he always believed his own hype. Heck there was a point where I was somewhat into his hype.

          Though I never liked Tesla’s interior design philosophy of “just put all the controls on a giant tablet and call it a day”

          Truth is we didn’t know enough about him to gain an opinion. So imaginations ran wild. I mean there are people who have been saying how bad he was since the whole PayPal thing. It’s just those companies weren’t big enough at the time for it to gain any gravity in the public eye.

          Then Tesla and spaceX happened, and people thought what he was doing was awesome, because a lot of it was and it was easy to look past the parts that weren’t.

          Now however the fact he can’t keep his mouth shut and has become a twitter addict has kinda ruined our public opinion on him. If he had just stayed quiet and not bothered with the whole buying twitter thing, people might not care much about him. And the Epstein stuff and affairs and shit didn’t help him one bit. He’s right to mistrust the media - that shit is like a gourmet breakfast for them.

          Basically he revealed himself in the public for what he truly is. A cold blooded greedy ass tycoon with an ego the size of the planets he’s trying to colonise, with a modern style nerd-hipster science theming and old school conservative ideals.

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Same. Can’t judge about auto industry or rocket science, but I know a thing or two about software. And… Yeah, everything he’s said about Twitter internals (and sw dev in general) is brain dead.

        • DragonTypeWyvern@literature.cafe
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          1 year ago

          The thing is after Peter Thiel made him a multi-billionaire against his best efforts, he did actually put that capital into industries that desperately needed someone to prove to the boomers that you could, and should, make money in them.

          There’s a whole lot to say about his credit stealing, ego, and the system itself, but the fact remains he does have an eye for talent (that he can exploit for gain)

          So, sure, he was just the bankroll, but that doesn’t mean the companies didn’t desperately need that.

          • FiskFisk33@startrek.website
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            That’s fair enough!

            I’m just so used to people calling him an engineer and an inventor, while, as you say, the cool things he did were as an investor.

  • Skates@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I constantly feel the need to argue with this dumb fuck and his 99% wrong opinions. I usually have to take a step back, remember it’s not worth it, and then move on. It would be a great help if I had a Firefox add-on that precedes all of musk’s tweets with "retard weighing in: ", just as a reminder that he’s also allowed a point of view, despite his mental issues.

    • haui@lemmy.giftedmc.com
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Pretty sure you‘re only using the r-bomb and „mental issues“ in a joking way but its kind of not funny.

      Musk is a spoiled, unempathetic, overhyped idiot who claims to be autistic… perfect example that autistic people can be cretins as well.

      But a lot of autistic people are getting called the r-word and its not ok. Mental (health) issues are not a stigma. They are okay and normal. Being an asshole isnt normal or okay though.

      • Legendsofanus @lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Irrelevant question ahead->

        I have read that Google is dumb and potentially malware carrying extensions sometimes slip through their security and onto the chrome store. Is it true and how does it apply to Firefox