Fix innacurate lua design point in luau post

This commit is contained in:
Erica Marigold 2024-07-06 22:14:06 +05:30
parent a17c651fb2
commit 9842aa4815
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1

View file

@ -21,7 +21,7 @@ Luau has significantly diverged from Lua, with many performance improvements (in
Compared to JavaScript, Luau does not face most of its well-documented pitfalls see [wtfjs](https://github.com/denysdovhan/wtfjs). This is mainly because Luau inherits a lot of Luas good design decisions such as: Compared to JavaScript, Luau does not face most of its well-documented pitfalls see [wtfjs](https://github.com/denysdovhan/wtfjs). This is mainly because Luau inherits a lot of Luas good design decisions such as:
* No two different types can be equal * No two different types can be equal
* Type coercion isnt a thing, types must be converted explicitly * Type coercion is rare and mostly sane (it usually behaves how you would expect it to)
* Arithmetic and non-arithmetic operators arent of the same syntax * Arithmetic and non-arithmetic operators arent of the same syntax
* Practically only one data type: the table, which can be used to implement virtually anything * Practically only one data type: the table, which can be used to implement virtually anything
* No semicolons or indents required! * No semicolons or indents required!