still cannot decide when I should use the type Self vs writing the type out explicitly it's a bit like using into() or parse(): probably use if the code is polymorphic but if you have a single specific type in mind, then say so
-
-
Replying to @mountain_ghosts
my personal style: never use Self
6 replies 0 retweets 11 likes -
Replying to @steveklabnik @mountain_ghosts
completely opposite, for me, but that's usually because my types are Annoying
2 replies 0 retweets 6 likes
Opposite for me as well. I like the ability to change details about a type without having to go find everywhere it appears in its impl block
7:31 AM - 11 May 2020
0 replies
0 retweets
4 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.