- Steve Theodore, Technical Art Director at Undead Labs


Programming 101 boils down to four bullet points:

Logic

Data

Functions

State


There’s obviously a lot more: every environment – whether it’s a blueprint or a script running in Maya , or a huge monster program with 3 million lines of code like Unreal – has its own special rules and gotchas. But basically you need break things down to the four basic concepts. You’ve got logic that decides what to do and data that your logic uses. Typically you bundle that logic up into functions that do one job at a time to keep from going crazy. The sum total of all your data and the way your functions use that data is your state – changing any part of the state changes the behavior of the whole system.


Intro to Coding in C++