As a new user of Kotlin, I wanted to write some articles like my How to Python series. To start, let’s learn how to initialize an ArrayList in Kotlin.
Usually, I try not to write too many opinion pieces about code, but I felt like I should mention that it’s okay to test private methods.
After long last, I’ve finally decided to take a look at Kotlin while building an Android app. Now, I want to talk about the language.
Dictionaries by themselves are a great tool, but what if we have more than one? Today, we’re going to learn how to merge two dictionaries in Python.
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.
After covering so many common problems, I thought it would be fun just to explore a chunk of syntax known as the list comprehension in Python.
Looks like I’m back at it again with another installment of the Hello World series. This time we’re tackling Hello World in Goby.
When you work with data in Python, sometimes it’s handy to be able to sort a list of dictionaries. Luckily, I know just the way to do it!
As I continue to teach, I’m constantly introduced to new ways to code. For instance, one of my students just introduced me to `i = i++`. Care to guess how it works?
Forget endless if statements! It’s time to solve Rock Paper Scissors using modular arithmetic in Python.