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

Punch card is an old storage device, starting the Information Age. There are organized spaces on the punch cards, where whether a hole is punched on the spaces or not and the combination of punched and unpunched holes represent the information, or the program. It is similar to how nowadays computers work binarily: presence and absence of electric signals. However, we program via programming languages rather than punching holes on the punch cards, a higher level language that better resonates human intuition, then it is translated to machine. This tells us that the programming language is a more efficient and direct paradigm for programming.


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

Different languages are optimized for different tasks: web development, app development, data processing… sql and python both are good to deal with data, but sql is to manage a database while python serves for data processing. And within one task, multiple languages could be used. For example, in web development, there are different languages for the web layout, visual features, and user interaction. There are also many different frameworks for different tasks.


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

When I had to develop an app for my high school project, I didn’t want to learn java and used python for backend to make the product for demo. And I faced several problems.

  1. Too much configuration was needed
  2. Flask was a hard framework to use
  3. The performance of the app was slow
  4. Couldn’t deploy the app cross platform afterwards


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

I think I should start with defining the tasks it focuses on and determine the audience. Then, a programming language needs syntax, interpreter or compiler.

Sources:


I wrote a programming language. Here’s how you can, too.
what are the strength and weaknesses of python?
The punched card | IBM