Very detailed. Simply amazing work mate, it was worth the read! Can't wait for your next tutorial
+rep
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!
I might have some more after I finish reading Design Patterns.
Are you next tutorials going to be on Design Patterns?
Probably. I have to get over this bug and finish reading the book, first.
Oh, that's no good. Get well soon mate![]()
I'm back at work today. That's a start.
Procedural programming is easy to understand: you just follow a sequence of steps. OOP is trickier, because you have objects interacting instead of steps being followed. It's kind of like the difference between making ice cream and a refrigerator.
To make ice cream, you mix the ingredients and put them in a container that's in ice. You add salt to the ice to force it to melt, and crank the ingredients. The melting ice freezes the ingredients. Mix, Add salt, crank. Simple.
A refrigerator has a thermostat. When the temperature drops below a certain level, it emits one signal. When it goes above a certain level, it emits a different signal. A compressor monitors the signal. When it receives one, it start, when it receives another, it stops. A dial controls the temperatures on the thermostat. The compressor has additional sensors to indicate anti-freeze leaks and other failures. Unrelated systems handle making ice, dispensing ice, dispensing water, and crushing ice. If any of these systems fails, the refrigerator is "broken".
Extremely interesting read, really gives you a sense of the enormity of data that needs to be stored even in "small" programs. Any chance of a followup perhaps describing how to mathematically balance different characters when creating a system like this, or even just more in depth on OOP in general?
Good job
Now that I've had some vacation time and gotten my head pulled together, maybe. I'm working on learning LISP right now, though, so I'm more likely to do a few tutorials on that.
I must say, you did an excellent tutorial, and I like how you make everything understandable, even to the less knowledgable programmers (I.E. me XD).
Also, thankyou for teaching me to make ice-cream. :}
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks