Questions about Programming Languages

Why did we move from punch cards to programming languages? What does that tell you about the purpose of programming languages?

Punch cards were inefficient due to their space requirements and the risk of one card causing the entire program to become obsolete.

There are hundreds of different programming languages out there. Why do you think we need so many?

As technology constantly advances, the languages we use must also adapt. The diverse range of languages available can be viewed as a benefit, as individuals are able to choose the language that works best for them and utilize it to their advantage.

What are some drawbacks of a programming language you use? How would you like it to be different? Think of specific examples.

A programming language that adapts to your code and predicts what you'll type would be immensely helpful with bug fixes.

If you were going to create a new programming language, how would you start? What do you need to define?

  1. Define the grammar.
  2. Build the front-end compiler for the source code.
  3. Build the back-end code generator.