this post was submitted on 17 Aug 2024
713 points (95.4% liked)

Programmer Humor

32479 readers
1165 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 127 points 3 months ago (42 children)

But one compiling error is Java is 7 run time errors in python.

There is a type error and you couldn't have known it beforehand? Thanks for nothing

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

I find it's possible to operate Python as a statically typed language if you wanted, though it takes some setup with external tooling. It wasn't hard, but had to set up pyright, editor integration, configuration to type check strictly and along with tests, and CI.

I even find the type system to be far more powerful than how I remembered Java's to be (though I'm not familiar with the newest Java versions).

[–] [email protected] -1 points 2 months ago

Ime anyone who is experienced enough knows how to avoid these Types of issues anyway (through tooling and good convention etc)

load more comments (40 replies)