News for hackers. Stuff that matters.
Re:Help me sort out the meaning of “{}” as a constructor arg... by bnastic on Tuesday November 22, 2016 @12:10PM (#13015531)
"C with classes". (I'm not joking)
Re:Help me sort out the meaning of “{}” as a constructor arg... by isaacremuant on Tuesday November 22, 2016 @10:21PM (#13019702)
Using a subset of c++ in a c fashion seems much saner than raw c without objects and having to use macros so much.
Re:Help me sort out the meaning of “{}” as a constructor arg... by Roboprog on Tuesday November 22, 2016 @12:17PM (#13015586)
And yet, I'm laughing. As you know, that was what we called the C preprocessor thing back in the mid 80s (as discussed in Uni - I never used it until about 1990)
Re:Help me sort out the meaning of “{}” as a constructor arg... by bitL on Tuesday November 22, 2016 @01:09PM (#13016045)
The most reasonable choice, restricting yourself to a subset. I knew C++ lost it when people started writing library code resembling monads.
Re:Help me sort out the meaning of “{}” as a constructor arg... by johan_larson on Tuesday November 22, 2016 @03:02PM (#13017134)
"When your template system turns out to be Turing-complete, you may have gone too far."