💾 Archived View for metalune.xyz › how_to_give_constructive_code_feedback.gmi captured on 2022-04-29 at 11:59:25. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

 ___      ___   _______  ___________   __      ___       ____  ____  _____  ___    _______  
|"  \    /"  | /"     "|("     _   ") /""\    |"  |     ("  _||_ " |(\"   \|"  \  /"     "| 
 \   \  //   |(: ______) )__/  \\__/ /    \   ||  |     |   (  ) : ||.\\   \    |(: ______) 
 /\\  \/.    | \/    |      \\_ /   /' /\  \  |:  |     (:  |  | . )|: \.   \\  | \/    |   
|: \.        | // ___)_     |.  |  //  __'  \  \  |___   \\ \__/ // |.  \    \. | // ___)_  
|.  \    /:  |(:      "|    \:  | /   /  \\  \( \_|:  \  /\\ __ //\ |    \    \ |(:      "| 
|___|\__/|___| \_______)     \__|(___/    \___)\_______)(__________) \___|\____\) \_______) 

How d o you give constructive code feedback

Just telling someone that their code sucks, is not gonna improve their code.

If you want to tell someone that their code is bad, explain why, provide examples how to do it better and then explain why your examples are better.

If you cannot provide that, then don't give feedback at all.

Expect the other person to be a beginner, expect them to ask you questions why exactly their code is bad, and be ready to answer those the best you can.

Be friendly, telling someone that their code is absolute dogshit is just gonna make them feel bad, and won't exactly make them eager to improve it, but rather,

close the chat window or go away. Instead say something like "This is bad, it is bad because ... and here is how you could improve it"