plee for Properties, Private Fields

BlitzMax Forums/BlitzMax Programming/plee for Properties, Private Fields

Peter - its not really a replacement for fields, just a syntax sugar for ugly get/set methods. I hope bmax or the C compiler is smart enough to inline alot of the properties though. I know that in C# most of the get properties are inlined by the compiler

I think constructors with parameters would also be very nice. Right now I'm making Create functions, however, these functions are inheritable, and there is no overloading. So I'm limited to only one return type.

Now I have to make "CreatePoint:TPoint" functions.... Plus this means you could call TAtom.CreatePoint:TPoint, which is just plain odd.

[edit] I just realized i could make these functions outside of the classes so they wouldn't looks so bad. Still.