Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    "you will have to solely rely on the comments on top of auto-generated source to prevent developers from doing so" Nope. You can also give the generated file a file name like "machine_generated_file_1.xxx". While not everyone reads comments, most will know the file name at least. Commented Jun 24, 2014 at 23:03
  • 1
    @Thomas: that doesn't work too well in Java, where the source file name has to match the class name and the entire class definition has to reside in that file. Commented Oct 20, 2014 at 6:39