Re:N-queen puzzle in 4 lines of Scala
by ionforce on Sunday April 10, 2016 @12:48PM
(#11466967)
Who cares about "compactness"? You weren't golfing. It just sticks out as bad code.
[ Parent
| on HN ]
Not my code, it was copied (note the attribution) from a specific context where somebody cared about compactness.
Edit: Perl's also not the only language that supports the comma operator, predicate if, ternary, and other things that seem to bother you.