I 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.
Ask HN: What do you do while your code compiles?
21–28 of 28 posts
Re: Ask HN: What do you do while your code compiles?
#22Even better, just have a CI that will run it not on your environment.
Re: Ask HN: What do you do while your code compiles?
#23Even better, just have a CI that will run it not on your environment.
Re: Ask HN: What do you do while your code compiles?
#24I 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.
(NB: Not a criticism of interpreted languages, they add a lot of value) While long compilation times are incredibly annoying, compilation offers a first pass test on code: Is this code syntactically correct? Do (at least some of) the semantics make sense? With an interpreted language, you may be able to test for syntactic correctness with a simple scan over the language, but you're approaching compilation at that poi…
Re: Ask HN: What do you do while your code compiles?
#25Earlier quoted context omitted.
In general I find that C# builds are fairly quick. Nonetheless Ruby is a pleasure to work with. As for other interpreted languages, JavaScript is a mixed bag. The Webpack/Babel stack can be smooth if hot reloading and such are set up well and work correctly, but things can quickly turn sour when other backend languages are involved with server side rendering and such.
I see you've never worked with mister "creates a project for every class" or any of his friends. C# compiles quickly, but MS build is very slow and it's noticeable when there are a lot of projects. Just for fun, try compile with csc directly one day, it's an order of magnitude (at least) faster than with msbuild.
Re: Ask HN: What do you do while your code compiles?
#26So, i dunno. Stare at the screen?
Re: Ask HN: What do you do while your code compiles?
#27Earlier quoted context omitted.
I see you've never worked with mister "creates a project for every class" or any of his friends. C# compiles quickly, but MS build is very slow and it's noticeable when there are a lot of projects. Just for fun, try compile with csc directly one day, it's an order of magnitude (at least) faster than with msbuild.
Perhaps I'll try your suggestion and compare make against msbuild...