What was Coding like 40 years ago?

What was Coding like 40 years ago?

The Coding Train

1 год назад

1,693,990 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Nightwolf
Nightwolf - 07.10.2023 04:59

What is this 1080p you speak of? what is lol?

Ответить
Randy Wilson
Randy Wilson - 07.10.2023 02:42

I remember that Beagle Brothers poster! So fun.

Ответить
Larry Robinson
Larry Robinson - 07.10.2023 01:48

Reminds me of programming the Radio Shack TRS80 in BASIC back in the day. Awesome.

Ответить
Sergio D.M.🇮🇹
Sergio D.M.🇮🇹 - 06.10.2023 20:31

Great shirt,great show and great Robert Smith picture from the Cure.

Ответить
John Steed
John Steed - 06.10.2023 18:05

Oh this brings back memories. I did my Ph.D. in engineering on an Apple II+ PC (which I soldered together myself from all the parts you could buy from local electronics stores). I wrote Basic code to solve 3 differential equations that simulate fluid flow and heat transfer in countercurrent packed-bed reactors and heat exchangers, plus additional differential equations to model shrinking-core reaction kinetics. The differential equations were mathematically stiff and very, very difficult to solve numerically and would still not solve after weeks of running. I had to develop a new numerical method for solving stiff differential equations in order to get stable solutions in reasonable time. When I was defending my thesis, several of the professors even suggested that my work could also earn me a Ph.D. in mathematics as well as engineering. I just finished building my latest PC, Gigabyte Aorus X670E Master with AMD Ryzen 9 7950X, overclocked to 5.9 GHz. I am curious to see how this PC handles that old program, recoded from Apple Basic.

Ответить
Houssam Assila
Houssam Assila - 06.10.2023 11:40

There is nothing fascinating or glorious about this. This is the equivalent of someone going back to relieving themselves in a septic tank rather than modern toilets.
you wouldn't go for a septic tank even "for fun"... if you don't like this example you can use other ones like horse carriage as opposed to modern train, washing machine as opposed to the cold river the list goes on.
it just so happens that people who grew up with this are still alive and have nostalgia, which is unprecedented in technology history.

Ответить
thePenguinDeveloper
thePenguinDeveloper - 06.10.2023 03:43

Good times

Ответить
Bogdan Baudis
Bogdan Baudis - 06.10.2023 02:39

In the University we had a mainframe. To start it we needed the bootloader. The 0-stage bootloader.
There was NO ROM.
The ROM was a series of binary addresses and machine code instructions written in a plastic ring-bound notes.
The notes was to be found in a safe, the key could be found in the office of the mainframe admin.
There was a console with 24 toggles for digits, and few more toggles for select mode (address/instruction) and store/clear/cancel and Execute.
One person was reading from a plastic-spiral-bound notes the other toggling.
The program was enough to start a perforated-tape reader and swallow a smallish plastic tape roll (yep, the one from the safe).
This was a program smart enough to start a magnetic drum which would load another smarter bootloader which actually could load the teletype driver and the magnetic tape driver.
Now we could load OS (yep, that big tape from the safe).
The mainframe normally was never shut down and the magnetic core RAM could survive a short power shortage, unless the program needed more RAM so it would save some OS-related stuff on the drum and use it and hopefully restore it before termination.
But the state power grid usually served at least one power outage per week.
If the bootlaoder on the drum got corrupted, there was another longer perforated tape in the safe. This procedure worked but now always, forgot the reasons.
If it did not work the remedy was: make a short but solemn prayer then repeat.

Ответить
Bogdan Baudis
Bogdan Baudis - 06.10.2023 02:19

Nope. This was a luxury I was not afforded. I had to write programs in Fortran, PL-I or Cobol on a cross-guided sheet of papaer which I had to hand to the specialists which would using a teletype-like keyboard punch a stack of cards or produce a roll of a punch-tape. Then I had to hand the stack or the roll to the operator-on-duty which would put it in the queue: the one on the shelf. Then I would leave and if everything went OK I would be able to collect the deck/roll back with the results, pages of line-printer printout.
At this point I would be lucky if I got just a compiler error, most likely I would get few incorrect characters (hanging chads anybody?) which I might have to be able to fix with small pieces of paper and glue or a manual punch.
Repeat.
Fix the compiler error (this sometimes was by adding a small patch-batch).
Repeat.
Add print statements to assist the bug-hunt.
Repeat.
Maybe get some result.
Prepare more test inputs.
Again, found bugs in corner cases. Add more prints.
Repeat. It is Saturday, so get smashed in the bar on the way back to home.
Sunday, nurse the hangover. Examine the notes made in the bar supposedly fixing the bugs, the head aches too much.
Monday, the hangover gone, the notes still do not make sense.
Repeat.

Ответить
Eric Arson
Eric Arson - 05.10.2023 19:08

pretty similar to commador 128. This brought me back thanks.👍

Ответить
Sativa Girl
Sativa Girl - 05.10.2023 18:57

Q: Can you make your snake with python3 in 2023?

Ответить
Tincu Stefan Lucian
Tincu Stefan Lucian - 05.10.2023 13:29

I love your movie, developers had a good times in the past ! Programming style was great for starting to program but quickly became hard once the application complexity grows.
This is almost how I started programming in 1990 as a kid, from the computer user manual in PN BASIC and with help from my father. And you had books where you learned coding by creating games.

Ответить
Павел Анатольевич
Павел Анатольевич - 05.10.2023 13:06

So it's mean you, can't EDIT line?

Ответить
xylfox
xylfox - 05.10.2023 11:40

Great tutorial! Grown up in the 70ies/80ies,not so Computer-affine,i seriously think about learning programming in my retirement now!

Ответить
Tamertamer Tamer
Tamertamer Tamer - 05.10.2023 07:25

Damn a for 100 loop slowing down the program by a lot is hilarious today

Ответить
The Egg
The Egg - 05.10.2023 07:23

That was exhausting. All that work to make a letter move around. I can't imagine programing call of duty battlefield, or whatever kids today play. I'm gonna go play outside. Thanks.

Ответить
Eric Knudstrup
Eric Knudstrup - 05.10.2023 06:37

I keep wondering how I would have gotten my hands on a Unix machine to run source control on, and how I would have transferred files back and forth to my Atari when I was 12.

Ответить
Anton Nym
Anton Nym - 05.10.2023 04:53

Around 1978, when I was 18, my father and I wrote Games Pack 1 for the TRS-80 computer. It included Poker, Spades, Hearts, Battleship, Spades, and a snake game. Snake was for one or two players. It was published by Micro Pro International. We were able to use different graphical characters to make different patterns on each snake so you could tell them apart. One of the players used the four arrow keys, and the other used letters on the keyboard, like WASD. We used PEEK also to check the status of the keys. We didn't have food, but the snakes just grew with time. With two players, you would lose if you went off the screen or you collided with the other player. Great fun times!

Ответить
Roger
Roger - 05.10.2023 02:49

I programmed in Basic language at Honeywell in 1969 using punched strips of coiled paper. In the mid to late 1970s I programmed in Fortran on IBM computers using (three long boxes of) punched cards and then gradually switched to programming using smart terminals, monitors, and smaller computers that had access to small amounts of digital memory and hard disk drives. For my own personal use I have owned various Apple computers since the late 1970s until today.

Ответить
computerjantje
computerjantje - 05.10.2023 01:32

You lucky bastard. You probably are born a few years later then me. For my first programming was in Wang Basic which is similar to what you did here but a few years before the this apple. No graphics mode on the Wang but we did create games the same you did here. The nostalgia is great. I spend so many hours behind the Wang which was at my fathers work. The Wang was very very expensive. A person could not afford it. A university could. Peek and pokes were not avaiable at Wang Basic.

Ответить
Danny Uff
Danny Uff - 04.10.2023 17:38

Ah, the memories. The kids of today have no idea about the joy of typing BASIC code and making something work for the first time!

Ответить
Donavon McDowell
Donavon McDowell - 04.10.2023 05:57

First time to this channel. I thought this was hilarious!!!

Ответить
Mike Allen
Mike Allen - 04.10.2023 05:47

Had a Tandy TS-80....COding sucked then, and it sucks now. lol

Ответить
Nejm CabdudSalaam
Nejm CabdudSalaam - 04.10.2023 04:37

I'm 46 seconds in. GREAT JOB, I love the 80s look. I think you only missed saying "rad" for the full experience

Ответить
Eduard Qualls
Eduard Qualls - 04.10.2023 04:25

My first quasi-job out of grad school (1987), I worked for a little start-up doing test routines of other people's/other companies' code. The good thing was that, beyond my C skills (it was a Unix shop), I learned Pascal and Fortran, in about 3 weeks. But then, we had a new glucose-test-unit's source to test out. It was written by an MD (who had taught himself to code) and was a monolith of about 387k of Interpreted BASIC [hell]: essentially, every other line was a GOTO or a GOSUB. Luckily, within 3 months, I got my first real job, at Autodesk (in Sausalito at the time), got my own big office, the latest PC, a Sun III workstation (plus a 20Mb Bernoulli drive!), and, more importantly, got to go back to my first love, C. BASIC was the worst.

Ответить
Colin Dale
Colin Dale - 04.10.2023 02:57

You had me at 'sub-routine'.❤

Ответить
MoLewis57
MoLewis57 - 04.10.2023 02:43

Believe it or not, I actually wrote a Snake game 40 years ago on a Apple II+ for a junior high school ( now called middle school ) Computer Science class project when we were given a homework to write a program using the Apple II+ low definition graphics. I decide to write a game inspired by the Atari 2600 game Surround ( essentially, the Snake game ). I was extremely lucky to go to a New York City public school that offered a Computer Science course 40 years ago. When my sons where in middle school in our well-off suburb about 7-10 years ago, there was no CS class offered, and somehow I was learning CS in my local New York city junior high school in the early 80s. I am also very grateful that my middle class Dad probably sacrificed getting a newer used car and going on nicer vacations, so he could by his sons the Apple II+ the Christmas after I started the Computer Science class. My younger brother and me both have careers in software development today, and it might not have happened if my Dad had not bought that Apple II+.

Ответить
Anders Malmgren
Anders Malmgren - 03.10.2023 23:12

That delay you did uses computal power. Would have been better to make the movement a function of time

Ответить
nkronert
nkronert - 03.10.2023 21:19

I would assume that, just like on the C64 you should be able, after doing a LIST, to edit a line by going up with the cursor keys and making the modifications there, then press Enter. This way it should also be possible to do a primitive renumbering of a few lines by modifying the line numbers and pressing Enter. Or doesn't that work on the Apple II plus?

Ответить
Daniel E.
Daniel E. - 03.10.2023 04:22

Nice video... just too long.

Ответить
Mark Brewster
Mark Brewster - 03.10.2023 02:47

Oh my goodness, i needed to see this. This is reminding me of why I got into comp sci in the first place.

Ответить
Peter Leke
Peter Leke - 02.10.2023 23:33

So interesting to see how far we have gone from that kind of programming. It is so interesting to see how any programming language can be powerful, no matter how primitive it may look. Thanks sir. You made it so easy to do.

Ответить
Marwan Shwaiki
Marwan Shwaiki - 02.10.2023 21:36

You took me back to 1987 when I was programming with Commodore 64. 😄

Ответить
Chilled Driving
Chilled Driving - 02.10.2023 20:07

Why, why, why did people use BASIC where there were better alternatives!

Ответить
Mikael
Mikael - 02.10.2023 18:00

Write complex Chess AI with this.

Ответить
Mikael
Mikael - 02.10.2023 16:46

Next, code snake using only machine code on a 1893 Eclipse toaster.

Ответить
malik kemp
malik kemp - 01.10.2023 02:58

I wish to someday be as good at programming

Ответить
OddPotion
OddPotion - 30.09.2023 23:46

God that The Cure poster is hella gnarly. Makes me wanna veg out and listen to their new album with my homeboy, Tom. He's a bit of a freakazoid and is a little grody but we've been best friends ever since I found him ralphing all over the bathroom wall at this totally tubular party. Needless to say the home owners were butter so we had to motor.

Ответить
MT Games
MT Games - 30.09.2023 21:53

Catchy song. Did you write it?

Ответить
Igor Tomljanovic
Igor Tomljanovic - 30.09.2023 19:43

This is so cool!!

Ответить
Wiretalker
Wiretalker - 30.09.2023 03:51

I got a book from the library when that computer was in my school. I got in trouble for coding snake in high res because other students did not do their homework. I edited the color code line for dying so occasionally you could pass through instead of dying. It changed color every move. Loved that game you should do the edit and play it. I called it snake roulette. That was my first code opened my life to every os I could get my hands on!

Ответить
nathan raynal
nathan raynal - 29.09.2023 23:16

fun as hell ! I smiled the whole video.

Ответить
Gdog
Gdog - 29.09.2023 22:34

The first coding I ever did was apple soft basic on an apple ][. The first snake game I played was on a TSR 80.

Ответить
Zephin
Zephin - 29.09.2023 22:24

This takes me back! It's like Bob Ross programming sessions.

Ответить
Layna Stambaugh
Layna Stambaugh - 29.09.2023 20:47

As a college student born in the early 2000's, I LOVED the ABBA reference on the piano in the intro <3

Ответить
Alan Doce
Alan Doce - 29.09.2023 07:33

Love this bloke

Ответить
Stephen Bancroft
Stephen Bancroft - 28.09.2023 14:59

When I was about 12 years old on the C64, I would always have to look up the RND syntax as well.... still cant remember it.

Ответить
Dimi Tech
Dimi Tech - 27.09.2023 21:17

Daniel congratz on all the progress that you've made over the years! :)

And how the hell did you record that screen ? :D

Ответить