• dejected_warp_core@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    2 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.