Oh, a few days/weeks/centuries ago, I found out, by trying it out, that Ruby actually *does* support the and/or/not keywords, and not just the Java &&/||/!@#$%^&*()_+| stuff. So that's good. I'm kinda starting to like Ruby a bit because of stuff like that, like, there are multiple ways of doing things, and if one doesn't make sense to you, then there's sometimes another way that might.

Follow

@devinprater Love Ruby as well. There are order of precedence differences between the &&/|| and the and/or forms. Watch out for that.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!