今日已更新 396 条资讯 | 累计 20866 条内容
关于我们

Every job interview I had in my life assumed that OOP was invented by Stroustrup

/u/FG3149 2026年06月14日 21:01 5 次阅读 来源:Reddit r/programming

Here is how interview goes every single time. Interviewer asks a question: what are the basic principles of OOP? Interviewer always assumes that the answer is "inheritance, encapsulation, polymorphism". These concepts were popularized and have direct connection to C++. C++ was designed by Bjarne Stroustrup. If I try to say that Stroustrup himself said that he didn't invent OOP [1] and try to talk about Simula, Smalltalk and Alan Kay's definition of OOP I always have a concerned look from the interviewer. I'm tired. I don't even have deep understanding of history of programming languages. It's just a one google search that leads to Wikipedia article[2]. It's common knowledge. Why it's a problem every time a have an interview? --- [1] Wired speaks to Bjarne Stroustup : Please note that my claim to fame is not to have invented OOP. I did not - that honour belongs to the designers of Simula: Ole-Johan Dahl and Kristen Nygaard - but I did have a major hand in making it mainstream. [2] https://en.wikipedia.org/wiki/Object-oriented_programming#History submitted by /u/FG3149 [link] [留言]

本文内容来源于互联网,版权归原作者所有
查看原文