Y
Hacker News
new
|
ask
|
show
|
jobs
by
account42
607 days ago
Making programmers manually annoate every single function is infinitely more costly.
2 comments
dwattttt
607 days ago
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.
link
nickitolas
606 days ago
Are you also a proponent of nonlocal type inference? Do you think annotating types is too costly for programmers?
link
account42
604 days ago
I am a proponent of the auto return type for simple wrapper functions like this, yes.
link