|
|
|
|
|
by rlt3
5002 days ago
|
|
Well, if he eventually came up with the right solution, I would assume he understands OOP and overloading, as there usually isn't a way to just stop an interview and teach yourself core-foundations of a trade before answering questions. I think the point was that, outside of specific cases, programming has many solutions. The fact that Paul gave two correct answers before getting to the 'right one' says that this was one of those cases. Perhaps method overloading was not on the forefront of his mind that day. A simple question of 'Why did you do it this way instead of using method overloading?' would've sufficed in figuring out whether or not they had a grasp on OOP and wouldn't have insulted the interviewee with open-ended questions where they were looking for one answer. That would be the same as asking what is another way to write 49 and expecting only the squareroot of 2401. |
|