Object-Oriented Programming – Scratch Wiki

Is Scratch OOP?

Whether or not Scratch is Object-oriented is disputable. It definitely uses objects, namely sprites; however, you currently cannot dynamically generate sprites. In Scratch 2.0, however, cloning will be supported. This will allow for dynamically generated sprites.

Arguments against Scratch being OOP are:

  • Scratch does not support custom objects
  • Scratch does not support dynamic generation of sprites

Arguments for Scratch being OOP are:

  • Scratch supports sprites, which are objects.
  • You can access properties of sprites from other sprites.
  • Scratch 2.0 will support cloning, so dynamic sprite generation will become possible.
  • Lists can be used to create pseudo-objects

Object-Oriented Programming – Scratch Wiki.

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.