this post was submitted on 24 Aug 2025
456 points (98.9% liked)

Programmer Humor

26390 readers
1651 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] friend_of_satan@lemmy.world 17 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

This implies that integers in ROR are complex objects with properties that would be unhelpful in the majority of scenarios. Is that right?

[โ€“] myotheraccount@lemmy.world 16 points 3 weeks ago

Integers are just integers in ruby, with no structure backing them. They behave like objects, but only in some respects. You can call methods on them, but you can't extend individual numbers with properties for example (which would require them to have structure).