Monday, September 10, 2007

Bad language

This is old, but I'm in a bit of a ranting mood, for some reason... I read some comment on a blog about the C language, and how it sucks for several reasons. Of course it sucks if you want a language with garbage collection and bounds-checking. If you want that you use some other language. If you want a portable assembler, you use C or C++. Or something similar, if you're feeling excentric. It's pretty simple: C sucks if you want Python. Python sucks if you want Java. Java sucks if you want Prolog. Prolog sucks if you want Intercal.

2 comments:

Olof said...

When I was taking the course in Logic programming, I was intrigued by the idea of writing a compiler that, in good prolog fashion, could be run backwards to produce source code from assembler.

puterman said...

And then you realized that it wouldn't be possible? :)