News for hackers. Stuff that matters.
Re:The Next Step for Generics by alexbanks on Tuesday June 16, 2020 @10:33PM (#23547079)
What you're describing comes down to "Bad programmers do bad things", which literally no language can or will solve. If your code has lots of interface{} in it, you're not really using the language as intended. Pretty much every Go styleguide/linter/whatever will throw up at interface{} usage.

You can write unsafe code in Rust. Does that mean that Rust is bad too?

Re:The Next Step for Generics by logeprog on Thursday June 18, 2020 @02:45AM (#23560425)
100% agree. Same with :any in typescript. When it comes to bugs... I tend to think that a good configured linter is more important than the degree of the type system. It’s nice to have a strong type system but people forget that a lot of programmers are bad and a good type system won’t change that fact.