160 karma · joined April 17, 2013
Obviously @mdo can write whatever he likes on his projects, and it doesn't feel right to "correct him" with a pull request if that's how he chose to write the resource.
In the original HN post[1] there were a couple of comments about how some people might want to share this with kids who are learning to code. If they want to share the knowledge without a couple of "bad words" spoiling it now they have a way.
For one, setTimeout is pretty run of the mill. If you haven't come across a situation where you need to wait a period of time before initiating some event, you simply haven't coded much. If someone else had just nailed the question in the interview before him than—hoop or not—they've proven a skill he hasn't.
Even if we ignore this, the "What Really Happened" area sounds like he only admitted he doesn't know, and worse, that he doesn't know how to proceed. Another comment above asks if one small set back is really a deal breaker, but in my opinion, not attempting to overcome a problem you haven't seen before shows more about a candidate's abilities than simple knowledge. Prove you can find a solution when all you have is a basic idea of the problem. Take a hint and run with it. (The interviewer gave the method name as a hint!) Google the answer.
This post hints that the position was closer to entry level, so I would suspect that curiosity and autonomous problem solving are fundamental requirements for the role. When you're green a lot is going to be brand new, so you have to be able to learn on the spot and run with it.
Using your example, ignoring selection and envelopes and simplifying the goal of the answer: "Here's the letter B from a set of two consecutive letters. What's the other letter?"
It seems there's a conflict here: Either there's little JS and no need for jQuery, or a lot of JS and no sense in dropping it in the HTML.
margin: (T R B L)1. Ask a lot of people who fund questionable, unproven businesses what they'll pay for.
2. Promise to fulfill their requests.
3. Take their money.
4. Follow through on your promise like an honorable member of society. (optional)
The concept sounds more useful for a table scenario, especially considering the table might be populated by json to begin with. It would make the HTML work easier and provide a easy connection between whatever feed I'm using and the parsed & rendered table.
If you (or anyone else) is building out new "blocks" that work with this project, I'd prefer to use it for parts of a site/page I'm likely to pull from a live/updated/for_each type section of code.
*ninja edit: How do you do inline code?
False. I am reading this on my iPhone. On a toilet.
*Assumes "computer" = "desktop computer"
Your idea for pairing generalists is awesome, and I wonder if it's viable to do independently and "sell" two generalists as a team to recruiters/companies. Just like the art director and copywriter combo, two generalists sell themselves as a duo able to address any challenge from the server to sales.