86thumbs
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
slashasdf@feddit.nl to Programmer Humor@lemmy.mlEnglish · 2 years ago

what?

feddit.nl

message-square
49
fedilink
964

what?

feddit.nl

slashasdf@feddit.nl to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
49
fedilink
alert-triangle
You must log in or register to comment.
  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    204
    arrow-down
    1
    ·
    2 years ago

    Easy to learn, hard to master, used for things it wasn’t created for.

    Yep.

    • dreadgoat@kbin.social
      link
      fedilink
      arrow-up
      143
      arrow-down
      3
      ·
      2 years ago

      used for things it wasn’t created for

      I think Python gets a point here, as it is very good at doing what it was created for.
      Javascript even sucks at its stated goal.

    • MaximumOverflow@lemmy.ca
      link
      fedilink
      arrow-up
      92
      ·
      2 years ago

      You don’t master Javascript, ever. You just become accustomed to the madness and stop caring, while sometimes doing things right.

      • balance_sheet@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        2 years ago

        Typescript helps a bit but not much

        • shroomato@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          2 years ago

          Is there a typescript analogue for python? Preferably that adds curly braces?

          • d_k_bo@feddit.de
            link
            fedilink
            arrow-up
            5
            ·
            edit-2
            2 years ago

            Type Annotations and other typing-related stuff are built into the language/standard library.

            To get a real benefit you should use a static type checker like mypy.

          • UlrikHD@programming.dev
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            Just be a decent human being and use type hints in python, problem solved.

          • Iridium@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            from __future__ import braces

            Give it a go

          • shulhan@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            2 years ago

            Go.

            • CanadaPlus@lemmy.sdf.org
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              2 years ago

              Oh, is that what the Go is all about?

      • PeWu@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        I agree.

    • thewebroach@lemmy.world
      link
      fedilink
      arrow-up
      19
      arrow-down
      2
      ·
      edit-2
      2 years ago

      Gotta say, ive done magical things in Javascript. NodeJS in particular can do damn near anything you set your mind to, and it doesnt give a damn if you use tab or 4 spaces.

      • PeWu@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        For real, you really can do anything there, sometimes sacrificing efficiency, but still.

    • HSeldon10@mujico.org
      link
      fedilink
      arrow-up
      15
      ·
      2 years ago

      used for things it wasn’t created for.

      so, like 90% of all programming languages

    • Reborn2966@feddit.it
      link
      fedilink
      arrow-up
      11
      ·
      2 years ago

      what was the original goal of python?

      • Kerrigor@kbin.social
        link
        fedilink
        arrow-up
        52
        ·
        2 years ago

        sssssssssssssss

      • Jerkface (any/all)@lemmy.ca
        link
        fedilink
        English
        arrow-up
        25
        arrow-down
        1
        ·
        2 years ago

        The goal for Python 3 was to be an all purpose language that the general population could use for their everyday computing tasks

    • Steeve@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      What was it created for?

      • SokathHisEyesOpen@lemmy.ml
        link
        fedilink
        arrow-up
        32
        ·
        2 years ago

        Looking nice and upsetting people.

        • Steeve@lemmy.ca
          link
          fedilink
          arrow-up
          6
          ·
          2 years ago

          That tracks

        • illectrility@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          Can confirm

    • JackGreenEarth@lemm.ee
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      2 years ago

      But they’re both programming languages…

      • Shaded Cosmos@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 years ago

        I think they meant javascript is to web dev as python is to software dev

        • Vilian@lemmy.ca
          link
          fedilink
          arrow-up
          22
          arrow-down
          4
          ·
          2 years ago

          it’s a 4chan post, they don’t “think” they are lawless animals, deprived from any sense of rationality

        • Zorque@kbin.social
          link
          fedilink
          arrow-up
          8
          ·
          2 years ago

          I think it’s a 4chan post and thus intentionally dumb.

        • Aceticon@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          I read it as them both being loose-typed interpreted and widelly used languages.

      • CheezyWeezle@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        2 years ago

        They do share a significant commonality, though; they are both interpreted languages, rather than compiled. Sure, you can compile them, but they are meant to be run interpreted so you can quickly and easily tweak and change things and not have to wait for compilation to see the results. In that regard they are very comparable.

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    108
    ·
    2 years ago

    Because JavaScript isn’t a programming language, it’s a compilation target 😅

    • darcy@sh.itjust.works
      link
      fedilink
      arrow-up
      17
      ·
      2 years ago

      the SAD reality!

  • BetterNotBigger@lemmy.world
    link
    fedilink
    English
    arrow-up
    52
    arrow-down
    1
    ·
    2 years ago

    This one triggers the entire spectrum of human emotion.

  • PeteZ@lemmy.world
    link
    fedilink
    arrow-up
    27
    arrow-down
    3
    ·
    2 years ago

    I had to do a project once with JavaScript. I did not enjoy the experience. In my opinion, a language where you need a reference to tell true from false is a bad language. So maybe JavaScript is the JavaScript of languages.

    • The Overlord@tsck.org
      link
      fedilink
      English
      arrow-up
      14
      ·
      2 years ago

      Javascript is the javascript of JavaScript

      • Skymt@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        2 years ago

        It’s only JavaScript if it is from the ECMA region in Europe. Otherwise it’s just sparkling java…

    • Liz@midwest.social
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      I’m not a programmer but I took a class in JavaScript. Unless I’m misunderstanding what you mean by reference, I don’t recall that feature of the language. Can you explain?

      • PeteZ@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        A language reference (a manual). It’s not a language feature.

  • treadful@lemmy.zip
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    2 years ago

    Tired of rage bait

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 years ago

      That’s not even good rage bait.

      Rage bait would be for example if you said “they could fix everything that’s wrong with PHP but Python already exists”.

    • Boinketh@lemm.ee
      cake
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      2 years ago

      deleted by creator

  • colourlessidea@feddit.de
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    2 years ago

    Since JavaScript is newer than Python, sure JS is the Python of programming languages /s

  • _s10e@feddit.de
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    2 years ago

    Wat?

  • cia@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    Wait let’s hear him out

  • grapes@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    What?

  • AlexisFR@jlai.lu
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    This is from 2021…

    • loutr@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Et alors

  • garyyo@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Python is the connective tissue holding together library calls and some of our most advanced AI research is reliant on that. mildly concerning

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

remote_follow_modal_title

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
community_visibility: public
globe

public_blurb

  • 33 users / day
  • 972 users / week
  • 2.75K users / month
  • 9.86K users / 6 months
  • number_of_local_subscribers
  • 37.1K subscribers
  • 1.78K Posts
  • 37.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org