Re:It’s strange what people put up with in C#
by rco8786 on Saturday August 15, 2020 @07:20AM
(#24168059)
Same question. It’s two entirely different pieces of code, even returning different types. Is the author upset that C# allows side effect mutations?
[ Parent
| on HN ]
Re:It’s strange what people put up with in C#
by strogonoff on Saturday August 15, 2020 @07:28AM
(#24168097)
Compiler didn't balk at unused return value. (Also by the sound of Format() the function is typed as returning a string, but the author didn't raise that issue.)