for the most part

1 view
Skip to first unread message

Raoul Duke

unread,
Jun 21, 2022, 3:59:32 PM6/21/22
to pi...@googlegroups.com
name shadowing is an opportunity for evil to prevail. even lexically scoped. 

David Barbour

unread,
Jun 21, 2022, 5:12:35 PM6/21/22
to pi...@googlegroups.com
Name shadowing bites me all the time. Especially for words with multiple meanings such as 'map' and 'log'. I enable warnings or errors to prohibit shadowing in my own code, where possible.

Namespaces can help.

On Tue, Jun 21, 2022 at 2:59 PM Raoul Duke <rao...@gmail.com> wrote:
name shadowing is an opportunity for evil to prevail. even lexically scoped. 

--
You received this message because you are subscribed to the Google Groups "PiLuD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pilud+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pilud/CAJ7XQb4ywoHUhdENv6%3DHkO6F%3DOk9LTd2Tu%2Bf%2Bvvb12QkvCVK%3Dg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages