2025年8月9日 –, TR209
Ruby is a fully object-oriented language. While other OO languages such as Java have a Boolean
class, Ruby doesn't have it. It doesn't have methods like to_bool
. So, is it bad for Ruby programmers? No, we feel comfortable without Boolean
class or to_bool
method.
This leads to questions: What is Boolean, what is class and how Ruby designs it? And finally, why doesn't Ruby have Boolean class?
This talk answers "Why doesn't Ruby have Boolean class?" question and explores the world of OOP and language design.
Ruby programmers and all who are interested in language design
難易度:中級
Masafumi is a software developer based in Tokyo, Japan. He has been working on Ruby and Rails projects for over a decade. He maintains several gems and organizes a tech conference called Kaigi on Rails. He gave a talk at RubyConf Tw 2023 and a few other international conferences.