Discuss Scratch

crazy_games_maker
Scratcher
38 posts

What does ‘add comment’ is for?

What does ‘add comment’ is for?
In the code

Last edited by crazy_games_maker (July 27, 2020 02:16:28)

hedgehog_blue
Scratcher
1000+ posts

What does ‘add comment’ is for?

In your code, you can add notes for other people that explain what a certain part of your code is doing. These are called comments.
There are also comments outside of the project, which are used for people to talk to each other, but those are unrelated to the ones in your code, and just have the same name.
crazy_games_maker
Scratcher
38 posts

What does ‘add comment’ is for?

Thanks
Yeetoburro1
Scratcher
1000+ posts

What does ‘add comment’ is for?

For example:
go to x: (0) y: (0) //this is a comment
crazy_games_maker
Scratcher
38 posts

What does ‘add comment’ is for?

Thank you
deck26
Scratcher
1000+ posts

What does ‘add comment’ is for?

Not just for others. If you come back to code you did months or years ago it's easier to understand what's going on if you commented it.
-InsanityPlays-
Scratcher
1000+ posts

What does ‘add comment’ is for?

Griffpatch has many in his games.
Mirco2023
New Scratcher
1 post

What does ‘add comment’ is for?

Ok, just sent you a PM, crazy_games_maker, thanks.

Powered by DjangoBB