This is a post in my series “Road to Xcode.” I am currently reading Become An Xcoder by Bert Altenburg, Alex Clarke and Philippe Mougin.
02: No comments? Unacceptable!
There was nothing new going on in this chapter. I was introduced to commenting code. I am actually very familiar with this since I spend some time messing about with CSS/XHTML/PHP. I will sometimes comment over my additions or tweaks to themes and plugins I use in WordPress.
03: Functions
Functions are pretty much where I stopped during my PHP studies. I had a hard time grasping how they were called and how the variables outside the function related to inside the function and returning values. The book hasn’t had me open up Xcode yet, so my playing around with functions and their arguments is non existent at this point. PolyVector has been taking my incessant “why?” very well regarding declaring functions and how the compiler knows where to look etc. I must say I am a little confused on this main() function and why it must be there.
These last chapters were rather short and I am beginning to grow anxious as I near opening up Xcode and my first real encounter with compiling example code. Though these journal entries starting out aren’t full of useful information it is helping me feel not so isolated in my studies.
Keep it up Bean! Just remember learning coding is gonna be like learning a new language…there isn’t always an answer to “Why”, you just have to accept it the way it is. ;) And definitely keep posting on your progress. I like hearing about how it is going and hey, if it helps you, definitely keep with it!
You’re already further than I am in understanding programming. It will be fun to hear about your trials with example code, and maybe even linking to some of your test work later on.