DEV Community

Discussion on: Share Your Conway's Game Of Life

Collapse
 
gypsydave5 profile image
David Wickes • Edited

The greatest solution I've ever seen is written in APL.

←{                                  
    ↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ 
}

If you're anything like me you'll try and implement the same reasoning in a different language.

Collapse
 
deciduously profile image
Ben Lovy

I am utterly fascinated by APL/J/family. Just need more hours in the week...

Some comments have been hidden by the post's author - find out more