These mathematicians actually provided source code for their complicated space-filling curve algorithm! Source: www.reddit.com

}}}}}}}}}}} When you have so much nesting you have to smush it all on one line

Site Comments (1)

Please Signin or Signup to add a comment


1

August 19, 2016, 1:47 pm

Adam57b70d692ab5f wrote:

none of those else's are necessary... if an if statement is true it will return a value and leave the method, if it's not true it will run the next if statement anyway, the else's are just redundant