3 ms·
the very first mistake everyone makes in graphics programming when trying to make a 2D array or and image but that is an additional condition that was not in t
by em-bee 2y ago
the very first mistake everyone makes in graphics programming when trying to make a 2D array or and image
but that is an additional condition that was not in the original task. there was no mention of image programming.
since we are discussing interview examples here, leaving out such a detail and then calling people out on an error caused only by missing that would be considered deeply unfair towards the candidate.
my point is, that our choice in the solution is not interesting at all because it was part of the task. you are proposing a slightly different task, which is of course interesting too.
- deleted 2y ago[deleted]
- CyberDildonics 2y agoyou are proposing a slightly different task I'm not proposing a different task, I'm pointing out that you both thought it was trivial and both ended up doing arrays of arrays then having something that wouldn't work because of the complexities of that. You're right that someone could solve the problem with arrays of arrays, but no one did. I think the problem is mostly trivial too, but before doing graphics programming and solving almost identical problems multiple times, I would have made most of the same mistakes.