News for hackers. Stuff that matters.
Re:Can Rust Beat JavaScript in 2023? by fulafel on Friday April 21, 2023 @09:27AM (#35653404)
Even the maintainability argument is suspect I think: Static type systems as commonly used are not very powerful compared with schema validation style approaches used in the dynamic languages world (eg malli or spec in Clojure world). Static types lose in expressiveness, flexibility of when & where they are enforced, and ability to pass around the data shape specifications as data.
Re:Can Rust Beat JavaScript in 2023? by krn on Friday April 21, 2023 @09:52AM (#35653752)
That's true, and Clojure (when used with metosin/malli) is probably the only reasonable alternative to statically typed programming languages in terms of long-term maintainability.

Essentially, it's like two completely different reasoning models: inside-the-box (ALGOL / SQL), and outside-the-box (LISP / Datalog).

The first model (ALGOL / SQL) is about designing for machines to better understand, and the second model (LISP / Datalog) is about designing for humans to better understand.

I think that the main issue with dynamically typed languages is the lack of robust enforcement.