-
Notifications
You must be signed in to change notification settings - Fork 8
TL3 Features
Meir Cohen edited this page Mar 14, 2018
·
1 revision
Support features that allow writing code that will not change much in next TL steps. This will make long-term driven coding efficient, with design, documentation, code-review and tests.
- Support any order of decelerations - one can use stuff declared after it
- Support any kind of expression
- Prints clear syntax errors - with file and line of bad source code
- Documentation
- Automatic object initialization
- Basic Generic types:
class Type-name{Generic-type-name} - New to a reference:
new Type in expression - "Special" string formatting using
*:* function-name("format string with {}, execute a line for each {} in format string") some-function(some parameters...) other-function(other parameters...) # is same as: function-name("format string with ") some-function(some parameters...) function-name(", execute a line for each ") other-function(other parameters...) function-name(" in format string") - Line braking in functions and expressions
- Basic Unit-tests support:
test f-test-function-name() assert condition assert-error expression mock f-mocked-function() # override implementation - Test zero division
-
nativeis not supported - support
+=and-=
Suggestions, comments and questions are welcome!
