|
|
|
|
|
by slifin
1870 days ago
|
|
PHP and JavaScript and Python are also dynamically typed the solution isn't yet another incompatible type system, there are so many type systems that don't work together, spec is also turing complete Turing completeness in a type system allows you to use the type system as a meta coding language which is a fantastic amount of
string to hoist yourself with, putting meta languages inside languages is a miserable place to be I'd argue that most people just want the language to check for mistakes, clj-kondo is great and effective at doing this
https://github.com/clj-kondo/clj-kondo/blob/master/doc/edito... If you want types at your system boundaries like on your API then specs or malli is great for that A great thing that Rich Hickey always advocated is separating out problems and then solving them individually I think modern type systems try and take on too many problems at once, static analysis tools are great because they're uncoupled by time and are laser focused on detecting mistakes only |
|