News for hackers. Stuff that matters.
Re:The best engineering interview question I've ever gotten by aluva on Monday April 18, 2022 @01:16AM (#31067666)
I recently got this question for an engineering manager position. I got it done in an hour and 20 minute with all test cases presented passing. But I don't particularly think this is a good question for senior level candidates since implementing is mostly copy pasting existing functions and renaming them and adding a new memcached VERB.
Re:The best engineering interview question I've ever gotten by matja on Monday April 18, 2022 @07:16AM (#31069327)
I'd guess senior level candidates should solve it without copying and pasting, perhaps make sure test cases are present for the behaviour before modifications are made, and then generalize the existing functions. Or, state why adding more functionality on the server side for every type of arithmetic operation would be unnecessary complexity, and instead add support for any type of atomic arithmetic operation with a transaction/UDF approach.
Re:The best engineering interview question I've ever gotten by FartyMcFarter on Monday April 18, 2022 @02:56AM (#31068116)
I imagine the hardest part would be to figure out what needs copy pasting?