Re:Metals with Scala 3
by AzzieElbab on Thursday February 04, 2021 @07:33PM
(#26031577)
To the best of knowledge only ocaml compiles as fast as go. Honestly I do not understand while compilation speed became such a hot topic in pl design. When you know the language, you can bake a lot logic in types alone, saves quite a bit of typing in tests
[ Parent
| on HN ]
Re:Metals with Scala 3
by reader_mode on Friday February 05, 2021 @02:36PM
(#26040296)
Let's say you're even with longer compile times vs time to cover it with tests - I'd still take writing the tests if they run fast enough and can be done asynchronously - long compile-run cycle breaks my flow and I end up getting distracted.
Re:Metals with Scala 3
by AzzieElbab on Friday February 05, 2021 @04:29PM
(#26041452)
oh I am a cigarette smoker. I have time. But seriously just take a look at how much testing can be avoided with things like refined types alone
Re:Metals with Scala 3
by reader_mode on Friday February 05, 2021 @07:22PM
(#26042914)
But even then you'd prefer to be able to choose when you break flow.
Also live reload doesn't work if your compiler isn't fast enough for the live part.
This all depends on the kind of work you do I guess- I've written plenty of C++ in the past where faster build wouldn't be as critical (but would be appreciated). I could never do frontend this way.
Re:Metals with Scala 3
by akhilcacharya on Thursday February 04, 2021 @08:16PM
(#26031910)
Pascals are still the winner in compile time benchmarks!