Re:A decade of developing a programming language
by LegibleCrimson on Tuesday November 14, 2023 @05:28PM
(#38270724)
> avoid having to type every single variable
Most static languages don't make you type every single variable anymore. Java, C++, Rust, C#, and many others let you make the compiler infer types where reasonably possible. That's still full static typing.
My Python and Rust have about the same kinds of explicit type annotations in roughly the same places. My C++ has a little bit more, just because `Foo obj{a}` is more idiomatic than `auto foo = Foo{a}`.
Re:A decade of developing a programming language
by andyferris on Tuesday November 14, 2023 @09:13PM
(#38272535)
You can do that with type inference and a strong, static type system.
This approach is comfortable to me both in Erlang and in Common Lisp, I see it as a balance between safety/performances and development speed (and I'm saying that as someone using Go for all professional development and being really happy with its full static typing).