Ushering out strlcpy()
Ushering out strlcpy()
Posted Aug 29, 2022 17:54 UTC (Mon) by mpr22 (subscriber, #60784)In reply to: Ushering out strlcpy() by wtarreau
Parent article: Ushering out strlcpy()
> And the day they write code like: if (a < b) do_something(); else if (a == b) do_domething() else if (a > b) do_something_else()
I firmly agree with the general thrust of your post, but I do feel the need to point out that even in Javascript, with its historical dedication to Doing Something That Isn't Showing An Error And Refusing To Run when presented with ill-formed code, that code gets an ingestion-time syntax error at the first 'else'.
