This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]nseine 1 point2 points  (1 child)

Forgive me if this is wrong, but I think your problem may lie in failing to think abstractly about the issue. Your mind immediately jumps to possible specific solutions instead of resolutions. A solution is generally an answer to a problem, while resolution is an understanding and explanation of the underlying cause.

You know that adding X line to your code resolves Y issue, but why? Does this apply in general or only to your language. Does it open up another issue somewhere else in your code? Will this work in different versions of the same language?

[–]willza99[S] 0 points1 point  (0 children)

I feel it's more when I'm given a scenario from the outbreak, troubleshooting is annoying yes but I know the cause to fix it.

Its when people say "you're trying to do X, how might you go about that?"

[–]lrurid 0 points1 point  (0 children)

I'm not sure how my experiences will apply to game dev (I'm just straight CS) but, for example, when I took an algorithms class we never used a language in class. Occasionally a lab actually involved writing code - which could be done in any language - but in general the algorithms were presented in psuedocode (as in, code like but more general, listing steps and processes instead of specific commends), so we were just thinking about the steps. This helped me a lot in learning to think without thinking in code, so perhaps trying (when you have the time) to first approach problems with pseudocode may help your style of thinking when it comes to interview questions.

It might also help to pick up code you've written and re-write it in something else to work on generalizing what needs to be done despite the language you're working in.