1. Home
  2. Explore
  3. Computer Science
  4. History of Coding

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

History of Coding

Speaker 1Speaker 2

History of Coding

16:12
0:00-16:12
  1. Simon

    Can you really have computers without coding? Yes—and that is one of the surprising ideas in the story of coding. Coding actually came before modern computers, so let’s begin in the 1800s, when machines were already following instructions.

  2. Anna

    The first example is the textile industry. Punch cards were used in looms, and the holes in each card told the machine where to place threads. That meant people could create complicated designs in rugs, blankets, and clothing much faster and more consistently than doing everything manually.

  3. Simon

    Those punch cards are important because they introduced a basic coding idea: information can be represented by holes and no holes. A hole could mean “on” or “yes,” while no hole could mean “off” or “no.” Much later, electronic computers would use the same basic idea with electrical signals instead.

  4. Anna

    Then Charles Babbage connected punch cards with calculation. In 1822, he proposed using them in a calculating machine. The technology was not available—or was too expensive—to build his complete design, but the idea was enormously important.

  5. Simon

    And Ada Lovelace helped turn that idea into what we would now call an algorithm. In 1842, she translated Babbage’s writings and added her own notes, including a mathematical procedure for the theoretical machine. Because of that work, she is widely considered the first computer programmer.

  6. Anna

    She also made remarkably bold predictions. Lovelace suggested that a computer might one day play music as well as chess, but she believed a computer would never think for itself. That second prediction is still being tested by modern artificial intelligence.

  7. Simon

    To understand how computers work, we need to understand number systems. Humans commonly use decimal, or base ten, with the digits zero through nine. When we run out of digits, we use positional notation: moving left increases the place value by powers of ten.

  8. Anna

    For example, in the decimal number 32,922, the digits represent thirty-two thousand, nine hundred, twenty, and two. Each position has a value based on a power of ten, with the ones place on the far right.

  9. Simon

    Computers work differently because their electronic switches have two basic states: on and off. Those states are represented by the two digits in binary, zero and one. A zero indicates an off state, and a one indicates an on state.

  10. Anna

    Binary is connected to the true-or-false logic developed by George Boole in the 1800s. Boolean logic uses statements that can be true or false, which fits naturally with switches that can be on or off.

  11. Simon

    Binary also uses positional notation, but each position increases by a power of two rather than a power of ten. From right to left, the place values are one, two, four, eight, sixteen, thirty-two, and so on.

  12. Anna

    That lets us convert binary into decimal. Take 101. The rightmost one represents one, the middle zero contributes nothing, and the leftmost one represents four. Add them together and 101 in binary equals five in decimal.

  13. Simon

    Another example is 100001. The one at the far right represents one, and the one in the thirty-two position represents thirty-two. Together they make thirty-three.

  14. Anna

    Long strings of zeros and ones may look like gibberish, but systems such as ASCII give them meaning. ASCII uses numerical values to represent characters. For example, the binary value 100001 is decimal 33, which represents an exclamation mark in ASCII.

  15. Simon

    The key point is that everything a computer handles is converted into binary at some stage: letters, numbers, colors, shapes, pictures, pixels, animation, video, and music. The processor works with those underlying on-and-off signals, even though we experience the result as a picture, sound, or document.

  16. Anna

    That is why code is so fundamental. Code gives instructions to a machine that does not know what to do until it is told explicitly. At the deepest level, those instructions must eventually become machine code, the low-level language that controls calculations, values, memory, and hardware.

  17. Simon

    Before electronic signals, punch cards provided a mechanical way to communicate those instructions. Herman Hollerith developed a tabulating machine that used punch cards to perform different tasks without being rebuilt each time. His work later contributed to the creation of IBM.

  18. Anna

    Hollerith’s machine was especially useful for the United States Census, which counts the population every ten years. Census calculations had taken about eight years, but his machine reduced the process to about two years and allowed information to be sorted, such as how many people lived in a particular state or household.

  19. Simon

    Before machines could perform complex calculations, people were sometimes the computers. In the era described by the film Hidden Figures, rooms of human calculators—many of them women with advanced mathematical training—worked on separate parts of difficult problems, including calculations for spaceflight.

  20. Anna

    Electronic computing then developed through several major machines. Konrad Zuse’s Z3, built in Germany in 1941, is described as the first electromechanical computer designed to run programs, with code stored on punched film. In the United States, Howard Aiken led work on the Mark I, built by IBM in the 1940s.

  21. Simon

    In 1945, the University of Pennsylvania produced ENIAC, a room-sized electronic computer using about eighteen thousand vacuum tubes. It had to be programmed manually by connecting wires to plug boards, and every new calculation required the plugs to be rearranged and tested.

  22. Anna

    Programming ENIAC required people to understand the machine and create detailed schematics for the connections. Again, women played an important leadership role in working out how the system operated and designing its programs.

  23. Simon

    In the 1950s, the ACE, or Automatic Computing Engine, became an early electronic stored-program computer in Britain, with code designed by Alan Turing. In 1951, UNIVAC showed the public that computers could produce useful predictions: using its input data, it correctly predicted the result of the 1952 election before many members of the press accepted that result.

  24. Anna

    UNIVAC also represented a storage change because it used magnetic tape instead of punch cards for data. Around the same period, John Backus created Fortran for IBM in 1954. Fortran became America’s first commercially successful high-level programming language, and some older companies still use it in mainframe systems.

  25. Simon

    Grace Hopper led the team that created COBOL, or Common Business-Oriented Language. It was designed as a more user-friendly business programming language. Fortran and COBOL became major industry languages, and older languages can remain valuable because replacing established systems can be expensive and difficult.

  26. Anna

    The hardware was changing too. Vacuum tubes acted as electronic switches, but they were large, hot, energy-hungry, and inefficient. Transistors appeared in the 1950s and performed similar switching functions on a much smaller scale using semiconductors.

  27. Simon

    That shrinking made products such as transistor radios possible. Then, in the 1960s, many transistors could be connected on an integrated circuit, or chip. Modern chips still contain enormous numbers of microscopic transistors that switch on and off to perform tasks.

  28. Anna

    Personal computing began to emerge in the 1970s. The Datapoint 2200, introduced around 1970, is described as one of the first personal computers and included a built-in screen. In the mid-1970s, the Altair 8800 became an important computer kit that people could build at home rather than leaving computing only to large organizations.

  29. Simon

    Paul Allen and Bill Gates wrote software for the Altair using BASIC and founded Microsoft in 1975. In 1976, Steve Jobs and Steve Wozniak founded Apple with the Apple I, described as the first computer with a single circuit board. The Apple II followed in 1977.

  30. Anna

    IBM’s personal computer helped make computers common in professional offices during the 1980s. It used Microsoft’s MS-DOS, and its adoption helped Microsoft grow. Apple’s Lisa introduced a graphical user interface, or GUI, where users could click icons with a mouse instead of typing every instruction.

  31. Simon

    The Apple Macintosh and IBM PC models made 1984 another major year for personal computers. Improved processors, including the 386 introduced in the 1980s, supported more demanding graphics, spreadsheets, and word processing.

  32. Anna

    Then the Internet changed what computers could do. Early users connected through dial-up modems and ordinary telephone lines, often at speeds around 56 kilobits per second. Broadband, including cable and DSL, made the Internet much more practical for activities such as streaming and widespread online services.

  33. Simon

    During the 1990s, computers became common for email, banking, games, shopping, and customer service. Companies such as AOL, Yahoo, and later Google illustrate how quickly the technology industry changes: early pioneers may be replaced by competitors that offer a more effective or adaptable service.

  34. Anna

    In 2007, smartphones put many computer functions into a portable, battery-powered device. People could send email, check weather and stocks, play games, and use online services while traveling or waiting somewhere, rather than staying at a desk.

  35. Simon

    Computing then shifted increasingly toward the cloud. The cloud is not literally a cloud; it is a network of computers, usually maintained by a large company, with redundant backups in different locations. Documents, pictures, videos, and applications can be stored and used through these services.

  36. Anna

    Google Docs is an example. Many students can create documents and slide decks through a cloud application without installing traditional desktop software. In a sense, computing moved from centralized systems, to powerful local computers, and then back toward networked cloud systems.

  37. Simon

    Now let’s connect this history to the actual coding process. A programmer writes instructions in a language that humans can understand more easily than binary. Those instructions are then translated through levels such as an assembly language or directly toward machine code, which the processor, memory, and other hardware can execute.

  38. Anna

    A modern CPU can execute more than four billion instructions in a single second. The general pattern is input, translation into machine instructions, processing by the hardware, and an output that humans can understand—perhaps a word, image, sound, or calculated result.

  39. Simon

    There are two important ways code can be handled. With compiled code, as in C or Fortran, the entire program is converted to machine code before it runs. This can be efficient, but debugging may be harder because you are working with the whole translated program.

  40. Anna

    With interpreted code, such as Python or Java in the simplified comparison, an intermediary program reads and executes the code line by line, converting it as needed. That can make debugging easier, although the extra step can make execution take a little longer. In ordinary use, people may not notice the difference in speed.

  41. Simon

    Programming languages also use different paradigms. Procedural programming is like a step-by-step list of instructions that the computer follows in order. Languages associated with that style include C, Fortran, and COBOL.

  42. Anna

    Object-oriented programming organizes code into reusable chunks or objects. That makes it easier to assemble programs from smaller parts and can reduce development time and cost. Java, C++, Ruby, and Python are examples associated with object-oriented programming, and many learners begin with this approach.

  43. Simon

    The source also highlights several widely used languages and tools. Python is used in areas including YouTube, Dropbox, Google, Instagram, Spotify, scientific computing, data mining, machine learning, and artificial intelligence. Java is used across millions of developers and billions of devices, including Android applications and systems such as Minecraft and parts of Gmail.

  44. Anna

    JavaScript is different from Java despite the similar name. It is a lightweight scripting language widely used to make websites interactive, handling things such as forms and user input. Java is a more complex language used for substantial programs that can run across different environments.

  45. Simon

    Kotlin is presented as an alternative to Java and is used by organizations including Pinterest, Netflix, and Uber. C++ remains important for demanding software, including parts of Windows and Google Chrome. C sharp is used with Microsoft’s .NET platform and in the Unity game engine.

  46. Anna

    Other languages have specialized roles. Swift is used for Apple platforms such as iOS and watchOS. Rust is a more difficult, low-level language valued for efficiency and discussed as a possible fit for demanding applications such as virtual reality. Google’s Go language is similar in some ways to Python and is designed to take advantage of multicore processors.

  47. Simon

    For the web, HTML5 controls the structure and design of webpages alongside CSS and JavaScript. Angular is a JavaScript framework used in client-side web applications, while Ruby on Rails is another framework used for web applications. SQL—pronounced “sequel”—is used to store and manipulate information in databases, and PHP can interact with databases such as MySQL.

  48. Anna

    The lesson also mentions technology stacks such as MEAN and LAMP. These combine tools for building and managing web applications that users access through a website rather than installing as separate software.

  49. Simon

    The larger message is that there is no simple list of permanently dead languages. Fortran, Perl, and other older languages may still run important company or government systems, and organizations may not be able to afford the cost or disruption of replacing them.

  50. Anna

    That helps explain why coding can offer strong career opportunities. The source describes many openings for experienced programmers, including opportunities in Java, Python, JavaScript, C++, and other languages. It also notes that learning one language can make it easier to learn another because the underlying logic and some commands are similar.

  51. Simon

    Coding can be challenging, not necessarily because of advanced mathematics, but because it requires careful logical thinking and sustained concentration. At the same time, the source presents coding as a field with significant demand and potentially high salaries, including six-figure opportunities for some experienced workers.

  52. Anna

    And reliable coding matters far beyond employment. As airplanes, cars, surgery, military systems, and artificial intelligence become more dependent on software, errors in code can affect real lives. Good code needs to be dependable, and systems need safeguards.

  53. Simon

    Machine learning may eventually allow machines to improve their own coding or solve problems in new ways, but the source emphasizes that artificial intelligence still has a long way to go. The people who design systems can also introduce their own assumptions and biases, so safeguards and careful development remain essential.

  54. Anna

    The final career message is especially encouraging for students. The source projects a large number of computing-related jobs and argues that countries need stronger coding education to prepare people for them. Learning to code is not only about operating a computer; it is about understanding how instructions become binary actions that shape the technology around us.

  55. Simon

    So the story comes full circle: from holes in textile punch cards, to Boolean on-and-off logic, to vacuum tubes, transistors, chips, personal computers, smartphones, cloud services, and artificial intelligence. Every layer looks more sophisticated, but underneath, computers still depend on instructions represented through binary. That is coding—and it is still a journey students can join.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent