Programming in its simplest form is a series and true/false responses. You perform a test. If it’s true you perform one task, if it’s false you perform another. If you are fairly new to programming this might seem a little too simple, but it’s true. Look at flowcharts. Flowcharts are a graphical representation of what happens when something is true, and what happens when something is false. I was interested in how other developers approached programming, so it only makes sense to share my process.
Keep it Simple
This is usually the most difficult part for me. For some reason I always see these wild mind-blowing user experiences that usually aren’t practical, and definitely out of the project scope. Breaking the project down to manageable tasks is the most important part. I try to break it down in the following sequence.
Keep it Fun!
This process helps keep it fun for me. When I see a very large process ahead with very complex functionality, I tend to get overwhelmed. Also, when I over-complicate things, I get frustrated quickly and programming becomes a chore.
What is your process?
By Scott Radcliff on 11/08/2009
Thanks Jani. Writing tests would be a great way to avoid issues before they happen. That’s really all I am doing by “sketching”. I have studied TDD quite a bit, but haven’t really taken the leap. Maybe it’s time.
By Jani Hartikainen on 11/08/2009
I don’t have any particular process I follow, but usually it tends to involve coming up with the basic idea and then either implementing it or writing tests before the implementation.
I think writing unit tests when you’re still thinking of the actual implementation is a good way to “sketch”, as you put it, the way the code should work.