To-do updated.

This commit is contained in:
Onoshko Dan 2014-06-12 02:13:38 +07:00
parent efe3183540
commit fc6ba0c28c

View File

@ -361,6 +361,18 @@ Future plans
=== ===
- Use inline `isset` expression instead function. status: done - Use inline `isset` expression instead function. status: done
- `some is NaN` to `isNaN(some)` status: done - `some is NaN` to `isNaN(some)` status: done
- operator `?` instead `isset`, fix the operator with function call
- operator `?.`
- operator `?` to sign an argument as not-required
int sqr(int x) => x ** 2;
sqr(2); // 4
sqr(); // Exception
int sqrt(int x?) => x ** 2;
sqr(); // NaN
- Negate array accessor ( getter ) - Negate array accessor ( getter )
arr[-1]; // last element arr[-1]; // last element
@ -382,7 +394,16 @@ Future plans
// or // or
Object data = someData; Object data = someData;
int data.getFriendsCount() => this.friends.length; int data.getFriendsCount() => this.friends.length;
- intarface
inerface UserProfile {
String name, email;
Date birth;
String info?;
}
- classes - classes
class A { class A {