118

That's it. That's the meme.

you are viewing a single comment's thread
view the rest of the comments
[-] alsimoneau@lemmy.ca 1 points 4 days ago

That's a very narrow definition of limited usefulness, and in practice it means your code is overly verbose and inflexible. You get stuck with polymorphism everywhere or you're explicitly converting data all the time for nothing.

Plus, if you try to process some data from an external source (which you have to if you want to do anything useful) you don't have any way to test if it's the right type before execution, so you're back at the same place that Python is, without the ability to cleanly recover.

[-] barubary@infosec.exchange 0 points 3 days ago

I believe now it is my turn to say you're spewing nonsense. Have you ever used a language with a type system? Because this whole idea of "testing external data to see if it is the right type" doesn't really make sense.

At the lowest layer, generally, external data is an array of bytes. It has no other type you could "test". However, you can decode or parse it into a form that makes sense for your program. And why couldn't I cleanly recover from parse errors? (And how do you think Python does it?)

[-] alsimoneau@lemmy.ca 1 points 3 days ago

Clearly you've never programmed anything outside of theoretical computer science or heavily enclosed and controlled systems.

this post was submitted on 05 Aug 2025
118 points (100.0% liked)

Programmer Humor

37656 readers
149 users here now

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

Rules:

founded 6 years ago
MODERATORS