r/stackoverflow • • Jan 22 '25

Question Average stackoverflow experience

I haven't used my SO account since mid may '24 (more than half a year).
I recently posted a mediocre question titled "Method calls in class definition". The question got some downvotes.

Well, ok, I get it: it wasn't a great question, but this is the outcome...

Is this the correct reaction to mediocre questions?

EDIT: after posting this I checked my account and got the reputation back. Can't tell the exact timings. I tbh don't care about the reputation on that site, but the point is the experience I've got.

EDIT (the day after): I've discovered I'm now also "shadow banned" from OS and I no longer can post new questions.

7 Upvotes

25 comments sorted by

View all comments

Show parent comment

1

u/Cheap_Arugula_9946 Jan 24 '25

You asked for a “more pythonic” way to do what you’re doing, and the suggested duplicate pretty much does exactly that. Why doesn’t adding an initializer and then instantiating your class solve your problem? I’m far from expert in Python, but as an experienced programmer I’d rather see code in an init method than floating around on its own inside a class.

I'm sorry but I spent almost a day explaining why the question was not a duplicate. It was acknowledge it's not a duplicate and it's state changed from duplicate to closed. So it's not a duplicate.

Providing actual code in your question rather than some toy example or pseudo code always improves a question. In your case, it helps to show why you might want to do what you’re asking about. You probably don’t really need all 20 paths, though — you could edit that down to three or four and still get the point across.

I provided BOTH a psuedo code and a full example (because they asked, btw). I wrote "here the full example" and the reader can skip it.

Did you try the code that you posted? Does it work? (Answer: it works fine.) Don’t you think that info would improve your question?

Ofc it worked, If you read the question you can easily discover that it was never about "this thing does not work"

"A clear phrasing of what I think you’re trying to ask might be: It appears that any code that I put in the body of a class but outside any method executes immediately when my program runs (example below). Is it okay to take advantage of that, or is relying on that behavior a bad practice? For example, I’d like to use it to ensure that certain directories that my code depends on exist. Is there a better way to do that?

I think that was actually usefull. I've edited my question a last more time to implement your adivice. I agree that's probably even more clear.

There are a lot of helpful comments, mostly from moderator deceze, trying to help you clarify your question and your intentions. Maybe part of the problem is a bit of a language barrier (but honestly your English seems entirely fine), but in general I’d say that when you get that many questions from an experienced user (the diamond means deceze is a moderator and so probably very knowledgeable) just trying to understand what you’re asking, you probably haven’t explained your question very well.

Diamond meas nothing. Diamond people are people no different from other non diamond people. I know this is controversial, but this is why I think your comment here is heavvily biased. I EXTENSEVELY followed "suggestion" I've got in comments. It took me alsmost an entire morning (a wasted, one, to be precise). I'got nothing from that effort. Only AFTER complaining HERE the question was finally no longer marked as duplicate. I've reached that improvement not from comments on OS, not from EDITING the question, but from complaining here.

3

u/iOSCaleb Jan 24 '25

I'm sorry but I spent almost a day explaining why the question was not a duplicate. It was acknowledge it's not a duplicate and it's state changed from duplicate to closed. So it's not a duplicate.

Suggested duplicate is a common phrase on SO that refers to the question that someone suggests as being substantially similar to your question. Often, the question itself may be somewhat different, but the underlying issue is the same and the answers to the suggested dupe are relevant to the question at hand (yours). And indeed, even though the question that you asked, about code in a class, isn't the same as the suggested dupe, the answers there seem relevant to what you say you're trying to do.

Diamond meas nothing. Diamond people are people no different from other non diamond people.

It actually means at least two things:

  1. A diamond moderator has privileges that most other users do not. For example, they can singlehandedly close or reopen a question, deal with problem users, talk privately with other diamond moderators, and so on.
  2. They were chosen by the community to be moderators, usually because they have a long track record of contributing to the community and responding to others in a fair, even-tempered way. They generally have earned high reputation (at least 3K, but typically far more) because they're genuinely helpful and often extremely knowledgeable in some area.

Frankly, from the comments on your question, I think you've been treated more than fairly. You acknowledge that your question wasn't great, and yet u/deceze still took a lot of time trying to help you improve it and get to an answer. That's a lot of kindness from someone that's a complete stranger and who could've just closed the question and moved on without comment.

Nobody owes you an answer to whatever crappy question you decide to post; getting answers that help you depends in large part on you asking a clear question in the first place. When someone goes out of their way to help even though you've failed to do that, you ought to show them a bit of appreciation.

1

u/Cheap_Arugula_9946 Jan 24 '25

Link to question is here: https://stackoverflow.com/questions/79374913/method-calls-in-class-definition

Since it seems to me (in generale, not true in every case) there's a lot of focus on reputation, I would like to state (again) that my point is NOT "I got downvoted, I've lost reputation". I don't care about reputation on SO. My point is:

mediocre question should (also based on OS rules and documentation):

- be downvoted and commented to ask for improvment

not:

- closed as (falsely) duplicate

- get downvotes on almsost every other questions [this is the only thing the site reverted, but still I've got this treatment]

- changed to closed based on the opinion of a single user

- never get reviewed after EXTENSIVE edits (based on comments, including yours, not random edits)

- banned from posting new question

 

3

u/deceze Jan 24 '25
  • closed as (falsely) duplicate

Three users thought that said duplicate may answer your question (three users voted to close as dupe). It didn't, okay. That's the point where you needed to clarify your actual question (which you did, or tried to…).

  • get downvotes on almsost every other questions [this is the only thing the site reverted, but still I've got this treatment]

Yeah, agreed, that's not how it's supposed to go, and it got corrected automatically by the system even.

  • changed to closed based on the opinion of a single user

Three users.

  • never get reviewed after EXTENSIVE edits (based on comments, including yours, not random edits)

How do you know it didn't get "reviewed"? Every time you edit it, it gets bumped to the top page. Surely more people saw it that way. One guy kept going back and forth with you in the comments (Hi! 👋). It's simply that nobody voted to reopen it, probably because still nobody really understands it.

  • banned from posting new question

Well, it wasn't your first badly received post, so you're severely throttled now. See https://meta.stackoverflow.com/q/255583.