News for hackers. Stuff that matters.
Re: by Drup on Thursday February 19, 2026 @05:27AM (#47072273)
I'm going to be contrarian: Yes, you should learn about type systems if you want to design a programming language, and decide in full conscience what you need. At the very least, it will give you a concrete idea of what safety means for a programming language.

It doesn't mean you have to use an advanced one, but your choice choose be based on knowledge, not ignorance.

A lot of harm; including the billion dollar mistake, has been done by badly designed type systems from the Java/C/C++ family.

Re: by xmcqdpt2 on Thursday February 19, 2026 @07:27AM (#47073061)
Java also has covariant mutable arrays. I can't believe they created the whole language and didnt realize that covariant arrays are unsound? Or didn't care?
Re: by kccqzy on Thursday February 19, 2026 @09:29AM (#47074116)
They didn’t care about preventing all unsoundness at type check time. As long as JVM can detect it and throw an exception, it’s good enough for Java.