|
|
|
|
|
by danwee
972 days ago
|
|
Not sure if it would be any better, and I say this as someone who hates leetcode-related interviews. Code reviews are way more subjective than writing a piece code (at the end of the interview session, if the code works, then that's a huge thing already). If I highlight something like "Perhaps we could inject that dependency, instead of harcoding it": sure, that seems probably the most correct assesment, but again, what if we are dealing with a really small project and hardcoding the dependency is the best way? Same goes for variable names ("i" is too short? Depends on the scope, right? Well, probably it depends on the interviewer's mind), what about composition vs inheritance? Again, subjective as hell. And don't let me get started with anything related to microservices vs monolith... |
|