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...
Bash, or the Bourne Again Shell, is a popular command-line interface. Stephen Bourne created the Bourne Shell for the Unix operating system, and Brian Fox released his improved version, Bash, in 1989. Today, Bash is one of the most widely used...
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...
When working with Git version control, it’s common to encounter merge conflicts, especially when you are collaborating with other people. Merge conflicts happen when Git is unable to automatically merge two branches due to conflicting changes in their files. Say, for...
If you read my article “Git 101: Version Control for Absolute Beginners,” you may already be used to using Git for your own projects. Now, imagine you’re working on a project with a team of people, with multiple developers making commits...
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...
Imagine this: you add some code to a project, thinking that it all looks good. Then you run the program, and it blows up somewhere in the middle. Reading through the code, it’s not immediately understandable why the code you added...
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...
In this post, we’ll cover the absolute, bare-bones basics of Git, so you can get up and running as quickly as possible. Although Git is very powerful, and has a lot of commands and options, you only need to learn a...