Here’s a first: a CodeMom story from the workplace! I had a story to work on this past week that involved doing some date comparison to determine whether or not a user’s registration had expired. My solution was to make an...
If you’re just starting out with computer programming, you probably found this article by searching “how to use arrays” or something similar. Arrays appear in nearly every programming language, and they’re an essential data structure for organizing and manipulating pieces of...
Along with conditions, one of the first things programmers learn to use are loops–programming constructs that allow repetition of an instruction set. One type of loop that you’ll encounter on your programming journey is the “while” loop. In this article, I’ll...
As a beginner, you may have heard other programmers talk about ‘boxing’ and ‘unboxing’ and wondered what was going on. Did someone get a gift? Are they moving houses? Turns out, boxing and unboxing are programming concepts that have to do...
How to declare a variable is often the first thing you learn in computer programming. After that, a lot of courses and instructors see fit to let you know computers can do math, and ask you to do things like, “declare...
I’ve had a lot of students get hung up on getters and setters when they first start implementing object-oriented programming principles–especially in C#, because its auto-properties can feel a little too much like magic. In the simplest terms, getters and setters...
According to the US Bureau of Labor Statistics, about 9,600 job openings for computer programmers are projected each year over the next decade, and about 162,900 openings are projected for software developers, quality-assurance analysts, and software testers. Programming is an extremely...
The concept of inheritance in object-oriented programming (OOP) allows us to derive classes from other classes–so a child class can “inherit” properties and methods from its parent class, like you may have inherited your eye color from your mom. Inheritance allows...
Polymorphism is one of the core principles of Object Oriented Programming. But what is polymorphism? The word ‘polymorphism’ means ‘having multiple forms’ (from the Greek ‘polýs’, meaning ‘many’, and ‘morphē’ meaning ‘form’, for all of you etymology nerds out there). In...