r/ProgrammerHumor • • Nov 30 '19

C++ Cheater

Post image
79.3k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

5

u/Turbulent-Magician Nov 30 '19

Isn't game development heavily focused on math? I know from my limited experience, you needed a solid foundation in mathematics especially when dealing with physics engines. That being said, I think that's different from your standard programming white board interview.

White board interviews aren't supposed to be hard unless the job is about solving complicated problems. They're more to understand your personality as a programmer. Are you somebody who likes to over optimize both execution and space? Or are you somebody that makes their code as readable as possible at the expense of execution and space optimization? Do you explain your thought process while you're solving problems or do you stay silent? How well do you know the intricacies of the language and framework you are writing in? So many things are revealed during a white board interview. It's not about solving the problem, but getting to know you.

I'm sure you've heard of fizz buzz. There's many ways to solve it. It's your job as an interviewee to solve it the way they would like it. For example, if you're interviewing for Google, you might want to go with the over optimization route since they deal with large scale applications.

2

u/SloanTheSloth Nov 30 '19

Oh it is heavily focused on math. That's why the interviews worry me. I'm hoping by then I'll have actually done enough math stuff that I'll have more formulas memorized because I'm using them alot. This is our first semester and we haven't done a major amount of math stuff, other than workshops which just remind me that I've forgotten every undergrad math class I took.

Next semester we actually really get into it making our own engines and that kind of stuff.

My professor told us to always think of two things when asked a question at a coding interview. 1) what is the actual problem they want me to solve and 2) why are they asking me this?

I think the #2 part is definitely hitting on your stuff about how a person solves something and getting to know the applicant.

1 I'm still scared about just because my lack of quick math skills. We've done several examples in class based on real questions asked at EA, Activision, Gearbox, and a few other major companies. Every example so far I've just shit myself.

I'm sure in the next few months I'll have more experience under my belt with all the math and what specifically an interviewer would be looking for, but right now being interviewed just feels like something I'd instantly fail. It'll also help a lot more when I start pinning down what kind of game programming I may want to do, and what companies i will be applying for.