2 ms·
“Gleam is a statically-typed language, meaning you must declare the type of a variable before using it.” That second part is wrong. Gleam has type inference.
by asplake 2y ago
“Gleam is a statically-typed language, meaning you must declare the type of a variable before using it.”
That second part is wrong. Gleam has type inference.
- pxc 2y agoIn the era of type checkers for dynamic languages, it might be better to write > Gleam is a statically-typed language, meaning if you declare the type of a variable before using it, that will actually do something. :)