Live data from Hacker News

Poll: Do you know C?

news.ycombinator.com

111–120 of 208 posts

Re: Poll: Do you know C?

#111
My main language is Java these days, but I use lots of other languages as well (e.g. Perl, Python, R, sh, MATLAB, ...). However, C remains the language that I know most thoroughly, and I've used it since 1989.

Re: Poll: Do you know C?

#114
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 learned C in college classes, but never really learned it until after a "WTF PHP" moment, so I could dig into the interpreter source to figure out what was going on. Later experience with Python's interpreter and debugging pyrex reinforced my knowledge. I mention this just to say why I think "modern" very-high-level language hackers still end up learning C; the base layer is all written in it, and eventually you've…

I find it more than a little disturbing that the first time you really used C was to figure out the PHP interpreter. It's among the worst C code I've ever seen (aside from code I've seen on dailywtf). After I had to debug something in the PHP interpreter, I refused to have anything to do with PHP ever again.

Anyway I hope for your sake looking at the Python interpreter did more than reinforce your knowledge. It's no stroke of genius, but it's much better written than PHP.

Re: Poll: Do you know C?

#115

My second ever experience in programming (the first was typing in BASIC on a Soviet trash-80 clone) was typing in example programs from a C book. I did quite a bit of C programming in university. I've contributed C code patches to several Free Software projects. I am currently writing a C compiler. You would think this would qualify me as someone who, if not enjoys, is at least is competent at C. You would be wrong.…

You're compiling C to LISP, and you're not even telling us??? This being HN, I have to quote you for everybody's benefit:

"Vacietis aims to be a C99 to Common Lisp compiler that produces efficient programs that easily interoperate with Lisp functions, and in addition to offer the introspection, debugging and type-safety features of Common Lisp to C programmers."

Re: Poll: Do you know C?

#117

I do embedded programming. There is only C.

Agree. Though I have C++ available to me, I always use C for embedded and low-level I/O programming.

When it comes to real-time and low-level code, you sure don't want the language doing crap behind your back or during critical parts of the code.

Re: Poll: Do you know C?

#119

Earlier quoted context omitted.

I learned C in college classes, but never really learned it until after a "WTF PHP" moment, so I could dig into the interpreter source to figure out what was going on. Later experience with Python's interpreter and debugging pyrex reinforced my knowledge. I mention this just to say why I think "modern" very-high-level language hackers still end up learning C; the base layer is all written in it, and eventually you've…

I find it more than a little disturbing that the first time you really used C was to figure out the PHP interpreter. It's among the worst C code I've ever seen (aside from code I've seen on dailywtf). After I had to debug something in the PHP interpreter, I refused to have anything to do with PHP ever again. Anyway I hope for your sake looking at the Python interpreter did more than reinforce your knowledge. It's no…

> It's among the worst C code I've ever seen

I already hated the interpreter before I dug into it, and my expectations were reinforced. I was a college intern, I didn't choose PHP!

Post reply on HN