I live on CUK
More fingers than teeth
I live on CUK
ASM++ would have been interesting. Most of the OOP aspect is compile time, so your ASM++ could have interpreted a few extensions and spat out regular asm.
Has anyone ever done MSIL (that's .NET assembler). I'd be a lot more interested in .NET if I could do that. I know a fair bit about Adobe Flash "assembler" too, and I bet not many people can claim that (or have a requirement).
Come on! Come on! Let's go space truckin.
More time posting than coding
C is a good programming language if you're a good enough programmer!
Btw, there's no reason why you can't develop 'C' code in an object oriented manner, just think 'struct' and pointers to functions...
I post more often than I breathe
"C is a good programming language if you're a good enough programmer to compensate for the language's shortcomings!"
The second point being, that if we could learn to write structured code in a language that discouraged it, we would be able to do so in anything. Hence, some years later when I started using Pascal I found it fitted like a pair of old slippers.
Pascal is a logical, clean, elegant language; it is desperately 'correct'. Furthermore it discourages inadvertent programming errors by being completely unforgiving. I think that is why so many people hate it: they were taught it at Uni as their first language and it is no fun to learn programming in an unforgiving environment. Pascal is the starch-stiff matron who you do not respect until you are a parent yourself.
I agree there is no reason why you cannot produce structured or OO code in C; C does not prevent it. But C does nothing to help or encourage good practice either. It is fine for a good programmer to use who is being good. But it does not force bad programmers into good practice and allows - no, encourages - mediocre programmers to slip into bad practice.
Hence my argument that from a business perspective, C is a bad programming language.
You would rather have a sh!t programmer be compensated for by a language that will permit them to do no wrong rather than a decent programmer who knows what they're doing?
Last edited by Churchill; 25th August 2009 at 09:18.