logoalt Hacker News

zabzonk • 12/08/2024 • 1 reply • view on HN

Doesn't the name of the function select for the types and use of the parameters? But I haven't written in C for a long time, and this I think could be done more clearly in C++.


Replies

Sesse__ • 12/09/2024

You're saying you would write the entire hash table four times, with everything duplicated and no reuse? Again: Why? What do you gain compared to one line to suppress a warning?

➕ show 1 reply