3 ms·
I think it's at least partly because how averse many shops are to hiring people; even people who clearly lied on their interview/resume. At one point in the pa
by aidenn0 9y ago
I think it's at least partly because how averse many shops are to hiring people; even people who clearly lied on their interview/resume.
At one point in the past I worked with someone who was incapable of understanding pass-by-reference; something like:
int getFoo(foo *out);
A colleague spent multiple hours per day for a week trying to explain this to them. After a week they still were unable to successfully make use of this interface.
Their resume claimed 5 years experience in C.
- poikniok 9y agoIsn't this passing by pointer and not passing by reference?
- cema 9y agoI guess technically in C everything is passed by value but you can pass a pointer to something and call it, naturally, a pass-by-pointer. Since in C you can typically get the pointer value by providing the reference (I don't remember if it is called the reference in pure C, but we are clearly talking about the same thing here) it can also be called a pass-by-reference, consistent with some other programming languages.
- aidenn0 9y agoPointers are a specific type reference. As they are the only type of reference built-in to the language, it is common to use the more general term "pass by reference" to mean "pass by pointer" when discussing C.