Replies: 3 comments 2 replies
-
@monadius @Just4FunCoder? explain why they think it is a bad idea. |
Beta Was this translation helpful? Give feedback.
-
@Undead34 This issue has been raised few years ago. And clearly the cons outweigh the pros as you read along the thread. Also, FYI, JS's spread operator and arrow functions are only introduced in ES6, so your reasoning in downvoting such solutions is not entirely true. |
Beta Was this translation helpful? Give feedback.
-
I think that the downvote button does not solve the problem of bad, upvoted solutions. The "bad" upvotes are there because users who upvote "bad" solutions simply fail to see what is bad about them: they don;t know better syntax, or they don't know that the solution has terrible performance characteristics, or they didn't get past the stage of "one-liners are awesome" yet. Similarly, the "downvote" button would be affected by the same problem: "good" solutions would be downvoted by users who aren't able to tell why a solution is good. This way, many good solutions with good performance or which use proper built-ins instead reinventing the wheel, will end up downvoted as "too mysterious", or as not in spirit of the game. |
Beta Was this translation helpful? Give feedback.
-
The page is pretty good, but it needs a button to give negative to the solutions and I know that this topic can be delicate, but these are necessary things.
The problem:
We have the "best practices" button, it's a system where the highest rated answer, well in theory it should be better.
Well, we know that every developer has a different solution and that's good, the problem here is that not all of them are the best and/or efficient, that's why the "best practices" button was invented.
Ok let's imagine that we have two answers, I am going to base on the first exercise "Unique In Order".
Imagine that these solutions are given:
This is an excellent solution to the exercise, it is copying the iterable and then creating a new array to avoid having two of the same item in a row.
But then we have this:
This code is not the best, it adds unnecessary complexity by calling
call
, that way of usingfunction
is not that nice. It is valid, yes, but it is not the best.So let's suppose that 20 programmers thought of the second way, as there is only one way to vote positive, they will vote positive for the answer that looks like theirs, it is logical.
But there may be 200 programmers who do not vote that answer because it does not seem good to them and leave it without voting, well, over time that answer will go up and up until it appears in the top of the best answers when it is not.
Don't come to me with things like:
"ah, but voting negative can make people feel bad."
No, they are supposed to be on this page to learn from their mistakes and understand why it is wrong, and they can correct it.
The solution:
Add a button to give negative, the button does not need to have a counter on it, to avoid what happened before on YouTube.
It can be like the one on Stack Overflow that accepts negative numbers to bury those bad answers and thus know that one is worse than another.
Well, you can leave your opinion here below. 😗
Beta Was this translation helpful? Give feedback.
All reactions