Better HN
topnewbestaskshowjobs
Log inSign up

thecpphorse

4 karma · joined Mar 18, 2017 (9y ago) · 8 submissions

Submissions

comment 9y ago · link · parent

It's unexpected. Nobody ever* wanted to assign an initializer list to a named variable.

[*] pretty much

comment 9y ago · link · parent

As you say, it is academic competition that leads to what American teens call the "free ride".

comment 9y ago · link · parent

I am from the US and the government also paid for my education entirely, no strings attached. I could have studied Byzantine erotica if I had wanted. This is not a US vs world issue.

comment 9y ago · link · parent

Why should lenders not be punished for financing the useless degree? After all the availability of easy financing drives up the price of the useless education.

Remember, the "moral hazard" spoken of in financial bailouts is that the lenders aren't being punished for taking bad risks.

comment 9y ago · link · parent

Ok.

  auto i{42}; // std::initializer_list<int>

comment 9y ago · link · parent

Yes, but never use {} initialization with auto.