Yeah, I think it's the only bad choice in the list, but you do see it fairly often.
-
-
Replying to @travisbrown
the first two depend on the case for me - I'd write stringCodec, but genString, for example. No idea why.
1 reply 0 retweets 1 like -
Replying to @NicolasRinaudo
Same here—in some cases one seems right and in some cases the other, and I'm not sure I can describe the difference clearly.
1 reply 0 retweets 1 like -
Replying to @travisbrown
verb vs noun? gen is generate, you generate a string. Codec is a thing - a string codec, or a codec of string.
1 reply 0 retweets 1 like -
Replying to @NicolasRinaudo @travisbrown
Generally undecided; I sometimes use `implicitFooTypeclass`. Long names encourage only *deliberate* shadowing.
1 reply 0 retweets 1 like -
Replying to @propensive @travisbrown
that seems like overkill though... `publicImplicitValFooTypeclass`? :)
2 replies 0 retweets 0 likes -
Replying to @NicolasRinaudo @travisbrown
It's a horrible way to work around accidental shadowing, but it's the best I've got.
2 replies 0 retweets 0 likes -
Replying to @propensive @travisbrown
but how do you shadow implicits though? I thought names were irrelevant, just precedence order?
2 replies 0 retweets 0 likes -
Replying to @NicolasRinaudo @travisbrown
You can shadow one implicit with another one which has the name name just by redefining the ident or importing!
1 reply 0 retweets 0 likes -
Replying to @propensive @travisbrown
may I ask for a gist of that? I feel dense, but I thought that was just precedence and nothing to do with names
2 replies 0 retweets 0 likes
Sure! Just a mo...
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.