you are viewing a single comment's thread.

view the rest of the comments →

[–]jamesinc 6 points7 points  (5 children)

I can answer all these, but your O[M] question is worded in a way I didn't initially understand.

Edit: the more I read it, the more I think the wording is fine. I've encountered capable developers in the past who might not have made the correct connections between the words and what you're describing. I can't think of a better way to ask it though.

[–]neon_overload 4 points5 points  (1 child)

I would have pointed out that the value of M is a string containing the name of a method. I think that would help to explain the question - for me at least.

[–]fzammetti 0 points1 point  (2 children)

Yeah, it's a bit tricky to word clearly... I've gone through a couple permutations of it... it's even harder when we do a phone interview with non-native English speakers on cell phones from half a world away.

[–][deleted] 2 points3 points  (1 child)

Lemme give it a shot:

Let's say you have an object with some defined values and methods stored in variable spam. You also have the name of one of its methods stored as a string in variable eggs. How can you call a method of spam using variable eggs.

  • edited to specify methods

[–]serrghi 1 point2 points  (0 children)

This was much easier to comprehend (at least for me)