Learn Code

Code tutorial series

  • Blog,  Learn Code

    C#: Stack vs. Heap

    Lets talk about memory. Specifically how a computer program stores information so that it can be accessed. Programs and application store values that are used to perform their purpose. Sometimes the values are coming from the user, other times the values are pre-set in the application itself. In either event They are often set in something called a variable. A variable is really just a way for naming and keeping track of a particular value. And as we consider variables and what a variable is meant to represent, we have to look at the “type” of value it is storing. In previous posts we discussed variables and types. Today we…

    Comments Off on C#: Stack vs. Heap
  • Blog,  Learn Code

    C#: Classes

    When you start getting into programming you come across a lot of terms that may not always be intuitive enough to understand what they really are. Sometimes we may understand the concept of the term well enough to move forward but may not really think about what the term could actually mean. Today I want to discuss Classes. Maybe the first thing that comes to mind when you hear the term class is like a school class, or maybe you read it as a classification. In programming, we can think of a class as a template or pattern for a given object. When we want to use that class in…

    Comments Off on C#: Classes
  • Learn Code

    Foundations: The SOLID Principles

    On one of the first days of my first software developer jobs, the team lead pulled me aside to give a run down of the software project we had. Just to go over the architecture and make sure I knew what the team structure was. One of the things he asked was if I was familiar with the S.O.L.I.D. principles of programming. I being new to development had to admit that I did not recall what they were. He gave me a brief explanation and moved on to other aspects of the program structure. It was the kind of question that stuck because I knew I needed to know more…

    Comments Off on Foundations: The SOLID Principles
  • Learn Code

    Why Do I Develop?

    You know those questions that catch you by surprise? This post is my reflective thought on why I choose to be a software developer.

    Comments Off on Why Do I Develop?
  • Learn Code

    C#: Types & Variables

    The previous posts we worked through a couple really simple programs. The first mostly set up Visual Studio 2019 Community and ran Hello World with some basic explanation. The second we created an elementary to-do list. Also with light explanation as to what various parts in code were. This time we’ll back out of the actual code and discuss the concepts of Variables and Types. The reason I think it is important to cover these is to be sure that we understand what we are trying to communicate to the computer through our code (instructions). Both of these words are easy enough to understand from a 30,000 foot view. Variables,…

    Comments Off on C#: Types & Variables
  • Learn Code

    Simple To-Do List

    Let’s play with C# a little by making a very simple To-Do list. It will only store our list while the application is running. It has to take our input and add it to the list. We’ll make it repeat the list back to us when we tell it to, and exit the program when we tell it to. And let’s also add the option to remove list items. Like the sample “Hello World” we will be using Visual Studio 2019 (Community Edition is free), and we will make this all in a console app. Meaning it’s all in the text window, no spiffy graphical interface for us today. I…

    Comments Off on Simple To-Do List
  • Learn Code

    Hello World!

    “Hello World!” is the traditional code first written when learning a new programming language. Almost like a rite of passage. I look at it like a test to prove that you are able to communicate to the machine, and it returns a message that we’ve asked for to confirm that we have successfully given it commands. Like a blink-once-if-you-understand-me situation. The goal and intent of this blog series is to share what I have learned about programming, hopefully in a manner that makes sense. To start we will follow the tradition and create our own “Hello World!” application. Including how to set up a coding environment, understand the syntax we…

    Comments Off on Hello World!