News for hackers. Stuff that matters.
Re:C++23: The Next C++ Standard by Dylan16807 on Monday July 17, 2023 @03:49PM (#36763118)
It's also one of the biggest sources of bugs when dealing with loose types around strings and numbers.

When it comes to languages that let you mix strings and numbers, Lua has it right. + always adds, and accepts numbers and strings that can cleanly convert to numbers. .. always concatenates, and accepts numbers and strings.

There are no comments on this comment yet.