Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
Just out of curiosity, did the take-home assignment direct candidates to include tests, or was there an implicit expectation of them using TDD? I'd probably be one of those to sound a little dismissive of TDD, though I do support testing for nontrivial functionality. I always wondered if anyone really used that workflow or if it was too idealistic for the real world.
I don't remember if there was an indication, but I think not, I remember lots of candidates not writing tests, and usually that was fine, they would mention that they didn't think it was needed for such small code or that they didn't expect to do it for a take-home. The problem with that guy is that when asked about it he said he didn't believe in tests (at all) and thought the whole TDD was a hoax.
I will agree that TDD is a bit idealistic and no one follows it strictly, but to say the whole idea of testing your code is useless is a big red flag that you have never worked on large projects or for long enough. When you're working with huge codebases a change to one file might affect stuff you didn't even know existed, and even if you specifically know and thought about it doesn't mean the new hire will know that the function he's touching is being called indirectly in a completely different part of the code passing a different argument you never suspected because of historical reasons.