News for hackers. Stuff that matters.
Re:Bastion of the Turbofish (2020) by kibwen on Friday February 05, 2021 @12:34AM (#26033450)
As in, if declaring generics looked like `fn foo::<T>()` rather than `fn foo<T>`? I dunno, at think at that point you just stop worrying about adhering to the principle of making declaration resemble use.
Re:Bastion of the Turbofish (2020) by tooltower on Friday February 05, 2021 @01:55AM (#26033826)
I guess I was only thinking of types, where turbofish comes up. E.g. for declaring generics, like `struct Point::<T>`.