On 10 Nov 2011, at 21:13, Karl Goiser wrote: > > On 10/11/2011, at 12:04 PM, Ian Joyner wrote: > >> It's the old I have a hammer so everything looks like a nail, but in C++'s >> case it's I have a programming language, so everything gets put in that. We >> really need to get away from that kind of thinking about programming >> languages and get back towards the Smalltalk ideal. Objective-C does that, >> which makes it the nicest flavour of C. The programming community needs to >> learn what the phrase 'separation of concerns' really means. > > Hear hear! > > > Sure, Objective C exposes a lot of internals for those who are looking for it.
Yes, that's troubling in a way, but if it is separated it is maybe alright. However, I have problems with systems that seem to say "here is nice high-level programming", but here's a way to subvert it. Layers and paradigms should be kept separate. If one paradigm is cross-bred with another, both paradigms lose their meaning and things begin to break down. > So does any language to somebody with a good debugger. Yes, there's no problem with knowing the lower level. On B5000 machines I knew the runtime well, could pretty much say what machine code any line of ALGOL would generate, could find my way around system dumps, far easier than on any other machine I have coded on. But did ALGOL ever need the programmer to subvert it at an assembler level? No. There WASN'T even an assembler. Thus the whole system was a self-contained package and you never needed to subvert the paradigm. Now that's a cohesive system. Seems when we need to dig around in internals the system is not actually cohesive. > Don’t think you’re safe if you program in C or C++. Never. C and C++ are the biggest reason for the sorry state of security we have on systems these days. As Bob Barton noted "Systems programmers are the high priests of a low cult" http://www.computer.org/portal/web/csdl/doi/10.1109/MC.1980.1653540 _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com