Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@yatanvesh certainly.
It's a joke aimed at rvalue references and move semantics, things that were added in modern C++. It's a fairly involved topic, but -basically- they allow you to set up situations in which you avoid copying data while passing arguments to functions (and in other similar situations).
Very useful, but it's fairly confusing at first. You end up writing tons of code that depends on move semantics and then you have to ensure that you're actually using it and not accidentally copying data, and you have to take care of a few corner cases, and then there are situations in which the compiler does it on its own or as part of some other optimization...so basically, it gets quite hairy. The joke is that they'll just keep adding more fucked up kinds of references and semantics and make it even harder to understand xD
Have a look at this: https://cprogramming.com/c++11/... -
@RememberMe
well it may not exactly be simple, but that is not what it is made for. it is supposed to make it as easy as possible to write the most efficient code possible. And I think the hate on C++ for being "bloated" can only come from people who simply stopped catching on and dont know all the rules anymore.
Bad luck, C++ is not a dead language. -
@simulate agreed.
You're preaching to the wrong man, lol. Half my time on devRant goes into spreading the gospel of Haskell and C++. -
@RememberMe
Haha, yeah alright, it wasnt specifically directed at you though... more at the general audience of this post -
@simulate ah, if only English was as unambiguous as programming languages!
That'd be pretty boring though 🤔 -
@RememberMe haha and would take a while to even say a word 😂😁 but smileys help tilting the meaning in a specific direction when chatting. or tone of voice and body language do that IRL
but dude, languages are such a facinating topic, I had also though someone should invent a new language somehow, like a designer speak. But actually language is probably so complicated and suttle, it actually requires thousands of organic computers aka brains to evolve into something usable. I dont think we are there yet...
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
sam966911Hats off to this lady .... I would have just flipped the machine
Yes yes pls c++ is the best we shud have everything written in c++
joke/meme
c++
programminghumor