Is there any possibility of changing Corona so its modification methods return ‘self’ ?
So for example instead of :
some = display.newRect(0,0,100,100) some:setStrokeColor(1,1,0) some:setFillColor(0,0,1)
you could just write, as an alternative:
some = display.newRect(0,0,100,100):setStrokeColor(1,1,0):setFillColor(0,0,1)
I can’t see any technical issue, all you do is convert the void methods to return the object, and there shouldn’t be backward compatibility issues as virtually all of these functions return nil/are void anyway ?