News for hackers. Stuff that matters.
Re:Features of a dream programming language by throwDec21 on Thursday December 30, 2021 @12:17AM (#29733884)
> like generics getting too complicated

I'd love to know if you write lots of code and/or have to maintain other people's hugely templated code. I find if you have to do lots of the second you quickly stop writing it.

Re:Features of a dream programming language by stouset on Thursday December 30, 2021 @12:41AM (#29734008)
Saying that generics get complicated because C++ templates are a nightmare is throwing the baby out with the bathwater.

I don’t think anyone same would ever design templates today.

Re:Features of a dream programming language by kaba0 on Thursday December 30, 2021 @04:56AM (#29735275)
I would still prefer that over copy pasting that shitty list implementation for the nth type, or whatever “convention” some C devs do to make it “generic”.