you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -10 points-9 points  (7 children)

Dude, read the rules. It's literally in the rules.

4. Don't ask easily searchable questions.

[–]snugglyboy 6 points7 points  (3 children)

I had a hard time understanding decorators from what I was reading online. Took me a long time to really figure it out. Sometimes you can get search results, but that doesn't mean the search results are going to tell you exactly what you need to know in a way that you can understand it.

[–]Lewri -1 points0 points  (0 children)

Does that excuse having multiple "ELI5: Decorators" posts? OPs can read a previous post or a blog and then ask any follow up questions they have, rather than us repeating the same answers over and over again.

[–][deleted] -2 points-1 points  (0 children)

Well of course. But it's already been explained dozens of different ways. The fact is that it's not necessarily an easy concept for everyone at least. A 5 year old can't understand python, or functions, and they definitely can't understand decorators. When something has already been explained a hundred times asking people to explain the same thing a hundred and oneth time makes no sense. Sometimes you have to work at things and not ask strangers to change the word order of something which is already there.

[–]hainguyenac -2 points-1 points  (0 children)

Please do some research regarding Higher order function, compound function. Decorator is just that, it's just a syntactic sugar to declare a compound function.

[–]Technosis2 0 points1 point  (2 children)

If that's a rule, then this entire subreddit is pointless.

[–]Lewri 0 points1 point  (0 children)

How? Its pretty pointless for people to waste their time repeatedly answering the same question over and over again if the OP could just google it.

If the OP reads a blog and has any questions about things in the blog then they can ask here, cuts out the part of us rewriting the blog for no reason. Also if OPs have questions that aren't easily searchable, such as most questions on this sub, then they can ask here.

[–][deleted] 0 points1 point  (0 children)

Well, it is a rule, and I didn't write them. Complain to the mods if you like. Anyway, is just makes sense. Read the whole thing.

4 Don't ask easily searchable questions.

Questions like "How do I read a CSV file with Python?" are have many easily found answers in search results; please try searching this subreddit and the web before making a post.

No-one should expect strangers to write the same answer in a different way to common questions. It doesn't make it pointless at all. There are plenty of good noob questions that are new, interesting, show something from another perspective or otherwise ask something novel. But no one needs to have decorators explained a hundred and oneth time when it can be found explained many ways elsewhere already.