this post was submitted on 16 Jul 2023
700 points (92.3% liked)

Programmer Humor

32042 readers
1215 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

No offence

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (3 children)

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

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (1 children)

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".

[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 8 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

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Objects have strong, definite types that never change. Variables do not have types and can store [a reference to] any Object.