Re: Strangest language feature
by zxcdw on Sunday March 24, 2013 @11:41AM
(#5432343)
Weirdly many people loathe C++ for it's weird parts and complexity and all, but there's very little of C++ in that thread. I honestly expected people to run circles around templates and operator overloading.
[ Parent
| on HN ]
Re: Strangest language feature
by georgemcbay on Sunday March 24, 2013 @04:00PM
(#5433332)
I almost feel like C++ gets a pass because people just expect it to have weird fucked up stuff. People expect weirdness out of it thus wouldn't be surprised by examples.
OTOH, by that same logic there should have been less JavaScript representation, because JavaScript is downright goofy.
Sort of like how if you asked about weird stuff in biology, you won't get a lot of Platypus answers, even though the Platypus is really weird.
I don't really feel either of those features are that 'strange'. Most of C++'s features are not bizarre considered in isolation. Their ugliness comes from the fact that they have surprising limitations, unpleasant syntax, and don't compose well.