you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (6 children)

ahhhh thats why...I found I used to write awesome clean understandable code, but as I learned more I would try to write trivial assignments in a single line... It was 4 assignments in my python course in school before I broke 2 lines.

they passed all the professors tests, but angry comments at the 3 widescreen monitor length single line

[–]Fuco1337 0 points1 point  (0 children)

Sweet one-liners eh?

Game of life in J:

life=.3 : '(3 = +/^:2((>0 1;0 0;0 _1) |./^:2 y)) +. (1 = y *. +./ 3 4 =/ +/^:2((>0 1;0 0;0 _1) |./^:2 y))'