Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Greg
@greg
Is it ok to ignore "This declaration shadows an existing declaration" warnings in Solidity, or is that strongly discouraged?
2 replies
0 recast
4 reactions
horsefacts 🚂
@horsefacts.eth
depends on the context but I would avoid it. I usually just prefix with an underscore or change the name.
1 reply
0 recast
8 reactions
Greg
@greg
public function arguments with a prefixed underscore feels ugly but i guess ill do that, thanks context is a contract that has a `name` for the sake of looking nice on block explorers but also has functions with a `name` argument referring to an ENS name
2 replies
0 recast
2 reactions
7858
@7858.eth
getENS? getEnsName? ensName?
1 reply
0 recast
1 reaction
Blinky Stitt
@flashprofits.eth
Yeah this is what I do. I don't like it either. And I can't decide if I like prefix or suffix better.
0 reply
0 recast
0 reaction