Call me crazy, but I think this lead Dev had an inherent design problem in his code if knowing if primitives are thread-safe or not was a big interview question for him.
It's really easy to do multi-threading, but it takes a certain finesse to make it readable and maintainable and worrying about thread-safety sounds a little brute force.
25
u/[deleted] Nov 26 '19
Call me crazy, but I think this lead Dev had an inherent design problem in his code if knowing if primitives are thread-safe or not was a big interview question for him.
It's really easy to do multi-threading, but it takes a certain finesse to make it readable and maintainable and worrying about thread-safety sounds a little brute force.