3 ms·
How did you answer the question? I would hope that something like the following would've been an acceptable answer: > Oh, that was a learning project (or proto
by quicklime 6y ago
How did you answer the question? I would hope that something like the following would've been an acceptable answer:
> Oh, that was a learning project (or prototype code). If I were to write this code again, I would do $X
...where X is something like "use a unique ptr" or "assign ownership of this object to this other object instead".
- mjfl 6y agoI said almost exactly that.