Please consider adding some pre-processor to Monkey C, similar to C.
For example we could have inline functions. It would make developers life much easier: the readability of the code would improve, in many cases the binary size could be decreased litte-bit.
#inline function myfunc(a) {return App.getApp().getProperty("LeftGoalType") == GOAL_TYPE_FOO || App.getApp().getProperty("RightGoalType") == GOAL_TYPE_FOO;}
or:
#inline myfunc(a) App.getApp().getProperty("LeftGoalType") == GOAL_TYPE_FOO || App.getApp().getProperty("RightGoalType") == GOAL_TYPE_FOO
-
markw65
-
Cancel
-
Vote Up
+2
Vote Down
-
-
More
-
Cancel
Comment-
markw65
-
Cancel
-
Vote Up
+2
Vote Down
-
-
More
-
Cancel
Children