News for hackers. Stuff that matters.
Re:Strong typing, a hill I'm willing to die on by tipiirai on Thursday October 05, 2023 @05:35AM (#37776573)
The parent was looking for evidence for why someone could write tests easier with dynamic languages. A long waiting time for type checking to finish came to my mind first. I think hello world is a valid example when talking about unit tests.
Re:Strong typing, a hill I'm willing to die on by the_af on Thursday October 05, 2023 @09:59AM (#37778716)
I don't think Hello World is a good example for anything; all you can do with it is microbenchmark, which is not particularly interesting. There are also no meaningful unit tests to write with Hello World.

With tiny examples, compile/tooling times tend to dominate.

More interesting would be a larger, non-toy prototype, where the tests and prototyping effort are meaningful.