4 ms·
I think Clojure is not statically typed? which is a big disadvantage, and also syntax is very different from current mainstream languages, so even more effort t
by riku_iki 3y ago
I think Clojure is not statically typed? which is a big disadvantage, and also syntax is very different from current mainstream languages, so even more effort to learn is required.
- nkh 3y agoWhen type checking is needed, I find the Truss library* does the trick quite well. As for the syntax, there is very little, which can make it a harder lift but once you have the hang of it you won't deal with the issues identified in the parent comment. * https://github.com/taoensso/truss https://github.com/taoensso/truss
- The_Colonel 3y agoI don't know what Truss is, but I know that I inherited a few smaller Clojure projects / services, and it's untyped hell. Having optional typing means most people are not going to use it.
- cutler 3y agoJS and Python are not statically typed, or PHP for that matter, but it hasn't stopped JS and Python topping the popularity list year on year nor did PHP stop Facebook from world domination.
- riku_iki 3y agoI think in all cases it was realized that static types are adding significant benefits, so they were added to python, typescript and hack have been developed.
- cutler 3y agoJS and Python have gradual, not static typing. Same for PHP 8 but Hack is a different language.
- deleted 3y ago[deleted]