HackerTrans
トップ新着トレンドコメント過去質問紹介求人

wsostt

no profile record

投稿

[untitled]

1 ポイント·投稿者 wsostt·10 か月前·0 コメント

コメント

wsostt
·4 年前·議論
I've been doing this for a long time now. I present the candidate with a function (on paper) that compiles and runs. It does the job but it does everything poorly: an embedded connection string, leaves the connection open, no error handling, bad variable names, no comments, etc... EVERY candidate can find something wrong with this code and the things they pick up is informative. Juniors can find the easy stuff, more senior-level folks find the deeper flaws about the basic structure of the code like figuring that a lot of this is boilerplate that could be implemented elsewhere.