What I Hate About Your Programming Language
Subject:   Why C sucks less than Pascal, anyway
Date:   2003-05-14 21:11:09
From:   anonymous2
Response to: Why C sucks...

The first programming language I learned, after DOS batch script, was C. (Taught myself; bought and borrowed books, drove my wife nuts with my face buried in the computer at night.) At the company I was working for back then (1989), it was my only option other than BASIC - and it did the job well.

I needed to do complex mathematics and manipulate ASCII files; BASIC chokes on ASCII files, especially when the number of whitespace characters on a given line of text is unpredictable. C, on the other hand, doesn't care; sscanf() is your friend. I wrote some great stuff back then, heavily commented so I could trace what I was doing later.

Nowadays, I'm stuck with Visual BASIC because that is the only scripting language our some of our CAD software understands. I feel like I've been sent to Programmer's Hell!

Sure, I still write plenty of csh scripts at work, and bash scripts at home, but I rarely find use for C anymore. Or, I should say that I am rarely able to implement it. They won't give me a compiler at work, and I don't have admin rights to install my own there. (And they don't even have Perl on my Unix box there! The barbarians!)