this post was submitted on 05 Apr 2024
73 points (73.2% liked)

Programmer Humor

19315 readers
2 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Let's reinvent java bytecode but... different

you are viewing a single comment's thread
view the rest of the comments
[–] hydroptic@sopuli.xyz 2 points 6 months ago* (last edited 6 months ago) (1 children)

I think having null is great in some cases where you need to represent missing value.

Option types or sum types would probably be a much less terrible choice for this, although I guess some sort of nullable keyword counts as a sum type

[–] magic_lobster_party@kbin.run 3 points 6 months ago* (last edited 6 months ago) (1 children)

Well, anything that can be captured at compile time or by the IDE is infinitely better than the situation we have today.

[–] hydroptic@sopuli.xyz 0 points 6 months ago

Ha yeah, just about anything is better than the current status quo