Today, we're talking about constructors! Specifically, we'll look at the __init__() special method in Python, which functions as a constructor.
Tag: Object-Oriented Programming
In growing the Python concept map, I thought I'd take today to cover the concept of special methods as their called in the documentation. However, you may have heard them called magic methods or even...
As with many posts in this series, I'm interested in examining some of the pitfalls when learning to code. Today, we'll cover the pitfalls when copying mutable data types.
When learning Java for the first time, many students tend to struggle with the private and public keywords. Welcome to the world of access modifiers!
At this point in the series, I'm looking to explore new languages. Up first on that list is Hello World in Wren, a fast open-source scripting language.
Following Python, we're taking a look at how to Reverse a String in Java. Get ready to slog through a lot of code.