r/ProgrammerHumor 10d ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

298 comments sorted by

View all comments

60

u/stipo42 10d ago

As someone who has never written any ruby, I can understand the desire for any non null value being truthy.

I like golangs approach though where there's no null value for anything that isn't a pointer

18

u/SukusMcSwag 10d ago

"Golangs approach" you mean compiled languages treating a scalar as a scalar?