Update page 'Future AerScript Versions'

2019-05-16 12:03:33 +02:00
parent f8ef79dcb1
commit 28f8693ae2

@@ -15,9 +15,8 @@ A right associative \** operator can be added to support exponentiation, along w
### AUTO keyword
Variables that are declared at method/closure scope could have an implicit type ___auto___. An implicitly typed local variable should be strongly typed just as if programmer had declared the type himself, but the compiler determines the type.
auto $var = 'text'; // Implicitly typed string
string $var = 'text' // Explicitly typed string
auto $var = 'text'; // Implicitly typed string
### Operator overloading
It should be possible to redeclare or overload most of the built-in operators available in AerScript. Thus a programmer could use operators with user-defined object types as well. Overloaded operators are functions with special names the keyword operator followed by the symbol for the operator being defined. similar to any other function, an overloaded operator has a return type and a parameter list.