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 #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper