I don't get this C/C++ Joke

后端 未结 6 1096
北海茫月
北海茫月 2021-01-31 15:57

After reading this article on thedailywtf.com, I\'m not sure that I really got the joke.

It says there that some guy changed the code from

int function()         


        
6条回答
  •  臣服心动
    2021-01-31 16:56

    2nd code is indeed "cleaner", but with a project of the size that the article is about, it is ridiculous to think refactoring like that is at best useless, at worst error prone.

    However this kind of refactoring doesn't inflate an .Exe size form 1 to 2 cds

提交回复
热议问题