Re:Elixir – Why the dot (when calling anonymous functions)?
by bnchrch on Monday August 14, 2023 @02:39PM
(#37124868)
Typescript, by a large and deserved margin.
[ Parent
| on HN ]
Re:Elixir – Why the dot (when calling anonymous functions)?
by ak_111 on Monday August 14, 2023 @02:46PM
(#37124998)
Should have added other than Typescript :)
Re:Elixir – Why the dot (when calling anonymous functions)?
by bnchrch on Monday August 14, 2023 @02:54PM
(#37125144)
Then I would vote Go (best stdlib in the business), then Java.
Re:Elixir – Why the dot (when calling anonymous functions)?
by weatherlight on Monday August 14, 2023 @04:50PM
(#37126635)
It's not sound :(. Type systems should be bomb proof or get out of the way.
Re:Elixir – Why the dot (when calling anonymous functions)?
by mjhay on Monday August 14, 2023 @08:45PM
(#37128731)
Typescript's unsoundness isn't a good thing, but it is way down the list of type-unsafe things inherent in the Boschian nightmare that is frontend development.
Compile-to-JS languages add a big impedance mismatch when you inevitably need to use JS libs. Typescript's JS + types philosophy helps with this issue (it still sucks though).