Live data from Hacker News

Poll: Do you know C?

news.ycombinator.com

21–30 of 208 posts

Re: Poll: Do you know C?

#21
I know C but none of those categories apply to me. Poll design is useful skill to learn!

I am not a pollster but by combining different facts into single options you are restricting the information you can gain from your poll or polls.

I taught C to engineering students at a university, I know it thoroughly, I haven't written a line of it in 12 years - the only option I can logically choose is the final option.

Re: Poll: Do you know C?

#22
post #17
post #6

I used C exclusively for ten years - then I fell in love with Perl and never really looked back. Garbage collection was my downfall.

That is interesting, whyy do you say that garbage collection was your downfall?

ELIZA was written in SLIP, not C

Re: Poll: Do you know C?

#24
post #7

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…

I'm 30, and from Googling you seem to be 3 years older than me, but I don't think the use case for learning C has changed all that much over the course of my time as a programmer.

Already around '95 or so Perl was widely used, GUIs could be done in things like Tcl/Tk, basic apps were starting to move onto the web, desktop stuff was mostly in C++.

You learned C when you wanted to work on things like kernels or databases or high-performance daemons and whatnot. That's still mostly the case. Java has eaten into that a little bit, but that's not even a new phenomenon.

The things that people used C for 15 years ago are still the same things that it's used for today, and similarly, you didn't have to write stuff in C 15 years ago if you just wanted to bang out some little utility or "CGI script". I expect things to stay that way until there's some language which could reasonably replace C in its niche. Thusfar one has not emerged.

Re: Poll: Do you know C?

#25

I know C but none of those categories apply to me. Poll design is useful skill to learn! I am not a pollster but by combining different facts into single options you are restricting the information you can gain from your poll or polls. I taught C to engineering students at a university, I know it thoroughly, I haven't written a line of it in 12 years - the only option I can logically choose is the final option.

As per other comment thread, my intention wasn't to combine facts, more so to provide guidelines. If one of the statements doesn't apply but the overall "feel" of the option is right, I think you can go with that, since after all, the stated purpose of the poll is to see how well HN users know C. For your purposes, I might pick the first option, as it says C is either your main or best-known language. Best-known could be a reasonable statement in your case.

Re: Poll: Do you know C?

#26
post #24
post #7

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…

I'm 30, and from Googling you seem to be 3 years older than me, but I don't think the use case for learning C has changed all that much over the course of my time as a programmer. Already around '95 or so Perl was widely used, GUIs could be done in things like Tcl/Tk, basic apps were starting to move onto the web, desktop stuff was mostly in C++. You learned C when you wanted to work on things like kernels or databas…

Very good point, I'm 34, and actually probably the average HNers is on average ten years younger than me, but well, it is pretty shocking that what you said is so true. No big shift in the latest 10/15 years, there were already good alternatives for all the higher level stuff. Thanks for opening my eyes about that!

Re: Poll: Do you know C?

#27
post #11

Earlier quoted context omitted.

The problem is that it you are attempting to measure two different things with the same question: depth of knowledge and frequency of usage. It's possible that someone knows C quite well, but no longer (or never) uses it. It's similar to offering 3 options for Marital Status: Single, Married or Divorced. It's impossible to interpret the results in any meaningful way (Divorced and single? Divorced and remarried? Is it…

I was more trying to provide a 1-5 type scale with some guidelines on how to vote. The sentences in the options should be ORed together more so than ANDed. What if I added a phrase to option two: "Or I learned C extensively at one point, remember most of it, but don't use it regularly anymore" and to option three: "Or I learned C extensively at one point, but have forgotten most of it and don't use it anymore?"

Sorry, I should have added that it seems obvious the emphasis is on depth of knowledge and the frequency of usage parts are merely there as helpful tips. I personally hate modifying a survey once it's been deployed and suggest you leave it as is.

Re: Poll: Do you know C?

#28
post #7

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…

This is true, but if you use C for the right use cases it is possible that actually higher level programming languages will not be a less time expensive pick, as if the use case is right you'll end spending a lot of time into optimizing performances, OS low level access, memory usage, ...

Re: Poll: Do you know C?

#29
post #7

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…

Nit-picking time: there's probably a difference between the average age of a HNer and the average age of an HNer that knows C. Conditional probabilities and all that.

That being said, I'm an "average age" HNer that has worked with (and loved working with) C. I'm looking for excuses to work with it more, although it doesn't really intersect with my type of work (statistics).

Maybe I should contribute to Redis or other OSS...any suggestions?

Post reply on HN