What is the probability of getting object oriented design question for new graduate (MS)? For Google, Facebook, Amazon, MS, apple, Uber and LinkedIn.
Close to zero
Yesterday I interviewed at a startup and they asked me. I answered the question best I could. Even though at scale, OOP is usually not the best thing to have. It didn't mean the code should be procedural. It brings maintenance nightmare at the cost of compromising scale.
Wut?
OpenTable and msft... At scale OOP tends to become a nightmare. When you've thousands of classes in your code base. OOP requires long term vision whereas your application is changing everyday. That means you need to know what the application is going to be 1yr, 5yrs 10yrs down the line, when you're designing the app OOP style. Enforcing design patterns just becomes a waste of time and doesn't add a lot of value to the deliverables. The time spent on designing a perfect OOP app and it's monetary gain doesnt go have in hand. Good thing, folks at Sun realized this sooner than later and introduced functional paradigm to Java. The point is there's a balance that has to be maintained. And wisdom is to know when to use what. I'd love to know how often people actually use design patterns explained in Gang of Four for application programming at scale?
I got one, not only oop. I had to use design pattern, this was with amazon
Does your current work involve c++
Java
2 yoe
You can practice Object Oriented design questions on CodeZym : https://codezym.com/ It contains questions for machine coding in Java 11 in a multithreaded environment. And each question has Video and code explanations.
Tech Industry
Yesterday
794
The new Tesla Model 3 P goes from 0-60 in 2.9 seconds
AMA
Yesterday
1309
Iām a professional coaster AMA
Tech Industry
Yesterday
2801
ByteDance is officially fucked
Ask Blinders
Yesterday
785
Tipping culture is really getting out of control! Waiter gave me āa lookā because I tipped her 10% for āBAD service!ā
Tech Industry
Yesterday
382
Would you join TikTok for 2x tc?
They can ask as simple as that.