Going Haml

<html> <head> <title>Ruby Programming</title> </head> <body> <h1>Don't Repeat Yourself</h1> </body> </html> Moving from the world of Ruby programming to the world of HTML is no easy transition. I would guess that moving to HTML from anywhere, for that matter, is no easy transition. But Ruby especially - known for its syntactic sugar - clashes with … Continue reading Going Haml

Ruby & Ampersand

The ampersand (&) operator in Ruby programming has a variety of uses, but in my albeit short career as a Rubyist I rarely find myself calling on it. I'm content to mix in && when appropriate, but the unary & eludes me. Why haven't I found more opportunities to make the & operator more useful? … Continue reading Ruby & Ampersand