News for hackers. Stuff that matters.
Re:Ask HN: Your thoughts about online developer recruitment ... by zby on Monday February 15, 2016 @05:00AM (#11102484)
Interesting - how would you flag it? In what way was their code gibberish?

In my experience people who understand complex concepts can also understand how to write clear code. Maybe those that you are writing about were not motivated to do that - or maybe it never occurred to them that this was needed?

Would you mind also explaining what you mean by this in "this is not always the case"? Because it does not seem to refer to my comment.

Re:Ask HN: Your thoughts about online developer recruitment ... by junto on Monday February 15, 2016 @05:09AM (#11102528)
I guess that concise implementations (e.g. in a one liner) are often a complete bitch to debug when someone else comes back to it to fix a problem years later.

It is much more difficult to debug and fix existing code than develop it from scratch. Hence, if you found the problem hard to code in the first place, then when you come to debug it again later you've just screwed your future self.

Re:Ask HN: Your thoughts about online developer recruitment ... by danielbarla on Monday February 15, 2016 @06:28AM (#11102749)
I've also seen (severe) examples of the converse - e.g. writing an 800 line monster which could better have been expressed as a regular expression (and a simple one, at that).

This leads me to think that conciseness is not necessarily as simple as we tend to think. Sure, overly concise code with clever hacks are often a nightmare to debug, but that's mostly because they are the wrong abstraction and not capturing the problem well enough.

Re:Ask HN: Your thoughts about online developer recruitment ... by zby on Monday February 15, 2016 @05:18AM (#11102557)
The problem with people writing too concise code is with their motivation not with their abilities - and so it is probably impossible to test (at least directly), because on the test they would have the motivation to do the right thing.
Re:Ask HN: Your thoughts about online developer recruitment ... by talles on Monday February 15, 2016 @05:47AM (#11102635)
I disagree.

Knowing how much to abstract and writing clear code is indeed an ability.

Re:Ask HN: Your thoughts about online developer recruitment ... by st3v3r on Monday February 15, 2016 @12:24PM (#11104558)
No. If someone has to be "motivated" to write clear code, especially given that these tests are supposed to lead to jobs, then I would have to question their abilities. Writing clear code is an ability of itself.
Re:Ask HN: Your thoughts about online developer recruitment ... by zby on Tuesday February 16, 2016 @02:28AM (#11108398)
The point was about code 'too concise' - this is different from 'not clear'.