Object-Oriented Programming

In order to create Generative Art through the medium of code, we first need several new
tools. You will need to learn the basics of object-oriented programming (OOP). If you’re a seasoned programmer, you’re probably already familiar with this concept — very few languages above a certain power and sophistication don’t accommodate object-oriented structures.

OOP is just a small conceptual leap in how you think about coding. Rather than giving the machine the task of dealing with a linear progression of instructions, which is what you’ve done so far, you think in terms of creating objects in memory: self-contained data boxes that you can then use within the familiar linear programming style.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *