3 ms·
I was never asked to do them but I like to solve these contained problems very much. You certainly get much faster if you already did some of these assignments
by raxxorraxor 5y ago
I was never asked to do them but I like to solve these contained problems very much. You certainly get much faster if you already did some of these assignments as they are often similar but I believe it is not on the mind of those putting forward these tasks if they evaluate the time a developer would need. So don't take it too hard if you need longer but it probably shouldn't be much longer than double the suggested time. You also don't want to work for free.
It is like IQ tests. The more you take the smarter you get. But then again not really...
- bryanrasmussen 5y agoI'm not talking about fizzbuzz or algorithm problems, I'm talking about programming assignments, the first one I ever had was something like the following: Please use the HN API to build a tree view of HN comments that allow you to see what the top posts are on a day where you can drill down to see comments on the posts and the top commenters, use client side vanilla JavaScript code to get data, allow persistence of data to local storage so that if the computer goes offline you will be able to still read content. Separation of concerns, nice code structure, and a nice presentation will impress us. Suggested time: 4 hours. Others, here is a partially completed project set up, some mock data, a link to a technical specification of a data format you are probably unfamiliar with that you need to also use a graphQL endpoint to query and build a table view of Apartment listings with pictures of the apartment, the location, the zip code, the phone number of country, rental price. Users should be able to login and see the latest apartment listings, it should be possible to sort by latest updated listing and by rental price. Sorting should persist between pages. Tech stack to use React, Sass, Webpack, a nodejs static server. time: 4 hours. This one was interesting because it is the only one I have ever had where I managed it in EXACTLY 4 hours (except for ones that were more like use what language you like to do this algorithm) I even made a cool SVG log in component based on an article I'd written recently https://blog.logrocket.com/cooler-loading-animations-svg/ https://blog.logrocket.com/cooler-loading-animations-svg/ and then in the meeting to critique the code it was observed it was not as well ordered and divided up into components as one might like with React and what would I have done if I had more time - like an hour more? - and I answered if I had more time I would have finished early because the purposes of these things are to show I can program, not to make a really great solution, if I had managed to do what I did in 3 hours I would have spent 3 hours and no more. All these projects should normally be delivered as git repos, so you need to setup repo, set up stack, run installation of libraries you will use, run installation of things they want you to use. I once had one where I spent all 4 hours trying to fix a bug in their preferred library and managed to fix it and then I said ok I am not spending any more time on this, I found this bug on Mac here is the issue tracker on github I fixed it so I can install start development but I have done 4 hours I am not doing any more I suppose this means you don't want me to submit it. No Bryan, please submit, we will take it into consideration, this message about the bug is very interesting blah blah. So I submitted. A week later I got an insulting message that the project I delivered was 'extremely underwhelming' - like no shit, there was no code in it, just some particular babel and typescript combinations to fix a particular library you wanted me to use on Mac. Thus finally, the more you do these the better you get? Not really, other than the more programming you do the better you get. Again, not algorithm puzzles, building simple solutions specified by someone using the tools that they want you to use.
- raxxorraxor 5y agoI wouldn't do that as it probably would take me longer. Depends on the job offering. If it is about either crawling a site or using its API, having already used it in the past strongly influences the time needed to finish the task. To me this sounds very out of scope for 4 hours but I am no web developer. Maybe I would stop exactly after that time and present how much I got. If they seek a senior that can just generate a project from a template that includes node, react and friends on a dime and start coding it might work. But to me these tests don't make a sensible impression and could even incentivise bad coding practices if it is representative of how they work.
- bryanrasmussen 5y ago>To me this sounds very out of scope for 4 hours but I am no web developer. well yes this is why my initial question, in my experience these tend to take longer than 4 hours, so was wondering how others experienced it.