Posts tagged: constants

2 posts

Better Know A Ruby Thing Bonus: Contestants and Nesting

Sorry for skipping a week or two -- I was approving copyedits on the book that is now called [_Programming Ruby 3.3_](https://pragprog.com/titles/ruby5/), because we now want to be proactive about the next release. Coincidentally, the copyedit review does relate to this newsletter. I noticed a particular code sample as I...

Better Know A Ruby Thing #2: Constants

A fun thing about learning Ruby is that sometimes concepts that have the same name as in other languages have different behavior and purpose in Ruby. Today: constants They aren't actually constant. They aren't only used for small strings or magic literals. They aren't even mostly used for that in...
All Posts

Subscribe to the Dynamic Rubyist Newsletter

Subscribe to the blog via RSS

RSS Feed