Tag: programming

Groovy/Grails Recursive Function/Closure

Since I keep waisting time in recursive functions (and forget what I developped a few months back), here is a piece of code for a recursive function in Groovy. def getAllChildren(entityId) { //Container for the results def results = []...

/ April 7, 2015