Object-Oriented Programming in Python Compared to Java

preview_player
Показать описание
Java programmers making a move to Python often struggle with Python’s approach to object-oriented programming (OOP). The approach to working with objects, variable types, and other language capabilities taken by Python vs Java are quite different. It can make switching between both languages very confusing.

This is the first 4 lessons from our new course that compares and contrasts object-oriented programming support in Python vs Java. By the end, you’ll be able to apply your knowledge of object-oriented programming to Python, understand how to reinterpret your understanding of Java objects to Python, and use objects in a Pythonic way.

Рекомендации по теме
Комментарии
Автор

This is exactly what I was looking for. Thank you for saving me lots of time!

grifo_-cyan
Автор

As someone who has background in Java looking to expand to python I was beyond thrilled to see that this video exists

samur
Автор

This is the best. I was literally just reading the article hoping for a video.

expansivegymnast
Автор

@Real Python: Where to find the second part of the video?

DerSiedler
Автор

literally one of the best i found on youtube

arbash_
Автор

Very clear explanation. Fall in love with Real Python.

aazizskills
Автор

Very helpful! Wondering why you "don't recommend" changing a class attribute? Is this because doing so defeats the purpose of it being a class attribute and we are better off creating a non "static" attribute?

brendanmoorhouse
Автор

in java we can reassign specific attributes per object as well

blobo
Автор

What would be the outcome if you would print car.Car.wheels at the end after assigning 6 for the wheels?

fa
join shbcf.ru