💾 Archived View for g.codelearn.me › 2018-07-16-frontend-interview-discuss.gmi captured on 2024-05-26 at 14:44:53. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
I'm not a huge fan of questions on interviews similar to:
Live coding is not something I like as well due to some reasons.
What really helps me to understand how good candidate is, is to discuss some real situations with him/her.
Below is one hypothetical projects to discuss with a candidate.
Also check out the [Part 2 of this post]({% post_url 2018-07-16-frontend-interview-discuss-part-2 %})
Given a Single Page Application (SPA). The main purpose of the app is to store movies a user added for himself. Some kind of bookmarks.
Features are:
* add title * add description
Possible flow:
* Should it be separated module/class? (**definitely yes**) * Should developer use that module/class when internet is off and use calls to a server when internet is on? (**the answer can be very varied, but it should be some kind of general class that internally detects internet activity so the user of module (developer) should not think about current state of internet connection and use different modules/classes for saving/fetching movies**) * Probably there should be some kind of queue to make sure movies are sent to remote API in the same order they were added.
* Here you should pay attention to the way a candidate thinks. He/She probably should come up with the idea that using Local Storage will not be enough if we're going to store images. Remember that we cannot use links since we're possibly offline.
* Basically there are not too many possible options.
is something we can try to use in this case.
Don't hesitate to ask other questions you're interesting in. It's also OK if candidate don't know the answer, sometimes we don't have answers too. We usually google in this case, but a candidate can't so it's completely OK to give some help to him or her.
If you'd like to get more understanding on what knowledge the frontend candidate should have please refer to
How to Hire a Front-end Developer
by TopTal.
Take a look at another project you can discuss with an applicant [here]({% post_url 2018-07-16-frontend-interview-discuss-part-2 %}).