Linked by MOS6510 on Thu 10th Jan 2013 23:25 UTC
General Development "For years I've tried my damnedest to get away from C. Too simple, too many details to manage, too old and crufty, too low level. I've had intense and torrid love affairs with Java, C++, and Erlang. I've built things I'm proud of with all of them, and yet each has broken my heart. They've made promises they couldn't keep, created cultures that focus on the wrong things, and made devastating tradeoffs that eventually make you suffer painfully. And I keep crawling back to C."
Permalink for comment 548288
To read all comments associated with this story, please click here.
by saso on Fri 11th Jan 2013 00:39 UTC
Member since:

I really liked Smalltalk, but it was just too darn slow and unusable in the real world. Then, 10 years ago, I tried coding in Objective-C on Linux (with GNUstep) and I haven't changed back ever again. Since it's a pure extension on top of C, I can still write all of my low-level algorithms in C and the higher level constructs in Objective-C. And GNUstep (and OpenStep on which it's based) is really a freakin' great library. Even for non-graphical work it's super simple:

1) There are two classes implementing collections (NSArray, NSDictionary), not a bajillion.

2) The garbage collector is extremely predictable (ref counts).

3) The class hierarchy is very shallow (at most 1-2 superclasses for 95% of the entire library), so it's easy to memorize.

4) I can intermingle low-level concepts (e.g. sockets) with GNUstep constructs (NSFileHandle) and it works just fine.

5) The loose typing and built-in dynamic reflection makes many tasks super simple (e.g. -[NSArray makeObjectsPerformSelector:]).

All in all, the idea mix of high-level abstraction and low-level grunt for my taste.

Reply Score: 7