Created
April 15, 2013 13:35
-
-
Save ysb33r/5388096 to your computer and use it in GitHub Desktop.
Russel Winder did a lightning talk at ACCU 2013 titled "Who needs C++ when you have D and Go": http://www.slideshare.net/Russel_Winder/who-needscwhenyouhaved-andgo I decided to address the same problem using a one-liner in Groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println ((0..<100).step(7).collect{it*it}.sum()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment