Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
account42
· 2y ago · 0 comments
Making programmers manually annoate every single function is infinitely more costly.
Comments
[–]
dwattttt
2y 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.
[–]
nickitolas
2y ago
Are you also a proponent of nonlocal type inference? Do you think annotating types is too costly for programmers?
[–]
account42
OP
2y ago
I am a proponent of the auto return type for simple wrapper functions like this, yes.