Skip to Content

Immutable values

« Scratch 2.0
No replies
Mark Willis
Member

I'd like to see immutable values in Scratch so we could define Pi for example. I find that Scratch programs contain many "magic numbers". Good practice would be to define these as a variable but even better would be to define them as immutable/constant etc so that they then couldn't be changed.

Regards,

Mark