Where would the .x and .y come from?
from automaticly generating them by inference at compile time.
is it really that bad? i find it annoying to declare vars at all.
Where would the .x and .y come from?
e.namee = whatever
class Point
def init(x as int, y as int)
_x, _y = x, y
get x from var as int
get y from var as int
get isPositive as bool
return .x > 0 and .y > 0
Users browsing this forum: No registered users and 45 guests