Timeline for Should we change "void main()" to "int main()" in the OP's code?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 30, 2016 at 21:42 | comment | added | Peter Duniho | Oh, don't get me wrong. I disagree with the edit in question, just as you do. It's just not for the reason you put forth here. | |
Mar 30, 2016 at 21:40 | comment | added | user1531971 | I've made my case why I think you are wrong. After decades of experience I maintain that the compiler in our heads is what source code is for first. Even so, changing code in a question to satisfy standard pedantry isn't the sort of help helping is all about. | |
Mar 30, 2016 at 21:16 | comment | added | Peter Duniho | "Code in an Answer or Question is intended first for compilation by one very special compiler: the human brain" -- I disagree. Even ignoring that SO is used worldwide, by many people whose native language is not English, having valid code is critical for comprehension. That the human brain might be able to interpret invalid code is irrelevant; the point of providing real code (as opposed to pseudocode, which should be identified as such) is to provide something that will work when given to an actual compiler. Not the human brain. | |
Mar 30, 2016 at 21:10 | history | answered | user1531971 | CC BY-SA 3.0 |