News for hackers. Stuff that matters.
Re:Popular Myths about C++, Part 1 by maratc on Wednesday December 10, 2014 @06:53AM (#8728723)
> return "mailto" + ":" + name+'@'+domain;

Apparently, the first `+` is a problem, so just take it away:

    return "mailto"  ":" + name+'@'+domain; // there, problem solved.
Re:Popular Myths about C++, Part 1 by mikeash on Wednesday December 10, 2014 @02:22PM (#8731098)
Of course. Now, do you want to sit down and explain why that's necessary to somebody who's still grappling with the concept of for loops?
Re:Popular Myths about C++, Part 1 by maratc on Thursday December 11, 2014 @12:02PM (#8735787)
That was supposed to be a sarcastic joke about yet another obscure C++ perk. I guess it wasn't very funny.