poster 1: A lot of newer languages seem to prefer the return type coming after the function declaration. I suspect some people believe it's better for newer programmers.
poster 2: The reason basically every new language does this is to make parsing simpler
poster 3: Make the parsing harder, then. Code is for humans, and trading off programmer time for compilation complexity is not a smart trade.
poster 4: Making compilation faster saves programmer time.
me, joking: rust uses this modern syntax, I don't think it has "faster compilation"
you, whooshing: That has nothing to do with the syntax.
9
u/ioctl79 Sep 17 '22
Making compilation faster saves programmer time.