Content deleted Content added
No edit summary |
|||
Line 104:
The Flix language design includes a collection of stated principles that shape the language<ref>{{cite web |title=The Flix Programming Language - Principles |url=https://flix.dev/#/principles/ |website=flix.dev |accessdate=28 August 2020}}</ref>. These include:
* Everything is an expression.
* Separation of pure and impure code.
* Closed-world assumption.
The principles
* Unused functions.
* Unused parameters, types, and variables.
* No compiler warnings, only compiler errors▼
The principles also list several programming language features have been deliberately omitted. In particular, Flix has:
▲* No variable shadowing
* No [[Null_pointer|null]] values. Instead the use of the <code>Option</code> data type is recommended.
* No [[Type_conversion|implicit coercions]]. Instead type conversions must be inserted explicitly by the programmer.
* No [[Reflection_(computer_programming)|reflection]].
▲* No compiler warnings, only compiler errors.
== References ==
|