Ask HN: What do you do while your code compiles?
1–10 of 28 posts
No post body was provided.
Re: Ask HN: What do you do while your code compiles?
#2Browse HN, d'uh!
Re: Ask HN: What do you do while your code compiles?
#3Any opportunity to post an XKCD comic...
Re: Ask HN: What do you do while your code compiles?
#4Figure out why it's taking so long to compile and what can be done to either shorten it or automate the build and testing process so I'm not waiting for it anymore.
Move things to unit tests with smaller compilation units (so I can compile foo.cpp and a handful of other dependencies, but not the full system) so, other than for deployment or integration testing, my feedback loop is much shorter.
Or if it can't be made shorter, work on another project or read something (presently non-practical/actionable, Weapons of Math Destruction, but typically more practically technically oriented).
Re: Ask HN: What do you do while your code compiles?
#5Minesweeper
Re: Ask HN: What do you do while your code compiles?
#6I read through my code to debug it.
Re: Ask HN: What do you do while your code compiles?
#7Carry on as usual.
My code gets offloaded to a build agent, so I don't have to worry about it.
Re: Ask HN: What do you do while your code compiles?
#8Android Studio users-----> Modify the HEAP_SIZE in the gradle file. It will shorten build times by a factor of 3-4.
Re: Ask HN: What do you do while your code compiles?
#9I guess that's one of the advantages of interpreted languages over compiled languages.
I spend no time waiting for compilation to happen (ruby). I used to spend a lot in my previous job (C#), where the time was utilised (wasted) in going through blogs/articles.
Re: Ask HN: What do you do while your code compiles?
#10Sword fight with my co-worker!