3 ms·
"In Lua, point would be the x value, and y would be silently discarded. I don’t tend to be a fan of silently throwing data away, but I have to admit that Lua ma
by mcguire 8y ago
"In Lua, point would be the x value, and y would be silently discarded. I don’t tend to be a fan of silently throwing data away, but I have to admit that Lua makes pretty good use of this in several places for “optional” return values that the caller can completely ignore if desired."
No. Just no.
This is several orders of magnitude worse than most of the rest of the list. (Which is mostly personal opinions.)
- _blrj 8y agoHow so? In Lua, pass-by-value is only done with numbers, and everything else, you're passing around a pointer under the hood. Is there a reason I'm not thinking of?