Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I once applied for an internship at EA and thought I was invited for an interview on C. They gave me some C++ code to fix, which I didn't know, it wasn't on my CV. They just said "well this code is basically C", although I was pretty confused about those extra "&" the whole time, and it was a pretty rough experience.

In the end I didn't get the job, but their response said I didn't get it because the found that my experience didn`t match my CV. Go figure.



In C++ '&'s are like garlic, just add them until the code tastes good. See also Java and the 'static' keyword.


That is a very meta occurrence of a flaw in C++. They could have unchecked wrapping addition or they indexed off the end of their array.


The extra "&" probably refers to different references.




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

Search: