24

No offence

you are viewing a single comment's thread
view the rest of the comments
[-] nothacking@discuss.tchncs.de 2 points 1 year ago

Is python really any better?

[-] superbirra@lemmy.world 2 points 1 year ago
[-] Xylight@lemmy.xylight.dev 1 points 1 year ago
  • loosely typed: python is the same

  • bad package manager: python is infinitely worse

[-] superbirra@lemmy.world 0 points 1 year ago
  • loosely typed: python is the same

false

  • bad package manager: python is infinitely worse

don't think so but ehy...

[-] Xylight@lemmy.xylight.dev 1 points 1 year ago

pip is the bane of my existence

Also python IS loosely typed. take a str and you can reassign it to an int or whatever

[-] min_fapper@iusearchlinux.fyi 1 points 1 year ago

Yep last time I tried python, it's type checker was so, so much worse than typescript.

Everyone I've met saying python is better turned out not have used modern JavaScript/typescript.

[-] Joe_0237@lemmy.ml 1 points 1 year ago

I'm sure that's the case, but the meme is not making fun of typescript, its making fun of his dad: JavaScript, maybe for not comparing to his son: typescript

[-] static_motion@programming.dev 0 points 1 year ago* (last edited 1 year ago)

You clearly have no idea what you're talking about. Python is strongly typed. What is is is dynamically typed, also known as "duck typing".

Strong typing doesn't have a widely agreed upon definition. Duck typing is not equivalent to dynamic typing.

[-] abraxas@lemmy.ml 1 points 1 year ago

You're right about python being the same. Python doesn't have a mature alternative to Typescript that launches it into having best-in-class type handling.

There's so much that my C# devs can't do with its horrible type system that Typescript "just does better". At compile-time at least.

I used to work on a hybrid typescript/python product (some services js, some TS, some python), and the TS stuff was just faster-running, easier to iterate, and better. And story-point allocations consistently showed that for an excess of 20 devs working on those codebases.

As for pip/easy_install vs npm/yarn/pnpm... I'm curious what you think pip does well that yarn/npm doesn't? I'll say in my work experience there's more/better enterprise private repository/cache support for node modules than for python modules. Using npm security databases alongside "known good versioning" allows a team of even 100 developers to safely add libraries to projects with no fear of falling out of corporate compliance regulations. I've never seen that implemented with pip

[-] ComradeKhoumrag@infosec.pub 1 points 1 year ago

Python is as inefficient as js is ugly

[-] LeFantome@programming.dev 1 points 1 year ago

Well done.

That is like a colleague farewell card that says, “Four years already? It seems like only six months with all that we have accomplished.”

[-] Rodeo@lemmy.ca 0 points 1 year ago

Afaik JavaScript only runs in a browser. If you want to make a desktop app your only option is something like electron.

For example, you can't make the equivalent of a bash script with JS, but it's trivial with python. I don't think you can do system calls at all with JS.

[-] vithigar@lemmy.ca 1 points 1 year ago

There are non-browser JavaScript implementations, the most well-known of which is node.js

this post was submitted on 16 Jul 2023
24 points (92.9% liked)

Programmer Humor

32225 readers
838 users here now

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

Rules:

founded 5 years ago
MODERATORS