Jake Zimmerman personal blog
Ruby's private keyword is weird
Ruby's `private` keyword means something different compared to basically all other object-oriented languages. Most other languages don't even have a feature matching what Ruby calls `private`, but incredibly, Scala does, which it calls `protected[this]` (meaning
- Points
- 109
- HN comments
- 38
- Submissions
- 1
- Cited by
- 0 commenters
Programming LanguagesSoftware Engineering2023
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Dec 14, 2023 | Ruby's private keyword is weird by jez | 109 | 38 |