News for hackers. Stuff that matters.
Re:A decade of developing a programming language by munificent on Tuesday November 14, 2023 @04:00PM (#38269677)
I think the author's recommendation has some needed context:

> Recommendation: either make your language statically typed or dynamically typed (preferably statically typed, but that's a different topic), as gradual typing just doesn't make sense for new languages.

The "for new languages" part is really important. Gradual typing makes a lot of sense when you are trying to retrofit some amount of static checking onto an existing enormous corpus of dynamically typed code. That's the case for TypeScript with JavaScript and Elixir with Elixir and Erlang.

Re:A decade of developing a programming language by 7thaccount on Tuesday November 14, 2023 @04:26PM (#38270034)
Raku (formerly known as Perl 6 and a radically different language than Perl 5) uses gradual typing on purpose. It's a cool language that has a lot of advanced ideas, but has basically been in either the design or beta stage for like two decades.
Re:A decade of developing a programming language by fuzztester on Tuesday November 14, 2023 @05:43PM (#38270880)
>for like two decades.

IOW, Raku is a gradual type of language.

Re:A decade of developing a programming language by akoboldfrying on Tuesday November 14, 2023 @07:34PM (#38271832)
Other puns are not as good as this pun
Re:A decade of developing a programming language by chubot on Tuesday November 14, 2023 @04:08PM (#38269781)
Oh yeah, as far as I know Elixir has a lot of calling back and forth with Erlang code. So that makes for a super tricky type system problem.

I think the macros make it even harder. Elixir appears to be done almost all with macros -- there are lots of little "compilers" to Erlang/BEAM.

Re:A decade of developing a programming language by nerdponx on Tuesday November 14, 2023 @04:02PM (#38269695)
What about Julia?
Re:A decade of developing a programming language by adgjlsfhk1 on Tuesday November 14, 2023 @08:21PM (#38272209)
Julia isn't gradually typed. It's strongly but dynamically typed.
Re:A decade of developing a programming language by YorickPeterse on Tuesday November 14, 2023 @05:06PM (#38270494)
You're right about this applying to new languages. I've added a note to the article to (hopefully) make this more clear.