News for hackers. Stuff that matters.
Re:Let’s stop copying C (2016) by mcguire on Wednesday January 23, 2019 @10:17AM (#18978801)
"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.)

Re:Let’s stop copying C (2016) by _blrj on Wednesday January 23, 2019 @10:53AM (#18979240)
How 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?