+ 9
When do you hit "compile"?
What is your building frequency? How many lines of code do you usually write before hitting the compile button? Me, I tend to attempt a build after every function/method I add. I also compile after I need to test something new, be it just an algorithm or a new functionality.
6 Respuestas
+ 20
Same case with me.
+ 8
Not too often, only when it comes time to test what I added. Recompiling large projects can take awhile, even with just small changes. The good thing is visual studio catches most syntax before compiling :)
+ 5
Visual Studio compiles large projects (500k+ lines) pretty fast...with 8 GB of RAM or more anyway.
+ 3
Really just whenever I feel it makes sense, not having any strict rules.
+ 1
I would recommend that you first scribble your code down on a paper . that will give bones to what you will be doing then layer the flesh by putting it through and IDE then correct whatever syntax error you get . this might seem a bit stuck up but it saves time.
0
Generally after having written a function, in order to see not only if it compile well, but also if the code is doing what I intended