@StackedCrooked That would work too. I'd venture to guess this is shorter than most though -- at least in C or C++; I'd imagine you can get quite a bit shorter in something like Perl.
I find that, once you turn you hate into despise, it works a lot better on your happiness. And that the less you care, the happier you are (within certain limits).
The buttered cat paradox is a common joke based on the tongue-in-cheek combination of two adages:
* Cats always land on their feet.
* Buttered toast always lands buttered side down.
The paradox arises when one considers what would happen if one attached a piece of buttered toast (butter side up) to the back of a cat, then dropped the cat from a large height. The buttered cat paradox, submitted by artist John Frazee of Kingston, New York, won a 1993 OMNI magazine competition about paradoxes.
Thought experiments
Some people jokingly maintain that the experiment will produce an anti-gr...
"As someone who is relatively new to programming, I find D very appealing and I get the feeling a lot of other up and coming programmers who haven't already been writing C++ for years and years are also very interested in D."
I hope C++ doesn't die to those two, they're pretty meh.
I feel like I'm the only one on this sub that actually likes C++ for being C++; I love the way it's designed, the way it's been implemented recently by clang++, and the fact that is so immensely powerful. These comparisons between C++ and D are really getting circle jerky and annoying. Just let each language be.
@Rapptz I don't see how Go would be a real alternative. Too much of what C++ does well, Go either can't do at all, or would be almost insanely clumsy for (e.g., virtual machines, device drivers).
C++ has RAII at the class level. ("scope" must be used in D) Andralex: That's a design bug of C++, which fails to distinguish between polymorphic and value types. D has RAII for all structs.
It's getting better, why can't you just leave it at that?
So what, it has legacy (Oh wow, can you believe an old language actually has legacy code?) but it's improving in areas that it's bad at, even if slowly. Things can be deprecated and idiots will always exist, but the idioms for the language will change as time goes on just like it does right now.
Disregarding the grammar, because it's irrelevant to people who actually write code with the language, it's attempting to fix the compilation model at least a little.
@Rapptz Sure. Because you actively avoid it, then. Which means there's always the burden. The rest of C++ is the same, so I can see how you wouldn't notice
@CatPlusPlus you say that like it is a ludicrous idea. C++ is not bad due to lack of good features, it is bad to a flood of crap ones. I see no harm in just removing those and saying "hey, C++14, basically just C++11 but with crap removed".
also, people always say that you can't break 'features' in C++ because of old code bases, are these old code basis really getting compile with the most recent tools for C++?
@CatPlusPlus No, it isn't "criticising C++ is circlejerking regardless of arguments". It's when everyone is just in uniform agreement towards the topic at hand to the point where it's self-congratulatory.
I stopped discussing the topic when I realised that nothing I would say would ever convince someone who is stubborn of changing his outlook to a positive manner that a change in a language would be a good thing.
It makes no sense to keep going if you didn't think in the main point I was making, so why bother?
@StackedCrooked really? I think C# has overtaken the domains where Java, VisualBasic ... used to rule. It has popularized client-server architecture for smaller applications.
@Rapptz Didn't you - passionately - try to argue that MVP is not an issue? That and the many many other warts make C++ a minefield. Just see this for a taste: blog.regehr.org/archives/1054
If you don't pay attention at all times, you shouldn't be considering C++. That's my professional POV.
No, you have to experience MVP once a week for 2 months to get your Professional C++ Developer badge in the mail. (I'm not making fun of sehe, to make it clear)