News for hackers. Stuff that matters.
Re:Why Safety Profiles Failed by account42 on Friday October 25, 2024 @05:37AM (#41943652)
Making programmers manually annoate every single function is infinitely more costly.
Re:Why Safety Profiles Failed by dwattttt on Friday October 25, 2024 @05:57AM (#41943755)
That rather depends. Compile time certainly wouldn't scale linearly with the size of a function, you could well reach a scenario where adding in a line to a function results in a year being added to the compile time.
Re:Why Safety Profiles Failed by nickitolas on Friday October 25, 2024 @10:05AM (#41945431)
Are you also a proponent of nonlocal type inference? Do you think annotating types is too costly for programmers?
Re:Why Safety Profiles Failed by account42 on Monday October 28, 2024 @04:31AM (#41968837)
I am a proponent of the auto return type for simple wrapper functions like this, yes.