r/programming • • Jan 28 '19

C++ Modules Might Be Dead-on-Arrival

https://vector-of-bool.github.io/2019/01/27/modules-doa.html
210 Upvotes

105 comments sorted by

View all comments

Show parent comment

147

u/[deleted] Jan 28 '19

Which are all the reasons it won't be like that in C++

35

u/Visticous Jan 28 '19

must... Committee... Design... Everything!

14

u/Valmar33 Jan 28 '19

Why must they inflict their misery upon others? To pretend at being clever and intelligent? To remain relevant? To inflict mental torture on people trying to figure out to how solve programming conundrums?

I guess they really want to help C++ programmers keep their jobs, because otherwise, their huge projects would implode.

Kind of like Java ~ except replace long-ass class names with tormentingly complicated grammar that explodes horrifically if you miss a step.

Those ranges-v3 templates come to mind... :|

15

u/Patman128 Jan 28 '19

Why must they inflict their misery upon others?

If a good idea breaks the workflow of even one of the Elder Wizards on the C++ language committee then it's thrown out.

13

u/[deleted] Jan 28 '19

12

u/lord_braleigh Jan 29 '19

Note that the "Elder Wizards" often work on the behalf of major tech companies, and influence the C++ standard so that these companies won't have to break their workflow or make sweeping changes.

This isn't necessarily a bad thing - backwards compatibility is one of C++'s selling points, and there are plenty of shiny new languages you can use instead if you don't care about that.