News for hackers. Stuff that matters.
Re:Hell Is Other REPLs by peterkelly on Sunday August 29, 2021 @11:07AM (#28347300)
> "True interactive development is also about programming in such a way that your program never crashes. Instead, whenever an unhandled condition is raised, the program starts an interactive debugger."

That's great until someone else tries to use your program.

I'll take the compile-time safety checks, thanks.

Re:Hell Is Other REPLs by dunefox on Sunday August 29, 2021 @01:22PM (#28348600)
As we know no bugs are present in statically typed programs.
Re:Hell Is Other REPLs by IshKebab on Sunday August 29, 2021 @05:28PM (#28350624)
Nobody claimed that, but there definitely are fewer. 15% fewer according to the only study I've seen that objectively measured it.
Re:Hell Is Other REPLs by dunefox on Sunday August 29, 2021 @05:49PM (#28350781)
Link? I'm not certain that there's a way to objectively measure that on a scale that matters.
Re:Hell Is Other REPLs by IshKebab on Monday August 30, 2021 @07:21AM (#28354517)
https://ieeexplore.ieee.org/abstract/document/7985711

Basically they took random JavaScript bugs and annotated them with Flow and Typescript type hints and then checked whether the bug was detected.

Pretty clever methodology really.

Re:Hell Is Other REPLs by bitmapper on Sunday August 29, 2021 @10:06PM (#28352202)
And then when things like dependent types get involved, I'm betting that the amount of bugs greatly decreases, even more than that.