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
		
- 
				
				So like Hintjens wrote?
 "Learning a large language like C++ is like memorizing the first thousand prime numbers. It is to fill your brain with junk without benefit."
 
 No smart pointers or valgrind to the rescue tho?
- 
				
				Then code in some higher level language so you dont deal with memory that much, I would never go back to C++.. Spent just too many days and nights like yours..
- 
				
				 OrestH7469y@phorkyas we (in university) are not allowed to use not basic structures, which we hadn't learned((( OrestH7469y@phorkyas we (in university) are not allowed to use not basic structures, which we hadn't learned(((
 The issue is with struct dynamic allocation
- 
				
				 OrestH7469y@TrueFurby oh, dude, I wish i could) OrestH7469y@TrueFurby oh, dude, I wish i could)
 I learn actually Java, Python and some DevOps stuff, but in university we have to learn C++...
 In 2 years we will even learn x86 Asm
 I joke that at the end we will code with 1s and 0s only)
- 
				
				@OrestH So no STL or the like? Well,.. sounds like stone age or plain C - just like in my first job. Had to debug some nasty memory corruption and segfaults... So I still know the pain and don't know if really teaches you anything except to hate programming.
- 
				
				 OrestH7469y@phorkyas no STL or Boost, bare C/C++, all algo and structures have to be coded by ourselves) I'd rather learn Python)) OrestH7469y@phorkyas no STL or Boost, bare C/C++, all algo and structures have to be coded by ourselves) I'd rather learn Python))
- 
				
				C++ requires a working brain.
 If brain runs below 50% use Java/.NET whatever.
 Using newer version of c++ (11,14,17) you have to put some efforts in to fuck upp.
- 
				
				 firusvg13739y@OrestH One word - Valgrind! http://valgrind.org/ firusvg13739y@OrestH One word - Valgrind! http://valgrind.org/
 
 P.S. I suppose there are Windows/OSX (rough) equivalents.
- 
				
				 OrestH7469y@krister-alm it needs 150% of your brain to find a bug which throws exceptions in random moment and variable, but with the same struct OrestH7469y@krister-alm it needs 150% of your brain to find a bug which throws exceptions in random moment and variable, but with the same struct
- 
				
				 johnDoe32019yI didnt find C++ and Data structures all to difficult honestly, its dealing with Processes/threads going out of sync that I hate with C language, and deadlocks of course johnDoe32019yI didnt find C++ and Data structures all to difficult honestly, its dealing with Processes/threads going out of sync that I hate with C language, and deadlocks of course
- 
				
				@OrestH strange, never hade that problem with c++ (benen using it for almost 35 happt ears now).
 However, trying outfit c# and Java always gives me strange errors that I feeling, for a newer language should never be.
 Arter a day of c#/Java I always dom some c++/assembler just to clear my mind.
- 
				
				 OrestH7469y@krister-alm I used inheritance in a wrong way, have to practice more in C++)) learning ++ after Java and Python is bad idea OrestH7469y@krister-alm I used inheritance in a wrong way, have to practice more in C++)) learning ++ after Java and Python is bad idea
- 
				
				 f03n1x64619yCould be worse, it could be objective-c, c++ crazy nephew that lights things on fire and has three types of booleans! Including one that uses YES and NO lol f03n1x64619yCould be worse, it could be objective-c, c++ crazy nephew that lights things on fire and has three types of booleans! Including one that uses YES and NO lol
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








I have waitsted whole my day searching a bug with memory allocation in C++, and still don't know how to fix it! That moment, when coding took me far less time than searching that fucking bug... I feel that i missed anything, but all looks ok
I HATE C++ WITH IT'S FUCKING POINTERS!!!!!
undefined
hate it
c++
memory