-
use semantics like
'rfor read-only, use stack returns. -
functions are first class citizens, where return code isn't executed when return is ignored etc
-
generics over templates
-
make it a goal to ACTUALLY translate directly to assembly. C doesn't achieve this well enough.
-
make it so that signed integers are the result of a signed + unsigned result to prevent errors.
-
+, -, *, /, etc defined for arrays, multidim array types etc.
-
https://www.swiftbysundell.com/articles/swifts-closure-capturing-mechanics/
-
https://fulmanski.pl/books/doc/learn_swift_by_examples_beginner_level.pdf
-
Define "undefined" behavior like
i = i++; -
Optional Chaining using
?.- https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html
- Would change the type of the resulting expression to
T?