Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
30

The title says "A friendly challenge", but really, what this is is a duel. For honor and glory. There is no possible good outcome to a duel. PPCG is going to lose. Then you'll be out for revenge a rematch. When is it going to end? Can't we just get along and be friends?


22

Yes, the tag is helpful. I consider it to be useful in the same way beginner is useful. reinventing-the-wheel is for when: you are specifically trying to mimic some system/behaviour you know that there are libraries, language features, etc. that do what you need. you are doing it for academic reasons... to learn, not to profit. there is no expectation that ...


20

Good code doesn't mean nothing can come out of a peer review. Reviewing code doesn't always mean shred the OP's code to pieces, and propose better ways to do the same thing. It could just as well point out why every right decision was the right decision to make. I don't have an example at hand, but if Eric Lippert were to post some piece of the C# compiler ...


19

StackOverflow is an amazing resource for getting answers when you're stumped on a specific problem in your code and everything you've tried still doesn't make it work, and Google isn't helping you either. Posting working code on StackOverflow is likely off-topic, because there's no problem to solve. So you've posted your specific issue on SO, got some ...


19

No. This will not be a battle between PPCG and CR. In fact, it is not acceptable to post a challenge on PPCG where only some people are allowed to participate. Now you might say "Anyone is welcome to participate, but if they're not a member on CR then they will fight for PPCG!" but that's just cheating. In the post Continuing the discussion about the ...


14

I now agree that the wording can be unhelpful or even incendiary (possibly construed as an accusation of plagiarism, even). I propose: Questions must involve real code that you own or maintain. Questions asking how or why code works are off-topic. Pseudocode, hypothetical code, or stub code should be replaced by a concrete example.


14

I don't mind injecting a bit of humour into the site to make a point, but that one conveys the opposite of the spirit of Code Review. Code Review answers should not disparage code without being constructive. An answer like that "review" would certainly get downvoted and would also merit moderator action as a violation of the Be Nice Policy: Rudeness ...


13

NO - the limit should not be increased. As it is, many answered questions have no accepted answers. By making a question asker have to check-back again to accept an answer is likely to lead to even fewer questions with accepted answers.


13

I think this is pretty much doomed from the outset (but don't let me stop you having fun). To see why it's doomed, imagine things were the other way round: Hey, PPCG, let's have a collaboration to write the clearest, simplest, most maintainable and well-documented code! First, this would be a blatant attempt to secure "home field advantage", and second, ...


12

An excessively complex question deserves a comment suggesting that it be distilled. It might even attract a downvote for being a poorly formulated question. However, it does not deserve to be closed. If some intrepid reviewer decides to take it on anyway, why should the mob prevent it? Conversely, if the question languishes, it's the poster's own fault. ...


12

The problem is, unanswered questions are not necessarily good code. Either nobody bothered to write an answer or nobody had something to say about it so far. Upvoted, unanswered questions can stand on their own as upvoted, unanswered questions. They are good questions, but no one knew an answer to it. There's no problem with these and I don't think there ...


12

Considering that Tony Hoare calls the invention of the null pointer a "billion dollar mistake", I think it's a very worthy concern for software developers, on par with exception-handling, comments, or naming. Also, the treatment of NULLs in SQL is tricky. If a developer has a question about the handling of nulls, then it wouldn't be unreasonable to tag ...


12

No, do not burninate We do need specific tags for games. See Game tag - When to create own tag for games? Some genres of games, are popular enough that they do deserve their own tag. For example, I am a huge fan of minesweeper, having asked several questions about it and having spent countless hours analyzing the game, I am definitely interested in that ...


11

No, Code Review would not be the best place for that kind of review. The best code for this site, as I see it, is code you consider finished. It works, it's the best you can think of, and you're ready to get it critiqued. What you are describing is better for a small group of developers that constantly review each other's work. A fair comparison would be an ...


11

Thanks for taking the initiative to help improve question quality. I see a few problems with this idea, though: If you automate any edits, please do so in a way that doesn't flood the front page. You'll need to rate-limit the changes. If the title is bad, it is likely that other things need to be improved with the post as well. Ideally, you should make ...


11

Synonymizing these tags would be an absolutely wrong and harmful decision. Let's look across the Stack Exchange network to see what sites like "Unix & Linux" or "Super User" say about Linux, Unix, and other operating systems: Is Linux a Unix? Which is answered with "it depends", basically. Is Mac OS X UNIX? Which is answered mostly with "yes". Do ...


11

Forgive my bluntness, but absolutely not. Today it's leetcode, yesterday it was hackerrank and tomorrow it might be who-knows-what. But what value does it add to know that by the tags? Are there leetcode experts with different experience than hackerrank experts? Don't get me wrong: I'm in favour of questions stating where the problem came from. But that's ...


10

"...that will appropriately cover everything there is to cover..." Well that's the thing isn't it, we don't need to cover everything in our answers. For questions of excessive length, finding just two or three things to improve would be good enough. If they improve those things then they can post a new question later with those things improved (and ...


10

Sounds more like a feature-request for MSO. Plus, you'll likely only receive biased feedback here. We're just trying to grow, same as any other beta site. We can use all the help we can get, especially from users on SO. Due to the overlapping of ideas, we owe much of our success to them. We're also here because we love reviewing code, namely to help ...


10

This one fits the best to me: Questions must involve real code that you own or maintain. Questions seeking an explanation of code are off-topic. Pseudocode, hypothetical code, or stub code should be replaced by a concrete example. It doesn't matter who's code it is. If it's your code then you should understand it already. If it's not your code, then you ...


10

No. Templates and Generics, though similar enough in some ways, are different enough in other ways to the point where a person expert in one will have little or no valuable insight on the other. A person who follows templates will not likely follow generics (and vice versa). This makes it different from other language-agnostic tags like linked-list, etc... ...


10

We are actively trying to reduce "meta tags". For example, see: Optimize our meta tags? Tags are expected to summarize the content of the code in the question. They are not expected to summarize the desire of the question asker. readability is a meta tag - it indicates that you want your code to be readable, it does not represent what your code is, or does....


9

The point of having you wait until you have enough rep on this site is to make sure that you understand this site before you start creating new tags for it. The appropriate tags here are not the same as the appropriate tags on stack overflow. Hence I don't see that your prior badge is relevant.


9

I'm afraid that I have to agree with the rollback. Invalidating answers by editing the question is not acceptable on any SE site as far as I know. This also applies for Code Review. Since many questions on Code Review contain a lot of code (which is perfectly OK), we encourage multiple answers to questions. One answer does not need to address all problems ...


9

No, we do not need this tag. We already have a general programming-challenge tag that encompasses all challenge sites. Unlike Stack Overflow, we don't need a specific tag for everything. Just use this tag for anything coming from CodingBat or any other challenge site.


9

I'm not sure we need more design-oriented tags, at least not one like this. Design in general is mostly off-topic and some are surely going to misuse it. Regarding the question you've referenced, why doesn't interpreter suffice? It's also based on a custom language which are harder to review, but I digress. If you still think it would be a good tag, then ...


9

From a technical standpoint, if we look into the way C++ templates are implemented vs how Java generics are implemented, there is a big difference. C# generics are implemented in a way more similar to C++ templates, but there are a few differences as well. Certainly there's more, but these are the languages I know about. From a semantic standpoint, my ...


9

No. No custom button for "answerer approved edits". I have multiple concerns. The primary one being that code-editing in (answered) questions is complex enough as it is, and the default case should be "Just don't". Adding a button is an indication that code editing is now "normal". Code editing is an exceptional thing, and anything that makes the impression ...


8

What if a closed question already has 5 tags? Tags are for categorizing questions, not to filter them by status. If we go forward with this, soon we'll want a on-hold, a protected and then a locked, migrated and why not a deleted... These things belong in the question's title, like blablabla [on hold]. Since the idea is to have these questions show as "...


8

We do not have the ability to display custom UI text on the individual SE sites. The developers could implement it, but that's up to them. Since we are the odd site out, I wouldn't hold my breath on them deciding its a good idea.


Only top voted, non community-wiki answers of a minimum length are eligible