Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Do people actually comment their code?
- Whitepatchwastaken
-
Scratcher
100+ posts
Do people actually comment their code?
I've been going around Help with Scripts a lot, and I've noticed quite often that people don't comment their code. I comment my code, and it's quite helpful when I'm going back and tweaking things, especially if it's been a while since I've touched the project. Am I the only person who does this?
minor spelling mistake
minor spelling mistake
Last edited by Whitepatchwastaken (Nov. 22, 2024 17:50:34)
- everwinner64
-
Scratcher
1000+ posts
Do people actually comment their code?
Personally, I do it for very complex systems and if they’re not sensitives. As Scratch is visual, it’s not fondamental, even if they stay uselful, but in Python, JS… it’s almost necessary as you don’t see blocks.
- BigNate469
-
Scratcher
1000+ posts
Do people actually comment their code?
Yes.
Not everyone does, and on Scratch it's a little less needed, but people do.
Not everyone does, and on Scratch it's a little less needed, but people do.
- Maximouse
-
Scratcher
1000+ posts
Do people actually comment their code?
Choosing good names for variables, broadcasts, custom blocks etc. often makes code understandable without needing many comments. I add comments when it isn't obvious why some code is there or why it's written the way it is.
- scratchcode1_2_3
-
Scratcher
1000+ posts
Do people actually comment their code?
oh welp guys it looks like im the odd one out here, on any of my complex projects with 2000+ blocks I don't add comments, and even on python or c++ it can be a large chunk of nonsense with no comments, and in all languages I usually add variables with super random names like “AHAHAHAHAHAHAH”
- 4meansmuchmore
-
Scratcher
100+ posts
Do people actually comment their code?
If someone else might read your code (or if you are gonna forget what you just made), it's good to add explanatory comments. I've been doing that in my recent project…
- CreatorTheTyIer
-
Scratcher
18 posts
Do people actually comment their code?
so I but code for this I don't ask but no so yes
Last edited by CreatorTheTyIer (Nov. 25, 2024 18:51:47)
- kRxZy_kRxZy
-
Scratcher
1000+ posts
Do people actually comment their code?
Some people comment their code.
- ajskateboarder
-
Scratcher
1000+ posts
Do people actually comment their code?
I stick to naming things meaningfully. I only write comments to explain code that isn't self-explanatory or to state where code runs elsewhere when changing a variable or broadcasting
- blubby4
-
Scratcher
100+ posts
Do people actually comment their code?
My code's so good that I don't need comments 



- Witherplayz
-
Scratcher
1000+ posts
Do people actually comment their code?
not usually a lot but only when its really complex
- Discussion Forums
- » Questions about Scratch
-
» Do people actually comment their code?