Posts

Structuring your First Program

Image
     The first, and sometimes hardest, part of writing a program is figuring out where to start. Here is the best piece of advice given to me on my journey to figuring out how to program: “Outline the steps you need to take in comments before you start.” Now, these steps don’t need to be incredibly detailed on how each step should operate, you just need an outline. Let’s take a real-world example of what I mean.             Example: Making a bowl of cereal                      Steps to create a bowl of cereal in comments:                                 // get bowl                    ...

Java: How to start when you don't know where to start

Image
     Starting out learning a new programming language, especially when you have no previous experience with programming can be very daunting. There are daunting technological terms that make everything so complicated, the jump from no knowledge to your first program can seem insurmountable. However, never fear! This post will walk you through the basics to get you through your first program!. First: The Program I'll be honest, we really need two programs.  Here is why: Computers don't speak human, and humans... well we don't speak in 0s and 1s.      Now, we could spend a lot of time learning how to speak in 10010101, but that just seems like work. So let's make it easier. Over the years, developers have created several languages to help humans efficiently translate human to computer. The language we will be using is called Java. The first program we need is Java language. This program is easy to download.       The second program is...