Krista's Coding Corner

04.08.2012

Reality meets code

Quite often code is used to mimic reality: we do simulations or just think that “I do it like this, so let’s make code do the same thing, so I don’t need to bother”. Many coding problems are reality-based because they are easy for us to understand. We want the code to do something or make something to look like “this”.

Here I tried to show how simple functions would look like in reality (all written in pseudocode):

If-function and termination:

if-clause-machine from krista.cc on Vimeo.

Putting stuff into an empty table (okay, this also could be buffer overload ):

Remember PAUSE when needed :)

Filling tables from krista.cc on Vimeo.

blog comments powered by Disqus