Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>CSCI 2100: Unlearning Object-Oriented Programming Discover how to create and use variables that aren't inside of an object hierarchy. Learn about "functions," which are like methods but more generally useful. Prerequisite: Any course that used the term "abstract base class."

This is just a common meme that often comes from ignorance, or a strawman of what OOP is.

>CSCI 4020: Writing Fast Code in Slow Languages Analyze performance at a high level, writing interpreted Python that matches or beats typical C++ code while being less fragile and more fun to work with.

I like this one, but see?

Python is heavily OOP, everything is an object in python for example.

I'm wondering if OP took a basic OOP course or would otherwise be interested in taking one? You can learn about a thing you are against, or even form your opinion after actually learning about it.

>



> Python is heavily OOP, everything is an object in python for example.

I strongly disagree. How is everything being called an object in any way "heavily OOP"? OOP is not just "I organize my stuff into objects".

You can write OOP code with python but most python code I've seen is not organized around OOP principles.


>I strongly disagree. How is everything being called an object in any way "heavily OOP

Do I need to spell it out? The O in OOP stands for object.Everything is an object therefore it is Object Oriented. It's not much more complex than that man.

And I don't mean that it supports users writing oop code, I mean that the lang, interpreter and library are themselves written with oop. Inheritance? Check. Classes? Check. Objects? Check. Even classes are an object of type MetaClass.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: