Saturday, April 16, 2011

I Guess I Never Understood Object Orientated Programming!

This is the only conclusion I can draw. I've talked before about years of using VBA rotting my brain and it's ever more evident.

Every little thing I try to accomplish in Objective C seems so incredibly hard and long winded I end up dejected at the sheer amount of code required to create anything worth creating.

I took courses of Object Oriented Programming ten years ago in Computer Science classes. It all seems so damn intuitive when you're learning how and why it works.

The problem is that in practice very little in OOP languages such as Java and Objective C is achieved with basic language constructs. Instead, there are thousands of often very useful methods with ridiculously long and descriptive names buried like gold in a multitude of classes and their instantiated objects. How anybody manages to memorise enough of them to program at any speed I'll never know.

Then there's the ambiguity of it all. Sure, there is a main() function in there somewhere, but once you strap UIKit for iOS development on top of this, understanding the flow is a minefield. I was actually getting closer to understanding that before the language basics started annoying me.

Importing. I think back to yesterday's language's use of include type statements. I recall having to be smart about it so as not to create circular references, as the files would literally be included by the compiler. In Objective C I feel like i'm importing every class header into every other class header, which if possible, seems largely pointless to require.

Naturally there are reasons behind some of these observations that better versed coders can easily explain away, but I really don't think there is an answer to my original point about methods. It does make coding a lot harder than I've become used to.

I'm fast coming to the conclusion that real programming isn't for me. I'm not enjoying this at all. I think what I enjoy about the VBA coding I do at work is being able to achieve results impressive to many with relatively little effort. This probably isn't a good thing either to think or admit.

On another topic, Tweetdeck on my old laptop is two rooms away and on that fucking instant setting and Leicester are getting shat on by Reading, hence a not distant enough chirp is burrowing into my OOP-angered brain every 3-5 seconds, tempting me to get a hammer. I just might.

I am, as you may have guessed, not in a good fucking mood.

No comments:

Post a Comment