this post was submitted on 14 Apr 2024
328 points (94.1% liked)

linuxmemes

20453 readers
147 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 19 points 4 months ago

You had a day or two [...] none of the last 5 candidates could even send in a solution that would run.

As harsh as this sounds, this test was doing its job. Assuming you're not hiring junior candidates, that is.

One day is enough to research XSLT enough to get the gist, and two is enough for a polished solution. And since we're just stripping tags, we're really just selecting for all the inner text, which is weird but not hard to do with the right selector expression. The task also selects for people that understand XML processing as programmatically manipulating a DOM, which is crucial to wrapping your head around more advanced tasks.