❄️🦊 is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Am I the only one who feels like dynamically typed languages are becoming obsolete? Type systems are more expressive and type inference is more ergonomic, so there seems to be few arguments in favor of weaker typing.

@icefox Common Lisp user here.

There's been a lot of improvement in the Common Lisp world regarding typing, especially regarding compile-time type inference. You can write bits of Lisp code with all types declared up front, and therefore get statically typed code that 1) performs better because of fewer runtime type checks, 2) is safer because type mismatches are signaled at compile time.

This solution doesn't prevent you from dynatyping whenever you need it to or enjoying other Lisp boons.

❄️🦊 @icefox

@phoe Yeah, I'm aware of that. The Python people at least call it "gradual typing" and it's really nice, but CL naturally had it like 30 years before anyone else.

My main priority is the safety rather than the performance, to be honest

· Web · 0 · 0