Game of Life in one Ruby statement... inspired by APL

But let me explain. Last week, I stumbled upon a new APL apology post. It struck some deep chord in me and gave me an impulse to make another attempt to understand this beautifully weird language.What I (somewhat unexpectedly) find out, is that besides the use of extensive character set and extreme terseness, APL has two main features that are not at all alien to Ruby: calculations through operation chaining, and an extensive library of array operations, suitable for said chaining (in Ruby, they are represented by Enumerable module).
Game of Life in one Ruby statement... inspired by APL #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/game-of-life-in-one-ruby-statement-inspired-by-apl

Nezir Zahirovic

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

related articles