Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Generics are dangerous

Name: Anonymous 2018-09-02 12:38

Generics are bad and complex and we should not have them.They make my head hurt. I don’t like complex. I like copying and pasting code and adjusting types. I like macro’s. Just like in 1981. You like generics? You support BUGS in CODE.

Name: Anonymous 2018-09-03 1:55

>>5
_Generic in C only allows you to implement a shitty version of type switches, letting you implement your own version of ad-hoc polymorphism. It does not help with parametric polymorphism in any way.

>>8
This is what typeclasses are for.

>>10
Interfaces are a limited and shitty version of typeclasses that you can use in java.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List