Why c++? Where to start?
I consider myself a java and python coder.
For python (usually not so big project but more scripting and fast stuff) I use vim, for java I use eclipse. I think that eclipse is a really gold toy for java programmers. It permits to do refactor and writing code in really easy and funny way. I began to appreciate design pattern and refactor with eclipse features.
Now I'm approaching to a simple c++ project (till now are 10 classes and some more .h with static helper) and I am at half of the project (half of features implemented). It is a project on machine learning stuff in where I'm not a guru and this is my first serious attempt to write c++.
For some refactor (some changes in data structure, like map and set instead of plain vectors, some subclasses and method moving from a class to another, a decorator and a strategy-like pattern, changing in a lot of variable and method names and some types in input method) I've been troubling for more then 2 hours. In java a work like that should be half-hour, 40 minutes maximum. I am exhausted. I am near desperate.
I spend 2 hours in change cpp, compile, switch back in header, change in cpp, waiting for compilation, waiting for eclipse cdt to refactor (eclipse cdt is not ready for c++ refactor at all), compile, remember that I have to change also the .h, switch back, etc...
My methodology is really bad: compiler-driven. I write code, I compile, I check error in compiler output.
Here in cpp time laps are bigger because of much time of compilation and my poor knowledge of language (I had to check on StackOverflow what was the better way to create a vector from map values) is getting thing also worse.
I need advice to improve my methodology, my approach to IDE and my skill in c++.