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
		
- 
				
				@Alice OMG I'd love to see a TÜV certification for programming languages. Germans, please make that happen!
- 
				
				@DirtEffect they do certify software tools like compilers, because of course they do. How else could they certify a system that is software controlled?
- 
				
				@retoor It is attempting to combine expressivity, performance, and downward compatibility. This is a worthy goal in principle, but since compatiblity is a must and performance its main selling point, the expressivity suffers and suffers greatly.
 
 Take the rvalue reference args for instance:
 
 void foo(A &&v); //Matches only rvalues
 
 template<typename T>
 
 void foo (A<T> &&v); // Matches only rvalues
 
 template<typename T>
 
 void foo (T &&v);
 
 // Matches fucking anything from values, through pointers to Bjarne Stroustrup's balls.
- 
				
				@retoor Or take polymorphism with strings:
 
 void foo(const std::string &name);
 
 void foo (int i);
 
 ...
 
 foo("Hello world!");
 
 Wanna guess which overload is called?
 
 Of course its the int, because it is easier to convert a const char * to int than to std::string
Related Rants
- 
						
							 xjose97x20Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop. xjose97x20Just 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 ... Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
- 
						
							 sam966911 sam966911 Hats off to this lady .... I would have just flipped the machine Hats off to this lady .... I would have just flipped the machine





Imagine you have a car and it runs faster than other cars and needs less gasoline, but due to historical reasons the steering wheel is made of barbed wire, there's 8 different accelerator pedals for different streets, pushing the wrong one may lead to a crash, and instead of a driver's seat there's a huge wooden dildo sticking out of the floor.
This is, in a nutshell, what using the C++ type system feels like.
rant
c++