What does the code that makes up programming languages look like?

1.17K views

Take a language like Java. How was it originally created? I can’t wrap my head around how someone invented a computer language to run without having some “prior” language that it allows the first lines to function. Is it just Java all the way down, like someone wrote a single line of Java and then every other line was built on that?

What about the first computer language? What was the basis that that functioned on?

Thanks for any help, I hope that was phrased in a mildly intelligible way.

Edit; I’m trying to think of it like human language: at some point there was a first “word” spoken by someone and understood by another and from there the structure started to be born. What were the first “words” on a computer that led to where we are now?

In: Technology

36 Answers

Anonymous 0 Comments

The code is assembly where you manually instruct the computer to set values, move values, and perform mathematical operations on those values. The values are 1’s and 0’s,or sets of those. Everything that a computer does is represented by these values. However, programmers created layers of code to abstract from this hard stuff. They created simple commands to perform dozens of assembly actions at once. Over the years, it got easier to write code as the layers were added and perfected and standardized.

Programming languages are higher layers that interact with lower layers in different ways. Some are more efficient at performing tasks. Some are easier to understand. Some make code that can be reused more effectively and shared. Which one is best is subjective.

In the end, it is all about talking to the various parts of a computer and moving values from point A to point B. Everything else is about aggregation of combinations of those actions.

You are viewing 1 out of 36 answers, click here to view all answers.