1

I posted a question after having thought about the concept for a week or so. I posted the relevant research I had done and the sample code I used for trying out the concept. The question was long and I still feel this is a site for long questions and proper analysis of concepts. Your site tour explains:

about what you have tried and exactly what you are trying to do.

I said I found a lot about this concept during a bug fix. I explained that I had written an article about this stuff on Codeproject. I also mentioned that I have no experience with other languages. All this was done within the rules defined by you. When you say include details, it means details - code, links etc., right? Is there a thing called brief details or concise details or short details?

Your site tour further explains:

Not all questions work well in our format. Avoid questions that are primarily opinion-based, or that are likely to generate discussion rather than answers

I asked two to-the-point questions:

  1. Is there another name for the concept I have just described in common language?
  2. Why compiler does not optimize obvious semantic inconsistencies?

I deleted my question, but the moderators can grab it back I know. These two questions are not STUPID. I was told by guys that they do not want to hear anything about what I did or where I posted my research etc. They do not want the gory details. What? The site asks me to post details. Who are these people who want short, concise details? Do they even understand what detail means?

Someone said that what i had for breakfast was irrelevant to them. Another guy mentioned that my code sample was ridiculous. All this within seconds of me posting my 1000 words question (including code). This surely means that they have not read the question.

I pointed them to the following link: https://meta.stackoverflow.com/questions/254570/choosing-between-stack-overflow-and-programmers-stack-exchange

Who are these guys? What experience have they got? I can tell clearly that these guys have no experience of working in a team or mentoring. It will be really sad if they ever get employed because they surely will destroy the team they work with.

The only answer I received was not poisonous. It just said that the compiler writers have better things to do than to catch what would eventually be a runtime error. What? Really. What better things do you mean. Can you not give me examples where such runtime errors would be a disaster and compilers and tools employed for such an environment do such checking? What are the benefits of not doing such a checking etc. in normal environment?

What do you expect me to do? Post one line questions here? I could do that on StackOverflow. Had I posted something like:

How to use interfaces in C# to delegate a functionality?

I am sure I would have been voted up to seventh heaven. These answers are so readily available that the guy answering receives a lot of points with minimal effort. If they have to dig to get an answer, they go berserk.

One guy also said that you are getting a free code review done here, so better get aligned to the rules laid down by the members. NO. I was not getting my code reviewed. I was trying to discuss something that troubles all beginners. Even if I was, I need not stoop and beg.

This attitude is poisonous and needs to be corrected. These guys need serious enlightenment. Real world is different from classrooms. Learn how to behave.

I do not intend to be a part of this community. Please delete my account.

6
  • 1
    For reference, the (deleted) question this is about is programmers.stackexchange.com/questions/253040/… Aug 13, 2014 at 10:04
  • If you get answers that aren't detailed enough in some aspect, you can alsways post a comment asking for clarification. Aug 13, 2014 at 10:08
  • @Bart, you answered properly. But when you say "compiler writers have better things to do", it kind of kills discussion. But we surely discussed on Design patterns. I sincerely feel that the questions were not bad. May not be a world class problem but nothing silly about it. These are issues I have seen all beginners deal with. i hoped a discussion would help others to learn.
    – msiyer
    Aug 13, 2014 at 10:23
  • Part asking to review working code could probably go to CR.SE, if tuned to fit all of their "6-yes" requirements. Part about Delegate vs Adapter only lacks an explanation on why you think it's Delegate and why you think it's not Adapter, otherwise it could make Programmers question. Part about semantic inconsistencies looks rather unclear as is but seems like having a chance to be reworked into a Programmers question. Mixed together, these 3 parts don't read well; I didn't downvote but was rather strongly tempted to
    – gnat
    Aug 13, 2014 at 13:03
  • If this were the comment I had received before or after the downvote, I would have gone and modified the question. This is what any sane man would do. Saying a question is "ridiculous" is unacceptable. Whether you feel like downvoting or not is your personal issue. What I care about is proper feedback if I am a part of any community.
    – msiyer
    Aug 13, 2014 at 13:42
  • 1
    per my reading comment was not about the question, but about code snippet: "The use of TheDelegate and ITheDelegate is unnecessary and the amount of boilerplate involved here is ridiculous"
    – gnat
    Aug 13, 2014 at 15:17

2 Answers 2

6

I haven't interacted at all with that question (down votes or the too broad close vote).

My impressions of it are:

  1. Some meta stuff at the top. This normally sets off a warning flag for me. Things like "I know this isn't the right place" and the like tend to be questions that are otherwise problematic on the site. Your particular meta comment was:

    Folks, there is no TL;DR version of my question. Please be patient.

    Even if this isn't a post that is problematic, it sets one's mind to expect that.

  2. A quick scroll down and I hit four code blocks, two of which have scroll bars on them. This is something that then starts to look like one that is going to delve too far into code or fix my code/design type questions.

    Many of the questions that tend to be "here is a lot of code" tend to get answers that are "here is a lot of code too." Those answers aren't ideal for P.SE, and so questions that ask them may get down voted.

  3. Where is the question? After digging down a bit, they are between two code blocks. The questions appear to be:

    1. Is there another name for this pattern?
    2. Is this really an Adapter?
    3. So, does the compiler have no mechanism to check such semantic inconsistencies?
    4. Something that looks like a design review.

    Asking multiple questions in a single post is problematic. Someone could answer the "another name" question, and another answer the adapter one, and a third about the compiler. None (or all) of them are 'right' for the question.

    While I may just be missing it... but I seem to have some difficulty matching the "abstract stuff in C#" in the question title to the questions being asked.

  4. There's a naming question there. Naming questions have a problematic history on P.SE - a bit more about that at On the troubles of naming and terminology

There is a lot there. But I also have to read quite a bit to even find the question being asked and then go back and reread it. And after that, I'm still confused about what question you are asking and what type of answer you are looking for.

The mouseover for the the down vote reads "this question does not show any research effort; it is unclear or not useful" and that 'it is unclear' part may be something that people are voting on when reading the question.


Some other bits that are in there from comments here and there...

@Doval, the site asks me to provide details and share my research. I did that. It is ridiculous that you guys vote down questions if they do not fit your mental models. Your lack of experience in working in teams and mentoring clearly shines through your comments. Gaining points on a forum is a completely different matter. Having the maturity to answer properly and with humility is a different matter altogether. – msiyer yesterday

@ Alex, I never mentioned anything about my breakfast. Oh! you were being sarcastic? Reserve your sarcasm for some other day. I would have asked small questions on StackOverflow. This is a site for detailed analysis. What does detailed mean? Please go and read the link I posted in my last comment. Guys, learn to respect others. The internet does not give you license to be rude. Just because you do not understand something does not mean there are not others who can provide some answers. This site provides me the license to showcase my research. Does that make any sense to you? – msiyer yesterday

This is a bit rude in its wording. Not enough that I'd go about flagging it... but it sets a negative tone and some people may vote accordingly. If you are to point out that other people are being rude too (again, judgement call there) this is a question that you asked and people are voting on that (they may also be flagging comments, but that's not as obvious).

@Graham, Your comment is a good one and gentle too. I am not looking for a free code review. I just want to discuss if what i understood is proper. The attention span of these guys is just pathetic. They need questions that are couple of lines long so that they can answer fast and get points. This site is for detailed analysis as per FAQ. It also asks me to show my research. If I have to be concise I will post on StackOverflow. Why is this so difficult to comprehend? – msiyer yesterday

Setting aside the tone in this comment: "I just want to discuss if what i understood is proper" - discussions don't work well on Stack Exchange.

I will point out that you brought this up again in the meta question here:

One guy also said that you are getting a free code review done here, so better get aligned to the rules laid down by the members. NO. I was not getting my code reviewed. I was trying to discuss something that troubles all beginners. Even if I was, I need not stoop and beg.

and

@Bart, you answered properly. But when you say "compiler writers have better things to do", it kind of kills discussion. But we surely discussed on Design patterns. I sincerely feel that the questions were not bad. May not be a world class problem but nothing silly about it. These are issues I have seen all beginners deal with. i hoped a discussion would help others to learn. – msiyer 6 hours ago

Again, Stack Exchange is not a site for discussions. There are other avenues and sites to look at if you are interested in a discussion. Stack Exchange is designed to handle Q&A - not discussions. It does the former very well and the latter very poorly.

2
  • My comments were in response to what those guys said. If you did not find their comments rude, there is no way you would find mine as rude. I understand that discussions are forbidden on the site, but when people respond with answers and others comment on the answers and a chain is formed, I feel that is discussion in some sense. Well, let us just agree to disagree and leave this matter to rest in peace. There is absolutely no solution.
    – msiyer
    Aug 14, 2014 at 22:20
  • 2
    The two options for comments are up voting them or flagging them. The threshold for a rude comment flag (for me) is higher than the comments made. However, when reading the question and seeing the person being sarcastic, insulting ("Your lack of experience in working in teams and mentoring clearly shines through your comments") then colors one's opinion of the post as a whole and is more likely to get down voted. Its not that discussions are forbidden its that questions that seek to have discussions don't work well and tend not to be good questions int eh Q&A format the site encourages.
    – user40980
    Aug 14, 2014 at 22:25
2

Just looking at the code you didn't need to put in the implementation of the Logger class (you did it twice), just a call to Logger.log(stuffToLog) would have been clear enough.

Asking for the name of things is an edge case on P.SE but in general disallowed.

Also the answerer was correct; you can catch the run-time error simply by a null check when calling TheDelegate.Inst.TheHook then it doesn't matter that TheDelegate is never implemented because all references to a TheDelegate instance will be null.

Also your pattern prefers a global over a field to hold variable state, this gives way to a whole host of problems starting from thread safety, to unexpected influence from another library that installs its own TheDelegate.

3
  • I had no intention of making the code production-ready. The code is just a proof-of-concept kind of thing where I just try to establish that delegation is possible without using C# Delegate construct. I did not say the answer was wrong. I know I can test for null, I can have n number of checks. I was just asking if there is a way to catch these issues compile time. Is there a benefit etc.?
    – msiyer
    Aug 13, 2014 at 13:50
  • 2
    asking if the checking of unimplemented abstract classes is possible is a separate question than what design pattern you thought up, (probably not because dlls can be linked in that may implement them and use the library) Aug 13, 2014 at 13:59
  • There are tools that can catch such issues. These are the code analysis tools. Now, I also see that as code analysis becomes better, compilers also get better. So, I do not think one liners would suffice.
    – msiyer
    Aug 13, 2014 at 14:00

You must log in to answer this question.

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