Re:Ask HN: Web dev's – how often do you run your code?
by danpalmer on Monday December 22, 2014 @07:07AM
(#8782804)
I'd definitely echo @nkantar's comment, I generally refresh every 2-10 lines, depending on what it is I'm writing. I'll very often just dump out raw results from whatever database querying and data mangling I'm doing until it looks right, then start tidying up the output.
A while ago though, I was working on a C# .NET MVC application, debugging in Visual Studio, and the round-trip time for making a change in code, reloading the development server (hot-code reloading was not working, spent ~3 months trying to fix it but never did) and then refreshing the page, ended up being around 1 minute rather than the < 3 seconds I was used to. It was amazing how much this affected my productivity, it was a severe hit.
A while ago though, I was working on a C# .NET MVC application, debugging in Visual Studio, and the round-trip time for making a change in code, reloading the development server (hot-code reloading was not working, spent ~3 months trying to fix it but never did) and then refreshing the page, ended up being around 1 minute rather than the < 3 seconds I was used to. It was amazing how much this affected my productivity, it was a severe hit.