by verbify · 10y ago · 0 comments
a) Creating a frontend form to submit movies b) Creating the database to store movies c) The 'search to find the movies' feature
Maybe I could do it in two hours, but it'd be pretty bad, and there's no point showcasing poor quality code.
My favourite was when they asked me to produce examples of things I had coded. Like any other creative industry, a portfolio is normal.
I have a long way to go it seems! It would definitely take me more than 2 hours to do that to a standard I'd be happy with. And there's no way I'd submit "what I had" in 2 hours if I could sneak off and spend more hours of the weekend doing it & return something polished.
Do you penalize people who give something "too good" or query them on whether the _really_ only spent 2 hours doing it?
Usually when someone makes something 'too good', it usually means they've leveraged libraries that they already know. If they make a lot of code, I know they probably spent more than 2 hours. By making it a weekend project, maybe they are subtly hinting that better candidates will spend more time on it, which I think is shitty and one of the reasons why I don't like homework questions.
I'm assuming for all of the things you've just said, it means you are using libraries that make a lot of those things one liners. Like read/write local storage, search a data struct, reactive UX changes, etc.
CoC (Convention Over Configuration) solves most of the problem for you, since it's basically CRUD, and that is boilerplate stuff in pretty much any language.
That having been said, most of my value is writing sane, readable, cohesive code that can easily be extended years later, with a minimum of refactoring. That's what has been most valuable to the businesses I've worked with, and employers love the fact that my team is the one with the lowest implementation times for new features.
I agree with your second paragraph completely.