Erik (eriktrips) wrote,
Erik
eriktrips

  • Mood:

sunday

I slept through most of the day today after staying up very late last night for no apparent reason. I got in bed, realized I wasn't at all sleepy, so got back out of bed and stayed awake for another seven hours.

and then, passed out. I mean I lost consciousness before I could even put my feet up. one minute I was reading and the next minute I was having some weird dream and then waking up with my glasses in my hand (I took them off?) and my chin buried deep in my chest. feet flat on the floor. four hours had passed.

then I got up to go to the bathroom, was playing a game of solitaire on my cellphone, blinked, and suddenly the game said I'd been playing for an hour. I looked at my watch. an hour had passed during that blink. oddly, my ass was not numb. I got off the can and went to bed.

I'm going to be a real riot when I'm old.

now I'm going to study Objective-C until I pass out again. main reason I'm still studying it is that this particular book is so far the best book on Object-Oriented Programming that I've tried to use. all the others teach you expressions and loops and all of these procedural things before introducing this mysterious and tricky entity called the "class" and its "methods" and then give you this weird syntax on how to invoke the gods objects that each class can produce, without ever really telling you that, you know? you can take all those procedures you just wrote and make methods out of them and voila: reusable objects.

this one was just like, look, here's a class, here's how you make an object out of it, and from now on were going to confine most of our programming to writing methods and then calling them instead of creating dozens of little procedural programs that don't have anything to do with each other.

if you know what I'm talking about you might see how this is a much much better approach. if you don't you don't care and probably never will but I'll just say I'm happy and it's useful so I'm going to try actually to finish this book because it is working so much better than all the others.

then it's back to python and reading the manuscript that I'm "editing" when work begins in, oh, 24 hours or so. Objective-C is for fun. :)
Subscribe

  • chapter one is finished!

    The end of chapter one of UndiaGnosed is near. So near you could click and be right there. This entry was composed @Dreamwidth. Feel free to…

  • That took a long time

    So it took a little longer than I meant for it to but here is another section of the autobiography that will never end:…

  • Why the sky is blue is a political question.

    Why it is important to examine our own ideas before we can change the world around us. This entry was composed @Dreamwidth. Feel free to comment…

  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments