July 2, 2015

What is Code?

You here me talk about technology all the time on this blog, but I also like to talk about code. I am a {developer/programmer/whatever else you want to call me} and I talk programming languages like they are actual spoken languages such as English, Spanish, French, etc. What am I talking about? What is code exactly?

First things first, how does a computer work “behind the scenes”? Well, to keep time, the computer uses a measurement called a “tick”, which is the length of time it takes to complete a basic instruction, whether that is pressing a key, getting a number, operating on two numbers previously gathered, or something like that. So when you see a number like “3GHz”, that means that 3 billion instructions can be done per second. So, when you hear about routers and other hardware mentioning MHz or GHz, that is exactly what it is referring to. Pretty neat, isn’t it?

Anyways, so basically, a computer completes an instruction for each “tick”, but what does that have to do with code?

Well, the hardware exists, but without software, the hardware itself is useless. CollegeHumor created a video to demonstrate this. I understand that it is also mocking Apple (a hardware and software company), but that defers from the main point of the hardware being useless without software. The video is below:

https://www.youtube.com/watch?v=Xgls9IwWUyU

See what I mean? It may look very pretty, but without software, it cannot do anything. Now, bring that knowledge into the tech world that we live in today, and what do you see?

computers everywhere

Exactly. They are everywhere today! We programmers know that we do have some pull on the world, but that’s besides the point. 😉

So, back to the original question: what is code? You haven’t ever written code before, right?

Well, you can look no further to get an idea of how integrated code is into our society than Excel. When you are creating/writing formulas on that spreadsheet, you are essentially writing code! That’s the basics, really. So, no longer can you say “I’ve never written code.”! It has been removed from your vocabulary.

With code comes compilers (to transform code into something the computer can interpret), algorithms (solving various problems), and many other aspects that will be talked about in a later blog post. Stay tuned!

So, with this brief introduction, what do you think about code?

That’s all for now, until next time…keep that tech gear ticking.

~Goliath7470

PS: Credit for this discussion goes to the following article: http://www.bloomberg.com/graphics/2015-paul-ford-what-is-code/. Feel free to check it out for a more in-depth discussion!