+ 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.

1st Mar 2018, 7:13 PM
Karl T.
Karl T. - avatar
6 ответов
+ 20
Same case with me.
1st Mar 2018, 7:22 PM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 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 :)
1st Mar 2018, 7:58 PM
aklex
aklex - avatar
+ 5
Visual Studio compiles large projects (500k+ lines) pretty fast...with 8 GB of RAM or more anyway.
1st Mar 2018, 8:14 PM
Karl T.
Karl T. - avatar
+ 3
Really just whenever I feel it makes sense, not having any strict rules.
1st Mar 2018, 7:48 PM
Timon Paßlick
+ 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.
2nd Mar 2018, 8:02 AM
K Martin
K Martin - avatar
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
2nd Mar 2018, 7:35 AM
Varazak
Varazak - avatar