Not that Marx/Posts/Groovy/Groovy23 September 2011·31 words· original shorts devCheck out Groovy!def fact fact = if ( it > 1 ) { it * fact ( it-1 ) } else 1 }and i just made a factorial function