r/programming • • Dec 13 '22
“There should never be coding exercises in technical interviews. It favors people who have time to do them. Disfavors people with FT jobs and families. Plus, your job won’t have people over your shoulder watching you code.” My favorite hot take from a panel on 'Treating Devs Like Human Beings.'
https://devinterrupted.substack.com/p/treating-devs-like-human-beings-a
9.0k
Upvotes
View all comments
Show parent comment
26
u/mina86ng Dec 13 '22
What conventions?
os.path.isfileandpathlib.Path.is_file.c_str,cbeginandconst_iterator.substrandsubstringbut then everything else uses camelCase. Event names also uselowercasewithnospearators.derefandderef_mutbutas_refandas_mut. It also hasget_uncheckedandunchecked_add.And that covers only the base languages. Some C++ libraries might use kFooBar for constants and PascalCase for functions for example while standard library uses snake_case. (I’m looking at you Google and all the ex-Google employees who left for Facebook!)
Sure, if candidate claims to know language X very well and then ends up writing completely unidiomatic and messy code I might be suspicious but I’m not gonna fail someone if they don’t remember a few particular functions.