Most active commenters
  • makmanalp(6)
  • 1oooqooq(3)

←back to thread

377 points porterde | 33 comments | | HN request time: 2.274s | source | bottom
1. makmanalp ◴[] No.42142286[source]
Oh my GOD I have to comment. This is how I learned to program as a kid.

I found a copy of "Write Your Own Adventure Programs" (1983 - Usborne: https://colorcomputerarchive.com/repo/Documents/Books/Write%...) as a kid in my primary school's bookshelf. I remember the code was written in BASIC and my family didn't really own a computer back then.

Fast forward a few years later I saw this "Visual Basic" thing and thought it would be similar ... it was, but only sort of. I had no book to learn from at first so I remember clicking through every single menu and button available to see what it did. Then I remember using our dialup to download every possible 3rd party VB form control and throwing them in a Form to see what they did. I don't know why I found this entertaining enough to keep doing it.

Eventually by copy pasting and changing stuff I was able to write some basic "homework helper" programs: calculate the area of a circle and stuff like that. Soon after I tried to look up tutorials which taught me basic win32 programming to do things like have an icon in the status area next to the clock, and then hiding my window to run in the background and make annoying sounds so I could build a silly little prank program to install on my friend's computers which was fun but often would fail because they were missing some .dll file which wouldn't fit on the same floppy.

It could be frustrating at times but also I feel so blessed to have lucked myself into learning programming this way and my parents pretty much just letting me do whatever I wanted to this expensive device that probably was not a small thing for us to afford at the time.

Even tutorials felt more fun at the time, it'd be "hypnoMan37's windows registry tutorial!!! HEyyeyeyy Guuyzs :-)))) gzgzgz to my irc channel #blabla on EFNet! so first you call RegistryCreateNewKey32(...." because god knows I did not have an MSDN CD either.

Learning via a code camp feels way more efficient but also so much more dry in comparison. I wonder if there isn't a substantial cost to boring the newbies to death.

replies(9): >>42142679 #>>42142859 #>>42143066 #>>42143457 #>>42143619 #>>42144259 #>>42147804 #>>42148463 #>>42155834 #
2. calimoro78 ◴[] No.42142679[source]
This!

I want my kids to do the same but are really unclear as to how this is done today without BASIC. I am not psyched about tools that help you merely build platformers with WYSIWYG.

Any ideas?

replies(7): >>42142793 #>>42143070 #>>42143312 #>>42143913 #>>42144252 #>>42145781 #>>42147662 #
3. magospietato ◴[] No.42142793[source]
This is the smartest intentioned educational device I've found.

https://microbit.org/

It's rough around the edges, but what it does well is offer a wide array of sensor inputs, and very simple text output. And wraps it in a simple API.

You can compute temperature, direction, orientation, do GPIO, network via Bluetooth or direct radio, and drive it with a simple two button and marquee text UI.

4. jonah-archive ◴[] No.42142859[source]
> Then I remember using our dialup to download every possible 3rd party VB form control and throwing them in a Form to see what they did. I don't know why I found this entertaining enough to keep doing it.

Wow, that takes me back. My local library also had a copy of "Visual Basic How-To: The Definitive Vb3 Problem Solver" and at some point I'd renewed my loan of it so many times they told me I couldn't anymore. I remember building a working interface based on the "Peanut Computer" interface from the beginning of _Out of this World_.

5. cruffle_duffle ◴[] No.42143066[source]
Ah those custom controls. Everything I wrote as a kid was beveled to the max. Good times.
6. cruffle_duffle ◴[] No.42143070[source]
Esp32 with micropython?
7. recursive ◴[] No.42143312[source]
A text editor and index.html with <script src="hello.js">

You can get everything you need without paying any money or even driving to Circuit City.

8. galkk ◴[] No.42143457[source]
Same thing was with random turbopascal libraries and, later, Delphi’s vcl controls.

Damn Borland with their in-between library version incompatibilities. To this day I think it was the reason of their downfall.

> which taught me basic win32 programming to do things like have an icon in the status area next to the clock,

On one of programming Fido groups one guy literally had tagline “to put an icon in the area where the clock is you should use ShellNotifyIcon”

replies(1): >>42144232 #
9. pshc ◴[] No.42143619[source]
Mine was "How to Create Adventure Games" by Christopher Lampton (1986) at my municipal library. BASIC code that I entered into my dad's computer, which had QBASIC pre-installed.
replies(1): >>42144228 #
10. philiplu ◴[] No.42143913[source]
My kid (15 yo) keeps producing games in Python on his iPhone using Pythonista. Latest one is a Tetris clone with load/save game, music, animations on removing a line. I offer to help if he runs into problems but he prefers to hack away and learn on his own. Proud dad here :-)
replies(2): >>42153942 #>>42155029 #
11. makmanalp ◴[] No.42144228[source]
Look!

https://ia902300.us.archive.org/view_archive.php?archive=/4/...

replies(1): >>42150053 #
12. makmanalp ◴[] No.42144232[source]
I remember Delphi being the one that people lamented the loss of when VB was gaining in popularity. And ShellNotifyIcon - how could I forget? :D
replies(1): >>42146175 #
13. makmanalp ◴[] No.42144252[source]
_why the lucky stiff (also known for https://poignant.guide/ and a bunch of other things) had written something called "hackety hack" for kind of these purposes I think, but it may be abandonware at this point: https://github.com/hacketyhack/hacketyhack

But I'm not sure it was anything particular about the environment per se. Like, visual basic was written to do business software, truly the most boring thing imaginable. I think it's more about being left to your own devices with something that intrigues you for hours on end without an adult trying to control or direct what you're doing. Maybe. I'm not sure :-)

14. rd07 ◴[] No.42144259[source]
We have similar experience with VB6, though I was the opposite. Instead of reading a book about BASIC, I was reading a book about VB.NET.

My first interaction with Visual Basic was through VBA in MS Word. The first time I opened it, I know that it was a place to code, but I don't know what kind of code I have to type. I don't know any programming language at that time.

And then sometimes later, I found a VB.NET book at a bookstore. I was overjoyed at that time, and immediately tried it on VBA to be dejected because the code didn't run at all. I still remember how I several times, until I swear that if the last trial I do also didn't run, I will give up. Fortunately, it does run!!!

Turns out, I didn't know that the VBA on MS Word in my computer is based on VB 6 while my book is about VB.NET. The code is a little different, and that's why my code didn't run.

After that, I bought every book I can find about VB 6. I also somehow stumble upon a VB 6 IDE installation on my relatives CD stash, and installed it on my computer.

And till today, I still think that VB 6 GUI Builder is the best I have ever tried.

replies(2): >>42145854 #>>42153651 #
15. poulpy123 ◴[] No.42145781[source]
python, godot, gambas, processing, p5js... there are many languages or tools that can be used
16. mmerlin ◴[] No.42145854[source]
twinBasic.com is a revamp of VB6 using current tech
replies(1): >>42146393 #
17. memsom ◴[] No.42146175{3}[source]
VB beat Delphi to market by a number of years. I remember Delphi 1 arriving in about 95. VB was on version 3 (though I honestly don't remember the prior 2 versions.) I do remember a lecturer in University saying that he was excited for Delphi, because it was going to shift the dominance of VB in the RAD programming arena.
18. 1oooqooq ◴[] No.42146393{3}[source]
why all those products keep backwards compatibility with vb6?!?

it's this a niche for some industry? or all those products are aimed at people's nostalgia of running their old programs?

replies(2): >>42148467 #>>42148531 #
19. pmarreck ◴[] No.42147662[source]
https://crystal-lang.org/

Ruby syntax is very nice (I personally prefer it 100x to Python's), and Crystal makes it fast AND adds some typing.

There are GUI libraries for it for things like GTK or LibUI https://github.com/Fusion/libui.cr

The V language also looked ideal for this as it has a built-in GUI but upon investigation I found its internals are... not really fleshed-out or thought-out well, and its main maintainer likes to delete and ban any criticisms regardless of validity on its official forums, so that was out, maybe revisit it in a few years

20. rescbr ◴[] No.42147804[source]
I had the EXACT same experience as a kid. Found a GW-BASIC book on my parent's bookshelf, found out that QBASIC was bundled with Windows and it ran most sample code that were in that book and it went downhill from there.

When I was bored I loved reading the MS-DOS 6 manual cover to cover.

Back when Internet access wasn't readily available the quality of documentation and sample codes were impressive.

21. sixothree ◴[] No.42148463[source]
I've literally never seen this book before. This would have been a really good one to have when I was younger. Thank you for sharing!
22. sigzero ◴[] No.42148467{4}[source]
Maybe. I have a friend that only does VB6 programming support even today. He seems to be doing okay with it.
23. wvenable ◴[] No.42148531{4}[source]
VB6 is arguably the most popular and influential version of Basic it only makes sense to keep backwards compatibility with it. Why would anyone not want that from their Visual Basic clone?
replies(1): >>42156670 #
24. pshc ◴[] No.42150053{3}[source]
Yup, that's the one. I have a hard copy on my shelf :)
25. makmanalp ◴[] No.42153651[source]
When .NET finally came out and I started learning about it (I had signed up for a course at this point) I remember it feeling much more complicated - I didn't understand why I needed objects and I also recall not understanding access modifiers like protected / private - who am I protecting my code from? The book I got for the course was like an encyclopedia. I failed the microsoft certification exam, not surprisingly. I was just finishing middle school and starting high school so it didn't really matter.

I think there's probably some lesson in there about microsoft misunderstanding the strength of VB as a RAD tool for mom and pop shops and non-software firms who have a single tinkerer, rather than an Enterprise Language. It died a slow death in favor of C# at that point. Embrace, extend, extinguish, perhaps.

26. bn-l ◴[] No.42153942{3}[source]
Damn great parenting!
27. dr_kiszonka ◴[] No.42155029{3}[source]
How did you get your child to start programming? I had some success with Scratch, but it is not something my 9 year old would do for fun. (He likes 3D printing, but it is mostly just dragging stuff around.)
replies(1): >>42158059 #
28. vrighter ◴[] No.42155834[source]
I have that book too! It taught me a lot back in my qbasic days
29. 1oooqooq ◴[] No.42156670{5}[source]
because that's immensely backwards! what if vb3-6 had the same syntax as msbasic and same ascii text based UIs? it wouldn't have been as popular.

these tools could be the modern vb6, having modern UX paradigms such as responsive design etc... yet it is just producing something one would use only for nostalgia or explicitly support for a niche market still needing actual vb6... which i didn't know existed till now.

replies(1): >>42158155 #
30. philiplu ◴[] No.42158059{4}[source]
I mostly stayed hands-off and let him explore where he would. He really only got into programming more seriously the past couple years, so age 13 on, after we got him a gaming PC. He was playing various Roblox games, and decided he could write his own, so that got him started. He has his phone on bus rides to/from school, so he decided to play around in Python to pass the time. He's currently playing Space Engineers with some friends online, and they've all apparently decided the most fun for now is to learn C# for the internal scripting functionality that game provides.
replies(1): >>42162441 #
31. wvenable ◴[] No.42158155{6}[source]
There's nothing stopping anyone from building responsive UI components in this or even in Visual Basic itself. I thought were were talking about VB6, the programming language, not the UI toolkit. They are closely related but not necessarily the same thing.

Given that there are already other, more modern, languages and frameworks that do you want you describe I don't think there is a market for that kind of modern Basic. That's why nobody has done it.

replies(1): >>42163471 #
32. makmanalp ◴[] No.42162441{5}[source]
> I mostly stayed hands-off and let him explore where he would.

I think this is the way.

Also quite similarly soon after VB, learned C# so I could make mods for RunUO, which was a reverse engineered server implementation for Ultima Online that people would run free game servers with. At that point I was pretty hooked, and tried making things like dragon eggs that would hatch over time and evolve and such. There's something about other people being able to experience your code in a virtual world and also the creative aspect that makes it somehow addicting.

33. 1oooqooq ◴[] No.42163471{7}[source]
i don't think anything modern or not got even close to vb3-6 usability in creating practical UI programs.