← Back to context Comment by account42 1 year ago Making programmers manually annoate every single function is infinitely more costly. 3 comments account42 Reply dwattttt 1 year 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 1 year ago Are you also a proponent of nonlocal type inference? Do you think annotating types is too costly for programmers? account42 1 year ago I am a proponent of the auto return type for simple wrapper functions like this, yes.
dwattttt 1 year 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 1 year ago Are you also a proponent of nonlocal type inference? Do you think annotating types is too costly for programmers? account42 1 year ago I am a proponent of the auto return type for simple wrapper functions like this, yes.
account42 1 year ago I am a proponent of the auto return type for simple wrapper functions like this, yes.
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.
Are you also a proponent of nonlocal type inference? Do you think annotating types is too costly for programmers?
I am a proponent of the auto return type for simple wrapper functions like this, yes.