An old teacher once asked me why people think programming is so hard. Being someone who enjoys it, I couldn't give him a good reason.
His reply was simple.
Programming is not hard. In fact, there are FOUR things you need to understand to be a programmer
- Programs can run commands sequentially (1 line at a time)
- They can loop through commands (repeat the same code multiple times)
- They can handle conditional statements (If, Then, Else)
- They can transfer control
And there are only TWO things that can go wrong
- Syntax Error
- Logical Error
So next time you get stuck on some mind-blowing complex piece of code, just remember...
Keep It Simple Stupid.