Exercise: Minesweeper in 100 lines of clean Ruby | Radan Skorić's personal site

Ruby is such an expressive language. You can often do surprisingly much with just a few lines of code. It’s why I find it so satisfying to think about how to accomplish the same thing in fewer lines of Ruby1.I want to be clear: I am not talking about Code Golfing, although that can also be fun. I’m talking about reducing the number of lines of code without loosing the readability. In fact, one of the nicest things about Ruby is how often reducing the number of lines of code can increase readability.
Exercise: Minesweeper in 100 lines of clean Ruby | Radan Skorić's personal site #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/exercise-minesweeper-in-100-lines-of-clean-ruby-radan-skoric-s-personal-site

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles