5

The edit (#4) to my question deletes all of the namespaces and adds 2 tags.

My question is two-fold:

Should the namespaces not be kept to keep the code SSCCE? At minimum I think the ObjectModel namespace should be kept, but I don't like letting people make assumptions about what needs to be included (though a good IDE would tell you a namespace is missing, I'd rather it just be ready to fly).

What is the purpose of the tag? It seems...pointless. I've only found Burninate code-example and code-examples tag? when doing a search for this on meta, so not sure if is evil or not.

Only the tag seems to be important. Would I be correct in undoing most of the edit except for that tag, or has the post been improved (and I should leave it alone)?

  • I agree. Rollbacked. – Doorknob Apr 21 '13 at 22:25
  • Is the data-binding tag worth having, @Doorknob? – Hydronium Apr 21 '13 at 22:27
  • If you think so, then edit it in. It really isn't too major to worry about though. – Doorknob Apr 21 '13 at 22:29
5

The editors's intent was good. It's a long question (might even have attracted attention by being tagged with the automatic "excessively long" flag). Much of the edit was ok:

  • Most of the auto-generated usings are unnecessary.
  • The auto-generated class comment is just noise.
  • The data-binding tag is useful.

As you note, though, it's not a SSCCE any more, without any usings.

If it were me, I'd leave the edit alone, but add back in the required usings:

using System;
using System.Collections.ObjectModel; //For ObservableCollection<T>
using System.Windows;

And remove the silly [example] tag.

No hue and cry if you just rollback the whole thing, though.

  • Yea, I shed no tear for the auto-comment. This seems to be the correct approach and in line with what I thought. Thanks. – Hydronium Apr 21 '13 at 22:32
  • What's the "excessively long" flag? I've had much longer questions... – Hydronium Apr 21 '13 at 22:34
  • 2
    @Hydronium: In addition to flags that users can raise, Stack Exchange sites generate rule-based flags based on various criteria. Too long (more than a page or so of text?), duplicate answer (among the user's own answers - catches spam), too many comments (is there a flame war going on?), rollback war, etc. They're only visible to 10k+ users, and I'll bet there are others visible only to moderators. They're only intermittently useful (too many comments rarely so, rollback war very often). – Michael Petrotta Apr 21 '13 at 22:37
  • Interesting. Thanks for the info. – Hydronium Apr 21 '13 at 22:39
  • @Hydronium: oh, and in case I gave the impression, I don't know if your post was so flagged, and even if it was, don't worry about it. The flag is meant, I think, for questions starting with My code is broken!, followed by 5K lines of code. – Michael Petrotta Apr 21 '13 at 22:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .