Hacker News new | past | comments | ask | show | jobs | submit login

Nothing new here. These are just someone's notes on hiring (the post does not at all deliver on the title). It's all been said before, and in better ways.

Also I'm tired of the "learn C" mantra. You don't need to know this language to understand pointers and their difference from references. Or the different approaches to memory management.




Learning C is a pretty simple way to learn about pointers, low-level memory management, and so on. It's not the only way, but it's one of the better ways. You also learn a fairly popular programming language as part of the package; not a bad deal!


I've yet to interview anyone that didn't know C or C++ but correctly understood pointers and references. Of course that's not necessarily bad since it's not a useful distinction in some higher level languages.


>I've yet to interview anyone that didn't know C or C++ but correctly understood pointers and references.

Clearly you haven't interviewed any Lispers. The concept is innate to cons cells and how they're constructed.


I think the stock of people who are comfortable with Lisp but know nothing about C has dwindled to be almost non-existent.


I sorta know both, but I'm generally more comfortable speaking in terms of Lisp than C and if an interviewer forces me to speak in terms of C I'm likely to be less cogent.


Working with pointers in C or C++ is a decidedly lower level construct that Lisp. Not to make any sort of value judgement between the two languages - but with a c pointer, you are accessing a very specific point in memory. If you're pointing to the first element of an array, add one to that pointer, you're now accessing the second element of that array.

This close to the metal mindset is what makes C/C++ valuable for learning how code compiles to assembly, and understanding _how_ your program is executed.


That's an implementation detail that doesn't bear much on actually using the language. The cons cell abstraction leaks sometimes, sure, but I wouldn't say that the concept of "pointer" is fundamental to Lisp at all.


Understanding that cons cells can point to anything and that the referent not the referrer has a "type" is critical to understanding the language.


I agree that there's nothing new here, but I think knowing C is still useful. It's as close as it gets to a lingua franca in our field.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: