What if you were to ask CSS and Javascript questions to a DBA? Do you see how absolutely ridiculous that sounds?
What if you were to ask CSS and Javascript questions to a DBA? Do you see how absolutely ridiculous that sounds?
I have had the exact same experience with the author of the article regarding a total absence of actual front-end related questions, though. Not sure how to feel about not getting those gigs.
Another one that popped up in an interview was sub-string matching, which I bombed, but after learning Boyer-Moore-Horspool I have a much greater understanding of efficiently designing algorithms. It is the algorithm some browsers use under the hood for String.prototype.indexOf [3]. Here's that code, https://gist.github.com/derek/8035740.
[1] http://en.wikipedia.org/wiki/Change-making_problem
[2] http://en.wikipedia.org/wiki/Boyer%E2%80%93Moore%E2%80%93Hor...
[3] http://javascriptrules.com/2009/08/12/string-searching-algor...
Yes, there are computer science topics that apply to the front end. If you are writing Javascript (not just marking up stuff and applying CSS), then you want to know how this works. This isn't the 90's simple form submission javascript. It's a completely different world in the browser now.
I don't expect from a front-end engineer to just drop random jQuery plugins on top of each others.