Tech IndustrySep 21, 2018
NewFAANG_

Object oriented design interview questions?

What is the probability of getting object oriented design question for new graduate (MS)? For Google, Facebook, Amazon, MS, apple, Uber and LinkedIn.

Add a comment
Oath Lgjvsehg Sep 21, 2018

They can ask as simple as that.

Microsoft Parkador Sep 21, 2018

Close to zero

Oath Lgjvsehg Sep 21, 2018

I wish that was the case. But some of us are old schoold, nasty interviewers who love OOP. And can ask. I don't ask that shit.

Microsoft Parkador Sep 21, 2018

I'd love it to be 100%. But sadly it's zero

Oath Lgjvsehg Sep 21, 2018

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.

Microsoft Parkador Sep 21, 2018

Wut?

Oath Lgjvsehg Sep 21, 2018

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?

New
Unluckyguy Sep 21, 2018

I got one, not only oop. I had to use design pattern, this was with amazon

Intel goforitšŸ¤ Sep 21, 2018

Does your current work involve c++

New
Unluckyguy Sep 21, 2018

Java

New
Unluckyguy Sep 21, 2018

2 yoe

New
CodeZym Nov 4, 2023

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.