My Blog List

Monday, August 23, 2010

The Object of the Plan

Dear Reader,

The new object  (is that instantiate the class or instantiate the object?) is a revised study plan. It drives me crazy every time I see another reference to learning objective-c being easy. Maybe if I already knew C++, that might be the case.

* * * Study plan * * *

A) Work through each example in the Objective - C Visual Quick Start Guide (Holzner)

Abundant Practice
 use good naming conventions so I can search and find examples
     i) Get each piece of code to work and make sure I understand why it works
    ii) Repeat that concept in a simple piece of code of my own (or incorporate a couple of the concepts)
   iii) Create a few more complicated own examples, reinforcing concepts
              
    iv) Possibly - Create a physical notebook of examples

B) Return to the Objective-C for Dummies book (unfortunate name - I've learned a lot from this book)

     i) Continue on from chapter 9 where I left off when I realized why I was fighting objects
   ii ) Continue to work through each example, commenting each object-oriented statement to remind myself what that statement does
   iii) Create some object-oriented flows - following objects within the code to help me think through how oop works
   iv) Stop getting stressed about trying to incorporate oop in my own examples - hold off on this
    v) Complete the book, simply working through it and coding up his examples
   vi) Create/Add to physical notebook including heavily commented code examples

C) Study Object Oriented Methodology
     i) Start with library books until I locate one I like
     ii) See where I am by late November and signup for the community college oop class
    iii) Develop a plan for integrating better understanding of oop with creating some of my own (more complex) examples which I rewrite/enhance as object-oriented code

D) Return to  O'Reilly Cocoa and Objective-C Up and Running chapter 5
    i) Evaluate what I want to do with the remainder of the book and do it
   ii) Probably work through many of the examples see where I am, and what I need to learn

E) Begin the Dummies book for iphone programming
     i) Self-evaluate readiness
     ii) Follow book examples
     iii) Create own examples

F) Achieve Nirvanna

Monday, August 16, 2010

Objecting to objects

Dear Reader,

I figured out that, without realizing it, I've been thinking, that the objects in object oriented programming are records in a database. Except they aren't.

I have to remind myself of what I have figured out about the GUI, making my own simple program run in C, and that I can tear apart the code examples in the book and mostly understand what the author is doing. 


I've been going back and forth between chapters 6 - 9 of Goldstein's "Objective-C for Dummies" (I sure wish they wouldn't use the 'd' word, but this book has been working pretty well for me). My challenge right now, is that when I try to apply what he does to my own example, even when I try not to stray from what he has taught me so far, I get in a lot of trouble. I've given up on trying to understand, at this point, how to store or display a string as an object. Neil's with numbers. I'm with numbers. 

Oooff!

This morning  I tried taking one instance variable and just following it's trail through the 3 pieces of code. That isn't getting me anywhere, so I got out one of the other books I have and like. They does it a different way, of course.

Time to take Roxie-dog for a walk and decide which way to go next.


See you soon.