#object-oriented-programming

[ follow ]
python
Realpython
2 months ago
Python

Episode #196: Exploring Duck Typing in Python & Dynamics of Monkey Patching - The Real Python Podcast

Duck typing in Python emphasizes objects' behaviors over inheritance for flexible and decoupled code.
Monkey patching allows dynamic modifications to class behavior, aiding testing and debugging. [ more ]
Realpython
2 months ago
Python

Duck Typing in Python: Writing Flexible and Decoupled Code - Real Python

Duck typing allows objects to be interchangeable based on behavior, not type.
Duck typing in Python emphasizes interfaces over specific types for flexibility. [ more ]
Realpython
3 months ago
Python

Create Conway's Game of Life With Python - Real Python

Implementing Conway's Game of Life algorithm is a good programming exercise
The video course covers building a curses view, creating a command-line interface, and setting up a Python project [ more ]
Realpython
3 months ago
Python

Building Enumerations With Python's enum - Real Python

Python doesn't have a dedicated syntax for enums, but the enum module in the Python standard library provides support for enumerations through the Enum class.
This video course teaches how to create enums, interact with them, customize them, and use specialized enum types like IntEnum, IntFlag, and Flag. [ more ]
morepython
scala
Medium
2 months ago
Scala

Programming in Scala [Chapter 27]-Modular Programming Using Objects

Packages in Scala are treated as modules with interfaces and hidden implementations, but have limitations in abstraction and reconfiguration.
Scala's object-oriented features like singleton objects, traits, and classes facilitate modularity, enabling reconfiguration and inheritance between modules. [ more ]
Medium
2 months ago
Scala

What Is Scala? Unveiling The Power Of A Versatile Programming Language

Powerful combination of object-oriented and functional programming in Scala
Scala's rapid popularity due to expressive syntax, compatibility with Java, and strong type system. [ more ]
Medium
3 months ago
Scala

Programming in Scala as a "Better" Java

Scala is a programming language for the JVM that is both object oriented and functional.
Scala can be used as a simple OOP replacement for Java with benefits of speed and readability. [ more ]
morescala
Medium
2 months ago
Scala

OOP Essentials: A Quick Guide

OOP focuses on objects and their interactions.
OOP facilitates modeling real-world scenarios. [ more ]
Pybites
3 months ago
Scala

Leveraging Typing.Protocol: Faster Error Detection And Beyond Inheritance - Pybites

Python 3.8 introduced the typing.Protocol feature for defining and enforcing interface contracts in code.
typing.Protocol brings static type checking, enhancing code quality and aligning Python with statically-typed languages while maintaining its dynamic nature.
Interface enforcement in OOP promotes consistency and predictability by defining a contract for methods and properties that should be present in a class. [ more ]
CodeProject
3 months ago
JavaScript

Is Dependency Injection the Missing Technique That's Holding Your Career Back?

Dependency Injection (DI) is a popular approach in modern software development that promotes loosely coupled code.
While DI offers benefits such as easier code extension and change, it can be challenging to debug and manage in larger projects with complex architectures. [ more ]
CodeProject
8 years ago
JavaScript

Wrapping Java with C++ Objects - JNI OOP

JNI helps Java code interact with C++ through reflection-oriented implementation.
Using C++ wrappers can simplify the JNI code, making it more reusable and maintainable. [ more ]
Alvinalexander
5 months ago
Books

Great 2023 holiday programming gift book (for Java/Kotlin/OOP developers)

The book 'Learn Functional Programming The Fast Way!' has been reduced to $20 for the holidays.
It is written for Java, Kotlin, and object-oriented programming (OOP) developers. [ more ]
[ Load more ]