3 ms·
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
by ant6n 6y ago
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.
- sitkack 6y agoThat 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.
- rightbyte 6y agoThe extra "&" probably refers to different references.
- panzagl 6y agoIn C++ '&'s are like garlic, just add them until the code tastes good. See also Java and the 'static' keyword.