News for hackers. Stuff that matters.
Re:Ask HN: Confused by a friend in discussion of variables (... by cnocito on Thursday March 30, 2017 @07:08AM (#13994380)
The hash table is not a good example, because a hash is not a variable, it is a function.

F(x) = "doohickey" when x = "wotsit"

I think you guys are confusing variables and data types (or data structures) too, they are different things.

Re:Ask HN: Confused by a friend in discussion of variables (... by IAskForAFriend on Thursday March 30, 2017 @08:17AM (#13994704)
Would you not say that "next" is a variable, and the value, the thing, that "next" contains is a hash? "Next" is, of itself, not a function, surely.
Re:Ask HN: Confused by a friend in discussion of variables (... by cnocito on Friday April 07, 2017 @05:24PM (#14063616)
It it isn't "next", it's next{x}. It's a function, not a variable.