Be respectful. Anyone sharing work is making a contribution, however modest.
Ask questions out of curiosity. Don't cross-examine.
Instead of "you're doing it wrong", suggest alternatives.
When someone is learning, help them learn more.
When something isn't good, you needn't pretend that it is.
But don't be gratuitously negative.
Comments
This comment breaks the Show HN guidelines. Please read https://news.ycombinator.com/showhn.html: