by quaintdev · 4y ago · 0 comments
We had IT in our school but all they taught was how to use word, excel and skipped this chapter in book which was "Programming with QBasic". I did not touch that chapter because it did not have fancy screenshots like other chapter and seemed boring. I use to think Command prompt was a dumb Software and this chapter had one screenshot of cmd.
And then one day I took a closer look at that screenshot. It had 2 window screenshots, the window on the left had
10 INPUT "ENTER ANY NUMBER: ", N
20 FOR I = 1 TO 10
30 PRINT N,"X",I,"=",N*I
40 NEXT I
The window on right, was showing a prompt for "ENTER ANY NUMBER: " 8.Entire table of 8 was printed below. I was blown away. I had never seen computer doing what I tell it to until then and honestly it was like I found a super power that day. Soon I realized that my dad who is headmaster and nothing to do with programming has 1 thick book on "Programming with GWBASIC" from his school, needless to say I read that entire book within few days. That started my journey into Software Development. I am so glad today that I took a closer look at that screenshot. I still could not generate .exe back then because those compilers were hard to come by but finally my buddy who had access to Internet got me the compiler and I generated .exe. It felt amazing.
tl;dr I owe my Software Development career to BASIC.
25 years later I'm GWBas1c on Hacker news.
I still wonder sometimes what the modern equivalent to learn programming would be. Most modern programming languages are infinitely more capable, but the hurdle to start is also a lot higher in many cases. JavaScript is probably equivalent in that it's available everywhere, but there's so much you have to at least understand a bit before you can really write some code ...
Switching to QuickBASIC was like stepping into the future, coming from GW-BASIC. No more line numbers. Actual subroutines. A quite nice IDE that separates out subroutines similar to the code browser in Smalltalk/Squeak.
Ironically, as developing software becomes increasingly complex, I feel more and more like it's the machine telling me what to do XD
I've posted this before, but it's always a fun trip down memory-lane:
- What is your name?
- <name> is dumb, haha
10 PRINT "WHAT IS YOUR NAME"; 20 INPUT NAME$ 30 IF NAME$ = "BILL" THEN 40 PRINT NAME$+" SOUNDS LIKE A NAME FOR A DORK!" 50 ELSE 60 PRINT NAME$+" SOUNDS LIKE A GREAT NAME!" 70 END IF
I also tried to prank people with a program I wrote that mimicked a BSOD, but I couldn't get anyone to fall for it.
PS- No hard feelings between me and NAME$, one of the few high school friends I still spend time with. He still remembers the program and laughs.
10 PRINT "WHAT IS YOUR NAME";
20 INPUT NAME$
30 IF NAME$ = "BILL" THEN
40 PRINT NAME$+" SOUNDS LIKE A NAME FOR A DORK!"
50 ELSE
60 PRINT NAME$+" SOUNDS LIKE A GREAT NAME!"
70 END IF