latest
Using the super() Function in Python Classes
Inheritance is useful, but you can unlock its full potential by reusing code from base classes.
Understanding Shallow and Deep Copy in Python
Sometimes, you’ll want a full copy of an object, other times you’ll want it to use references. See the differences in action.
How to Create and Use a Generic Class in Java
Generic classes facilitate reusability. Make your code scalable and efficient using generic classes in Java.
How to Create, Import, and Reuse Your Own Module in Python
We explain an important fundamental of code reusability in Python: modules.
How to Implement Object-Oriented Programming Concepts in Rust
Rust lacks native support for OOP but you can use these techniques to take advantage of the paradigm anyway.
What Is the Adapter Design Pattern and How Can You Use It?
Use this pattern to reuse third-party code without having to rewrite all your own.
What Is the Factory Design Pattern?
The Factory Design Pattern is a useful tool in software development. Learn what it is and how to implement it using Java.
How Do Proxy Objects Work in JavaScript?
Proxy objects give you another way to override defined object behavior.
What Is the Builder Design Pattern?
Solve your creation problems for complex objects with this useful pattern.
What Is the Decorator Design Pattern?
Discover the decorator pattern and build more flexible, extensible object hierarchies.
What Is the Template Method Design Pattern?
Use the power of abstract and final methods to keep control over subclass implementations.
What Is Object Oriented Programming?
Most modern programming languages support the "object-oriented programming" (OOP) paradigm. But what exactly is OOP and why is it so useful?
Implementing the State Pattern in TypeScript
You can use this classic pattern to solve many programming problems.
Understanding Constructors in JavaScript
JavaScript handles object-oriented programming quite differently from most other languages. It all begins with constructors.
An Introduction to Module Systems in JavaScript
The JavaScript community found a variety of ways to organize code into modules. Find out how the module system evolved in the JavaScript ecosystem.
How to Use the Java TreeMap Data Structure
A TreeMap is a memory-efficient data structure which works well with an unknown quantity of data. Find out how to use this class in Java.
Learn How to Create Classes in C#
Explore object-oriented programming with classes and objects in C#.
Objective-C vs. Swift: Which Is Best for Your Project?
Apple developed Swift as a replacement for Objective-C, but is the newer language always the best choice?
How to Implement Object-Oriented Programming Concepts in Go
Getting to grips with object oriented programing in Go isn't as tough as you think.
The 3 Major Programming Paradigms You Should Know
Programming languages are complex beasts. Not only can they look very different, their entire operational models can be fundamentally different.