As a first reaction I thought, well, more than 50% of HNers fluent with C, the average age should be pretty high probably. But then I realized that actually the average HN age is probably around 25 (from other pools I saw here), so I guess, there are still a lot of fresh programmers learning C. I really hope so. I love higher level programming languages and spent a lot of time with Tcl, Scheme, FORTH, Joy, Ruby, and…
Well, it seems the old stigma against multi-language systems is fading. Even 5 years ago, it was more or less "the rule" that you chose one language for a project and you had to live with whatever trade-offs that choice left you with. Now, people are more willing to accept that you can write much of your system in a language designed for programmer convenience and only write the bottlenecks in a more performance-orie…
Poll: Do you know C?
181–190 of 208 posts
Re: Poll: Do you know C?
#182Earlier quoted context omitted.
I spent more than a decade (from the age of about 10) learning to program from a wide variety of books, about a variety of languages. I'd written software in Basic, Pascal, C, Amiga E, ARexx, and assembly. It wasn't until I read K&R in my mid-20s that it all actually started making sense (especially C, but everything made more sense after K&R). Up to that point, I'd been copy-paste programming, imitating, etc. K&R is…
Amiga E was one of the first programming languages I tried to learn. I had started with Apple BASIC, and happened to get a free Amiga E compiler and booklet on some Amiga magazine. The booklet left a lot to be desired; specifically, it showed how to do output but not input, and as a clueless novice BASIC programmer, I naively assumed that Amiga E could not do input. I did not write much of interest using Amiga E, and…
I think it's primary reason for popularity was that it was so easy to use the Amiga GUI elements and other special features of the Amiga OS and hardware. I always had a hard time making stuff work in C, but could build a UI in no time in E.
Re: Poll: Do you know C?
#183(I also picked up Steele's C: A Reference Manual, 4th Ed. for a buck at the same place.)
Re: Poll: Do you know C?
#184Re: Poll: Do you know C?
#185Re: Poll: Do you know C?
#186I wish more languages had books equivalent to K&R. Here's how I learned C. 1. Buy K&R. 2. Read it. Maybe 2 or 3 times during the process of reading it, I would go write a program to try what I had just learned. This was was around 1980, so trying a program meant walking across campus to a terminal. I could either head to the computing center and use a public terminal, or to the high energy physics building (where I h…
I program primarily in C and believe I know all there is to know about it. But I have never read K&R. A few weeks back, I started reading it, got bored and gave up. But I keep running into people who swear by K&R. Do you guys think it is worth a read after the fact?
A decade ago I thought the book "C Programming : A Modern Approach" by K.N. King was a good starter text--I don't know if there's a better recommendation that's more recent.
In terms of after the fact reading, if you like the terse style of K&R you might pick up something but if you got bored I suspect that means you don't like the style. I suspect the time might be better spent reading some code instead.
Re: Poll: Do you know C?
#187Re: Poll: Do you know C?
#188Re: Poll: Do you know C?
#189I wish more languages had books equivalent to K&R. Here's how I learned C. 1. Buy K&R. 2. Read it. Maybe 2 or 3 times during the process of reading it, I would go write a program to try what I had just learned. This was was around 1980, so trying a program meant walking across campus to a terminal. I could either head to the computing center and use a public terminal, or to the high energy physics building (where I h…
Machines that I had at the time were a Trash80 something or other mostly running basic and an AT&T machine running some for of Unix...oh yeah.
But, I fought my way through K&R, multiple c compilers, assembler, etc. to actually learn something on these machines.
An interesting comment from an earlier discussion mentioned "this code (in C) is much cleaner than any C++ I have seen!". The truth is, if you know C, have a good style and discipline, you pretty much can produce more readable/reusable code than your normal c++ person.
Re: Poll: Do you know C?
#190As a first reaction I thought, well, more than 50% of HNers fluent with C, the average age should be pretty high probably. But then I realized that actually the average HN age is probably around 25 (from other pools I saw here), so I guess, there are still a lot of fresh programmers learning C. I really hope so. I love higher level programming languages and spent a lot of time with Tcl, Scheme, FORTH, Joy, Ruby, and…