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.

Required fields*

1
  • 5
    Not a bad idea at all. But then '_ _ ' would declare a variable in the namespace. Whereas, ' _ ' does not declare unless specifically used on the left hand side of the assignment statement like above (eg: a, _, _ = 1,8,9). Until that point, it stores the result of the last statement executed which if you want to catch, you'd normally use a variable to store that value. And this is why, ' _ ' is the suggested variable name to catch junk values. ' _ ' values get overwritten soon after another statement is executed. In case of '_ _', value would remain there until GC cleans it off. Commented Feb 11, 2020 at 18:49