top | item 45484332

(no title)

lbalazscs | 4 months ago

A sentence from the article: "Given the extreme undesirability of any new language features I'd hardly propose bound-pointers now."

It shows that C++ was considered too complex already in the 90s.

discuss

order

codr7|4 months ago

And then they introduced coke at committee meetings, the crazy shit they've been coming up with lately shows absolutely zero understanding of the complexity issue.

jcelerier|4 months ago

and yet client code can be incredibly simpler nowadays thanks to all these features.

I can write this simple struct:

    struct Person {
      std::string name;
      my_complicated_date_type date_of_birth;
    };
and get serialization, network interop, logging, automated UI generation, hashing, type-safe IDs, etc. without having to write an additional line of code. Twenty years ago you had to write 2000 lines of additional boilerplate for each data type to get to the same place.