|
|
|
|
|
by coolrhymes
4672 days ago
|
|
I don't agree 100% with the author on not asking them algorithmic questions. Its a process on how they go about solving it rather than just the outcome.
Maybe for the web developer position, you might not need such type of questions, but for a full stack developer the answer is unequivocally yes. I made a mistake by hiring someone who knew django [who originally wrote plugins in WP] and the coding was just plain horrible. One such example. `for foo in queryset:
foo.prop = 'i m bar'
foo.save()
`
Simple things like this, where a good engineer would know because of O(n) nature of the code, the so called programmer didn't. And then there are guys who fork every possible repo, have blogs about how-tos, etc but really can't code for nuts. |
|
`for foo in queryset`
implementation? Is it that for loops are inherently inefficient? What would be a better alternative?