Learning To Code In the Early 1980s

By Mike Maddaloni on Thursday, June 04, 2020 at 11:47 PM with 0 comments

photo of an early computer cassette tape

With all of the focus and attention these days on teaching kids about STEM (science, technology, engineering and math), it has triggered me in a positive way to recall when I myself learned how to write computer code back in the early 1980’s.

Now before you rush to judgement and say there is no comparison of the world today in 2020 to nearly 40 years ago, I’ll somewhat agree. The technology itself today is vastly different now than from then, however there are similarities in how I got started with computers and how my interest progressed.

Where It Began

This flashback is truly a journey, back in time and over many miles from where I am now. My junior high school in Massachusetts was the scene. One day in my math class, instead of getting to use basic-function calculators that were locked in a wooden case, 3 carts were wheeled in to the classroom with a Commodore PET computer on each of them. Little did I know how this would be the catalyst of my passion for technology.

Be aware the mobile smartphone you may be reading this post on has orders of magnitudes more power, memory and storage that all 3 of those PET computers combined. Let alone the fact the screens were monochrome (aka black and white) as compared to the rich colors in the palm of your hand. That being said, those computers with their cassette tape drives (we had no floppy disk drives then) had much more power than the calculators we usually got to use and we didn’t even realize the powerful tool that was put in front of us.

Tool, or should I say toy? All we usually did in math class with the computers was play games. Sure, the intent of these computers in the classroom was to expose us to the early-stages of the concept of personal computers, from typing commands to loading software from the cassette tape drive and running said software. Despite these “skills” we were learning, it wasn’t enough for me. I didn’t want to just play games as my classmates were content with, I wanted to write games!

Geek Quest

If I only had a picture of the face my teacher made when I asked her how to write software to program the PET computer. After her initial shock, she admitted she didn’t know, but there was another math teacher, Mr. Palmer, who she thought could help me. I didn’t have him for a teacher before and didn’t know him at all, and back then it was unusual to get such guidance or training from another teacher. But I wanted to learn how to write code, so I was connected with him by my teacher.

This unassuming introduction was a pivotal point in my life. And in middle school no less! Mr. Palmer proceeded to tell me the games and programs I was using on the PET were written in the BASIC programming language. He lent me a book on learning BASIC that he had, gave me some pointers and suggested I start reading this, and he would help me with any questions I had. He also said there were other books on BASIC and that other computers ran programs written in BASIC too, so I could look into those as well. Armed with this knowledge and direction, I was off and was writing my first BASIC programs by literally writing them with a pencil and paper. I did this at home or in study halls, and then when I got time in front of the computer, I would type them into the computer and save them to a cassette. The photo above in this post is of one of the cassettes I recently rediscovered from those days.

This geek quest was a solo one, however, as I was the only kid in class who wanted to write code. When it came time to use the computers in math class, of the 3 computers I would always get one to myself. Some kids complained, but overall they didn’t seem to care as long as they got a chance to play games in class.

What’s Your Sign?

My first programs were short ones that didn’t do a whole lot – clear the screen, scroll text, basic math – and I wanted to do more. The idea came from somewhere (sorry, I don’t recall all of the details of this time!) to write a program that would tell your horoscope. So I came up with a simple premise, you type in your astrological sign, spelling it exactly (even Sagittarius), and a preset silly horoscope for you would be displayed on the screen. If you know anything about programming languages, it was a giant If-Then-Else statement. But it was my If-Then-Else statement.

After some toil and testing, the program was done. I showed it to Mr. Palmer and he liked it, so I then let my math classmates give it a try. For as simple as it was, some of them were actually impressed that I was able to create such a program. And with this, I wrote the first of many, many computer programs I would over the next decades.

To Infinite Loop And Beyond

From this humble beginning, I learned more “advanced” features of the BASIC language. As I moved into high school I had access to the school’s mainframe, a Digital PDP-11, as well as eventually my own computer at home, a TRS-80 Model III. With these 2 platforms my learning took off, exploring more complex aspects of programming, the hardware of the computers and my first foray into going “online” with dial-up computer bulletin boards. Along the way I also had my first computer consulting gig in high school. Next came college and a degree in Computer Information Systems, and the career I have talked about much here in this blog.

Deconstructing Learning to Code

In the beginning of working with computers I had a mentor who guided and encouraged me – thank you Mr. Palmer, wherever you are! Over the years and many miles from the junior high school, it’s nice to reminisce about those exciting early days of computing and the enthusiasm I have had for technology. This guidance was important for me then, just as it is critical for young people today to also be inspired in a career in high technology.


This is from The Hot Iron, a journal on business and technology by Mike Maddaloni.


Did you enjoy this? Subscribe to The Hot Iron by RSS/XML feed or Read by Email

BuildStrategizeTechnology • (0) CommentsPermalink

Comments


Post a Comment

Note: Comment moderation is active, and your comment will be viewable once it is reviewed.

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?