advertisement

Article:
  What's Your Function?
Subject:   rolling my own, then resting in columns
Date:   2003-08-05 08:26:28
From:   psheldon
I am getting into modifying Apple sample code, but I find it always refreshing to just have something done for me, for balance.


Last night, I thought up my second controller object (which some say is different from and better than a function) that will speed up my doing repetitive aspects of programming modification. The structural element, object in object oriented programming, say objective c, that receives messages is an extension of the already fertile notion function.


I am excited to start rolling my own structural elements to build with, making my own examples, but like just following a column too. I had to run through many examples before I had the nerve to do this for myself. I still get pleasure reading examples fast to see how the subject is put together from perhaps another slant.


You clean up and finish elements of structures and this gives satisfaction much as having little milestones on the way to a goal. Then you put together just the calls to the pieces which speeds approaching the goal.


I need to recall a separate utility of functions from objects being sent messages. Sometimes I would want to use one and other times the other. Functions haven't been canned in lieu of objects, they coexist in the language. Perhaps only examples of alternate styles both working together and improving on each other can get me this feel.


An old text of examples of good and bad style breaking problems into functions by Ledgard, "Programming Proverbs : Pascal with Style", was very exciting. This text first gave me the impression developing style can help me solve humungous problems, a powerful experience.


Oreilly Network's columns have also been a powerful and confidence building experience.


In fact, I am happy to find I can put my own "two bits" into Apple openGL code examples and this makes me feel functional in individual input rather than merely following everyone else's thing. That's a bit of the confidence I got to with Oreilly Network's columns.


Hope I've inspired here.