Microsoft Small Basic

Fake It Till you make It

Modified: 2009/11/13 08:13 by 66.91.248.124 - Uncategorized
"Fake it till you make it" is a concept that programmers use everyday. We simply don't want to wait until we are completely done writing a program to see it run, so we 'fake' out some part.

For example: Let's say we had a program which drew a flower, and we wanted the color of that flower to match with the weather outside. Now, it's a bit of programming to find out the weather and match it with a color. I'd like to see if the flower looked good first, so I'd create a subroutine that just assumes it is sunny

Sub GetColorToMatchCurrentWeather
GraphicsWindow.penColor = "yellow"
EndSub

Now, that I've faked that part of the code, I don't have to deal with it until i'm ready.

ScrewTurn Wiki version 2.0.35. Some of the icons created by FamFamFam.