4 ms·
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
by cnocito 10y ago
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.
- IAskForAFriend 10y agoWould 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.