Timeline for Where did I go wrong with this question, or what is this question missing?
Current License: CC BY-SA 4.0
23 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 10, 2019 at 0:21 | comment | added | philipxy | "Please in code questions give a minimal reproducible example--cut & paste & runnable code; example input (as initialization code) with desired & actual output (including verbatim error messages); tags & versions; clear specification & explanation. That includes the least code you can give that is code that you show is OK extended by code that you show is not OK. (Debugging fundamental.) For SQL that includes DBMS/product & DDL, which includes constraints & indexes & tabular base table initialization." | |
Oct 10, 2019 at 0:17 | comment | added | philipxy | How is that code "minimal"? How can you not chop code down until it works to debug? See my next comment for my standard MRE comment. | |
Oct 8, 2019 at 20:05 | comment | added | Jean-François Fabre Mod | asking a question is like painting a big target on your back, unfortunately... Specially the ones where you ask for help to debug your code. I've seen worse questions, but some downvotes are probably related to your high reputation (which is the wrong reason to downvote) | |
Oct 8, 2019 at 19:17 | comment | added | Alexei Levenkov | … List of topics on docs.microsoft.com/en-us/dotnet/csharp/programming-guide/… page is a good starting point (don't even need to read articles themselves to save time :) | |
Oct 8, 2019 at 19:15 | comment | added | Alexei Levenkov | @Larnu for addition reading: I would recommend to find a good article that lists standard names for elements of language (I don't see it to be a problem in the linked question, but that's a very common problem with beginner's C# questions) - words like "attribute", "variable", "field", "parameter", "value" … frequently used interchangeably in questions while have very specific meaning in C# (the other set of "method", "function", "procedure", "action" is less confusing but sticking to names used in specification - "method" is generally better)…. | |
Oct 8, 2019 at 18:59 | history | edited | davidism | CC BY-SA 4.0 |
link to the question
|
Oct 8, 2019 at 18:47 | comment | added | Thom A | Thanks @HereticMonkey, I greatly appreciate that. I'll have a read this evening. :) | |
Oct 8, 2019 at 18:46 | comment | added | Heretic Monkey | @Larnu Here's a couple Q&As about is-a/has-a in OOP: Is-A vs Has-A relationship and What is the difference between IS -A relationship and HAS-A relationship in Java?. But even easier is this Medium post. Microsoft has some docs on OOP, but I'm honestly not big on them. | |
Oct 8, 2019 at 18:37 | comment | added | user1228 | Side note, whenever I find myself in your situation, I like to isolate the specific issue from everything else. Dealing with an odd compilation error in the middle of a huge application makes fixing it difficult. Prototype & isolate the code that's failing (the type and the call to Add). Clean things up so that they are concise. Call still failing? Try removing the call, debug, & examine the object at runtime. What properties and methods does it have? Use the quickwatch window to play w/them. Stuff like that helps keep me from asking q's about what essentially is a simple syntax error or bug. | |
Oct 8, 2019 at 18:34 | comment | added | TylerH | FWIW ""High rep, doesn't know how to ask"" isn't a bad thing -- I'd much prefer that situation over "High rep, but doesn't know how to ask and doesn't bother trying to learn" :-) | |
Oct 8, 2019 at 18:30 | history | edited | TylerH | CC BY-SA 4.0 |
spelling
|
Oct 8, 2019 at 17:51 | answer | added | Alexei Levenkov | timeline score: 9 | |
Oct 8, 2019 at 17:50 | comment | added | Thom A | Honestly, Documentation would be great still. :) | |
Oct 8, 2019 at 17:48 | comment | added | Heretic Monkey | Sure, I often link to the docs myself; not sure why people didn't in this case, or even if this was the reason for any of the downvotes. Just throwing out another possibility. | |
Oct 8, 2019 at 17:43 | comment | added | Thom A | Certainly I've seen downvotes for what can be seen as "obvious", @HereticMonkey , but generally you find those are followed up with close votes for other dups (due to being common misunderstandings) or comments with documentation links (I personally use the latter quite often to try to get the OP to learn themselves), | |
Oct 8, 2019 at 17:02 | comment | added | Heretic Monkey | There's also the fact that this was a rather elementary object oriented programming mistake. Your class had a member that was of a particular type, but your question asked why your class itself didn't act like it was of that particular type. To many who have come up in OOP, that's a standard "is a"/"has a" mix up that is table stakes for an OOP language. I am not saying that is a reasonable reason to downvote, but I've seen people downvote questions that are "obvious" in the eyes of practitioners. | |
Oct 8, 2019 at 16:57 | comment | added | Thom A | Honestly, @DavyM, I'd have been happy with a close with duplicate. Means my searchfu failed me. The lack of any votes for close made me think that some else was wrong. | |
Oct 8, 2019 at 16:30 | comment | added | honk | I would also make sure to have the same amount of opening and closing parentheses... | |
Oct 8, 2019 at 16:24 | comment | added | Davy M | I don't think your question is bad, but there are a couple phrases you use that tend to crop up in bad questions, and possibly someone over-zealously thought your question was like the numerous bad ones that say them: "I've honestly look at a lot of answers here, and every different attempt brings me to a different error" usually is a cop out by people who have only looked at a couple answers, but of course the lack of a duplicate indicates that you have researched well. "However, it simply doesn't" usually indicates a non-descriptive error, but you go on to describe it so it's not an issue. | |
Oct 8, 2019 at 16:20 | comment | added | Thom A | I did flag that first comment. | |
Oct 8, 2019 at 16:19 | comment | added | Zoe - Save the data dump Mod | Completely unrelated, that first comment is flaggable (and it's now gone too). The second one is NLN, same with the third one (yours) now that the first one is gone. | |
Oct 8, 2019 at 16:19 | comment | added | Kevin B | "I am shocked that with your such a high reputation you have not seen that your list is defined within the ScriptList class" is likely what's going on. That user has claimed to not have downvoted, but that doesn't mean others didn't feel the same way. | |
Oct 8, 2019 at 16:14 | history | asked | Thom A | CC BY-SA 4.0 |