-
Notifications
You must be signed in to change notification settings - Fork 62
Phantom difference from Java, C and C#
Dmitry Zavalishin edited this page Oct 13, 2017
·
3 revisions
++ For those who don't want to read too much.
Everything is object.
x = map.get(“apple”);
if( x :== null ) ...
if( x == “macintosh” ) ...
Accepts not only type name, but also a class object to create instance of. Such as
x = new *(expression-giving-class-object)(c'tor params);
Sorry about that, will return to c/java style soon.
var i : int;var container : .phantom.util.map;
Not really implemented.
Possibly will change and relevant names will be searched in imported packages as well.
:: Home :: RoadMap :: History :: ChangeLog :: ScreenShots :: Phantom Developer's Guide