Small steps…

[[NSFileManager defaultManager] createDirectoryAtPath:_attachmentStorageDirectory withIntermediateDirectories:YES attributes:nil error:nil]; NSLog(@”Directory created!”); Anyone who knows me, knows I’m not a programmer. I speak Hello World in about 8 languages. Not very impressive. I’ve been able to hack a little php and javascript in the past and played with perl and Java for nothing useful. I did fix a couple … Continue reading “Small steps…”

[[NSFileManager defaultManager] createDirectoryAtPath:_attachmentStorageDirectory withIntermediateDirectories:YES attributes:nil error:nil];
NSLog(@"Directory created!");

Anyone who knows me, knows I’m not a programmer. I speak Hello World in about 8 languages. Not very impressive. I’ve been able to hack a little php and javascript in the past and played with perl and Java for nothing useful. I did fix a couple of C programs back in the day so, like music, I’m able to read it but not really write or play.

The code block above represents my first real line of production code and though it’s fair to say that my hand was guided at every step, I do see it as a way forward.

I’ve never really needed to be a coder which is apparently one of the main reasons I can’t code. It’s never been instrumental to my daily bread and so it wasn’t a skill I retained despite learning Modula 2, C, Java, Javascript, Perl…etc. The only “code” skill I developed in any meaningful way was shell scripting which was used infrequently enough to require relearning when I needed to modify my own code.

My background was in Networks and there’s little programming needed in desktop support and network support. My own shell scripts were developed to enhance my burgeoning laziness (it is my contention that the best IT person is a conscientiously lazy IT person – someone who will work a 36 hour shift in order to put something in place that will shave 5 minutes off his daily routine.) I was happy to script snmp commands so I didn’t have to type them in, I’d just cron them. I was happier still to script AV definition file distribution so I didn’t need to visit every desktop and laptop with a floppy disk.

But there’s a change afoot and I want to get more into the code. It’s not something I really relish because after being known for years as the local Mac Daddy I find myself now a complete noob and no-one likes to feel stupid. But it’s something I want to do and, to be honest, feel compelled by myself to manage.

Learning Objective-C with Cocoa is daunting, not only because the syntax is odd (though really I have little to compare it with) but because the libraries are so comprehensive. As I’m also trying to get to grips with Object Oriented Programming, I have a double-whammy of confusion.

Leave a Reply