-
Why Knowing Code Conventions Matters: Tips for Clean, Readable Code
Something you’ll realize when you start coding is that there are many ways that you can code the same thing. For example, when it comes to indentation, instead of using spaces, you can use tabs—or vice versa, instead of tabs, you can use spaces. When you write your for loop, your while loop, or your…
-
Stop Watching Beginner Coding Tutorials and Do This Instead!
The best way to learn how to code is not by watching videos or tutorials, but it’s by actually coding something. I, and a lot of other people, call this project-based learning. It’s like learning how to cook—you don’t get better by reading recipes or watching cooking tutorials, but by actually cooking and then tasting…
-
Pointers in C Explained: What They Are and Why You Need Them
When I first learned pointers in C, I thought they were very annoying. I would always run my program and then I would run into a segmentation fault error, and then I would have no idea why there was an error going on. It was just annoying to keep track of all the different pointers,…
The Truth About Coding Jobs: Avoid These 3 Misconceptions
I see all these coding boot camp advertisements and people online talking about how they got a software job with no coding experience. Then, they say they were able to do it in 4 months. When I see these kinds of things online, it kind of makes me cringe a little bit because I feel…
How To Handle Strings in C [Complete Tutorial]
Handling and using strings in C can be counterintuitive and tricky. Sometimes, they can give you a headache, but strings are a fundamental part of every application. When you’re building applications, especially console applications, you’ll often have to parse some string input or parse string data from a file. Then, you’ll need to export that…
What Is the Difference Between Stack and Heap?
When you’ve been coding for some time, you’ll start to notice that people use these two terms called “stack” and “heap”. And you’re confused thinking, “What is the difference between stack and heap?” When you see these words, start thinking “memory”. The stack and the heap are two different kinds of memory that your program…
Why You Need To Start Using Your Debugger Now!
I remember this time in university when I was sitting in class, and my professor wanted to show us how to use the debugger GDB for C. He was going through it and talking about how amazing it is, but to me, it seemed very complicated and intimidating. At this point, I had already been…
The Most Important Programming Skill To Have
Out of all the different programming skills there are to have, which one do you think is the most important? As a programmer, you need to be good at handling your logic carefully. You need to be good at math, passing your data from one module to another, and coordinating between different data modules. When…
C vs Python: Which Is Better To Learn First?
C vs Python: Which programming language should you learn first? Of course, these programming languages are often used by beginner programmers to learn how to code, and it can be kind of overwhelming if you’re a self-learner. Should I focus on C or Python? Which one, if I learned it first, would put me in…