Hacker News new | ask | show | jobs
by lioeters 79 days ago
That makes sense, with that "guard" at the top, the rest of the function can return the pointer anywhere. And I imagine the compiler will ensure the empty string literal is created only once. Good to know!