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
  • 𝘋𝘪𝘳𝘬@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.

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

  • 62 users / day
  • 1.04K users / week
  • 2.78K 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