Thread context
4 posts in path
Root
@privateger@plasmatrap.com
Open
@privateger@plasmatrap.com
mfw I write golang, check err != nil like a good boy and it passes, so I call a method on it and it panics because the interface has a type but the value is nil, and now I have to wrap every single re
Ancestor 2
@privateger@plasmatrap.com
Open
@privateger@plasmatrap.com
golang could be nice but their type system is batshit insane
Parent
@privateger@plasmatrap.com
Open
@privateger@plasmatrap.com
if any nil-typed interface ever escapes one function, every caller's nil check up the chain is now unreliable and just silently stops doing it's job :wires:
Heyo. Software developer. TTRPG enjoyer. World of Darkness nerd. Coffee drinker. PlasmaTrap server maid. :maid: Send me pics of your coffee. For Plasmatrap official stuff, contact @admin please. I don't make private posts, ActivityPub is fundamentally not private. he/him/any i do not care gender is fake In my 20s Taken by my wonderful boyfriend @hummingbird :3 :plasmapride: :boykiss: - :blahaj: :neocatspinny::woemspinny::spinny_fox::neofox_spinny:
plasmatrap.com
Heyo. Software developer. TTRPG enjoyer. World of Darkness nerd. Coffee drinker. PlasmaTrap server maid. :maid: Send me pics of your coffee. For Plasmatrap official stuff, contact @admin please. I don't make private posts, ActivityPub is fundamentally not private. he/him/any i do not care gender is fake In my 20s Taken by my wonderful boyfriend @hummingbird :3 :plasmapride: :boykiss: - :blahaj: :neocatspinny::woemspinny::spinny_fox::neofox_spinny:
plasmatrap.com
@privateger@plasmatrap.com
·
Feb 17, 2026
My radical opinion is that practically any language with the CONCEPT of a null value is outdated
We should have left that shit in the 90s, anything made past it has little excuse
"It's simple" yeah, simpler to write, not simpler to debug. Not trading two lines extra for eliminating an entire category of runtime crashes is a hard case to make
"Performance" A nullable pointer is one word; an Option is also one word in Rust (with null pointer optimization). Non-issue. Worst case you end up with two words. Womp-womp unless you're writing microcontroller software.
"Interop with C" that's an FFI boundary concern, not a reason to infect your entire language with it
View full thread on plasmatrap.com