Skip to main content
10 events
when toggle format what by license comment
Mar 30, 2016 at 19:56 comment added DeadChex Let's forget the OP for a moment. Leaving a comment is still useful for other people just getting started who are making the same void main() mistake. Rather than just silently covering it up, they can see a comment to not do it. Remembering the OP, it adds more of a friendly way to combat the problem rather than a mystery edit with no rational obvious to them
Mar 30, 2016 at 19:53 comment added ForceBru @NathanOliver, sure, I do. No, I don't. If the OP still experiences problems, then he may roll back.
Mar 30, 2016 at 19:50 comment added ForceBru @Blorgbeard, if it is a problem, the compiler complains about it pretty loudly so it can be fixed easily.
Mar 30, 2016 at 19:50 comment added NathanOliver Okay so you edit it out. Do you inform the OP that void main() should not be used? If you do don't you think it looks silly when void main() doesn't show up in the code anymore?
Mar 30, 2016 at 19:46 comment added Blorgbeard If you think void main() is not the source of the problem, then you should post a comment.
Mar 30, 2016 at 19:46 comment added DJMcMayhem I disagree. I don't think code should ever be edited beyond simple formatting. Just because void main is not best practices, doesn't mean it should be edited out. Should we edit out sloppy code while we're at it? Bad code that is unrelated to the issue should be pointed out in comments.
Mar 30, 2016 at 19:43 comment added ForceBru @Blorgbeard, if void main() is the source of the problem, then you're right. But it never is.
Mar 30, 2016 at 19:41 history edited ForceBru CC BY-SA 3.0
added 54 characters in body
Mar 30, 2016 at 19:41 comment added Blorgbeard Editing the question is not how you should provide an answer.
Mar 30, 2016 at 19:40 history answered ForceBru CC BY-SA 3.0