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 7:09

The ability to pass types as arguments basically,

Macro arguments can natively pass anything that doesn't have commas in it. Also typeof(value) GCC/Clang extension allows to capture the type passed.

Function arguments can have an enum argument e..g. (DOUBLE,FLOAT,INT,INT64) that can pass types as integer value representing the place in enumeration(the enumeration can hold values for specific struct/class/etc so essentially anything you define). Edited on 03/09/2018 07:11.

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