Timeline for What's the idiomatic name for a throwaway variable?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 2, 2011 at 17:24 | comment | added | Patrick McElhaney | And while searching for something else, found a mention of $dummy specifically in Velocity. | |
Dec 2, 2011 at 17:20 | vote | accept | Patrick McElhaney | ||
Dec 1, 2011 at 23:24 | comment | added | Patrick McElhaney | +1 because after much searching, I discovered that by default, pylint ignores an unused variable named either "_" or "dummy". logilab.org/card/pylintfeatures#id9 | |
Dec 1, 2011 at 18:04 | comment | added | PEdroArthur | Besides dummy, I also use _ (some languages accept it), dump, junk, bhole (from black hole), useless, and some others names I don't recall right now. | |
Dec 1, 2011 at 17:53 | comment | added | John Buchanan | I always use ignored. I would have added my own answer but I couldn't think of anything else to say about that. | |
Dec 1, 2011 at 15:16 | history | answered | Oded | CC BY-SA 3.0 |