Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Dynamic typing allows a name i.e. identifier to refer to objects of different types at different points at run time -- Re-using a variable in this way is a really bad idea. Just use a different variable with it's own (static or dynamic) type. Commented Sep 20, 2016 at 18:28
  • Dynamic scoping allows a name to refer to different objects at different points in run time -- This is a bad idea too. In general, let your variables mean what they mean when you first declare them. If you need to refer to something else, create a new variable specifically for that. Commented Sep 20, 2016 at 18:30