Easy-to-use programming language that drove Apple, IBM, and Commodore PCs debuted in 1964.
See full article...
See full article...
If this is the kind of logic you guys were employing I'm not surprised VB had issuesto the point where I think we all wanted to chew our legs off to escape the conference room.
And a lot of strongly typed languages will just do integer division on two integers even if you're assigning the result to a floating point or decimal type which is not a super-obvious-to-non-developers behavior.Python has that operator ( / is floating point, // is integer division), and it's sometimes very useful. And the % remainder operator is super useful for working with modulo math.
What's wrong with an integer division operator, anyway? perl5 didn't have one built in, which was pretty annoying. Yes, there are workarounds like defining a div() function that rounds the result to integer, or declaring 'use integer;' to turn all of the operators in scope integer-only, but 98.6% of perl's appeal was that it allowed you to write scripts quickly without resorting to these silly incantations.Python has that operator ( / is floating point, // is integer division), and it's sometimes very useful. And the % remainder operator is super useful for working with modulo math.
I have no idea how the VB team implemented theirs, they could certainly have screwed it up somehow, but both integer division and remainders are, IMO, great features. They're not hard to do manually, but the builtins are really handy.
Your silly incantations aren't silly enough. I prefer to convert my floating division result to a string, and then pull the left digits up until the decimal point and convert them back into a number for the result.What's wrong with an integer division operator, anyway? perl5 didn't have one built in, which was pretty annoying. Yes, there are workarounds like defining a div() function that rounds the result to integer, or declaring 'use integer;' to turn all of the operators in scope integer-only, but 98.6% of perl's appeal was that it allowed you to write scripts quickly without resorting to these silly incantations.
Though not nearly as popular; VB.NET is as functional a development language as C# (indeed, both compile to the same intermediate code and there are only a handful of functional differences, such as VB's support of shadowed classes), and easier for a new person (who lacks experience in a C-style language) to read. I do know of some places that use it for professional development.
There are currently many business systems around the world using PICK basic.Missing from this article: In the 70s and 80s, there were thousands of PICK-based business applications around the world written in a wonderful high-level version of BASIC . At certain points PICK was likely the most used OS in the world. Seemingly every company had a version: Fujitsu, IBM, McDonnel-Douglas, Adds, the list goes on and on. I ended up on these systems in the early 80s, including the excellent PRIMOS (from Prime Computers), which had a powerful PICKish application call "Prime Information". PICK was eventually ported to all of the various Unix variants, and so I ended up progamming in PICK-BASIC on unix systems for my entire career, until about 4 years ago. It was integrated well with unix and I always used highly structured code. NO branching (like gotos) EVER whatsoever, even though the language allowed it. Also there were no line numbers. The last company I helped with this environment recently replaced it with Microsoft Dynamics 365FO, and productivity dropped so badly, they literally doubled their staff (over 100 people had to be hired!).
I upgraded my 400 with a third party kit that replaced the membrane keyboard with real keys, and programmed it in Action!, which was a pretty amazing product for its time. Later I could afford to get an 800 when it was on sale, but it just wasn't the same.I learned computer programming writing Basic on an Atari 400. Ahhh that chiclet keyboard, I developed muscles on my fingers.
A high school friend took me with her parents to buy a computer to use at university when she was transferring from the two year community college to the four year university (that I went to) and for some reason settled on an original Mac. It wasn't very useful for doing her CS homework which was on a VAX system at the college until I wrote a VT-100 terminal emulator in MacBASIC to use with the modem and do assignments from her apartment.I later wrote a Prism terminal emulator for Macintosh that was used by Bank of America.
If you don't stop printing puns then next I'll return with a log to end you.Basic was always my goto programming language.
I forgot about leaving the computer on. My (dad's, but he didn't learn to use it) TRS-80 was plugged into a switch-controlled socket in my parents' bedroom. I would leave the switch on, but family members would complain "who left the light on" and switch it off. They would forget I had said don't switch it off.We had a Blue Chip floppy drive for our C128. It caught on fire (literally) so we had to send it back to be refurbished under warranty. The next month or two was painful as my brother and I waited for them to fix it and ship it back (we lived on a small island in Alaska where most packages came via the slow boat). We had no way to load programs, so we had to type everything in. If it was a long program, we’d leave the computer on for days because we didn’t want to lose all that effort. We were really happy to have that drive back!
Atari BASIC was pretty buggy and terrible, as I recall.IBM doesn't belong in that headline when Atari is absent.
Why would they lie?(though they later denied that)
Though not nearly as popular; VB.NET is as functional a development language as C# (indeed, both compile to the same intermediate code and there are only a handful of functional differences, such as VB's support of shadowed classes), and easier for a new person (who lacks experience in a C-style language) to read. I do know of some places that use it for professional development.
TI-99/4A here as well. Mr. Bojangles was my first "long" project from the manuals, and it was the first time I discovered that nothing is saved and the tape adapter cable was a lifesaver. Damn good times.
View attachment 79747
It's hard to imagine writing disk controllers, etc., in BASIC...
You're correct. The DTSS operating system was written in assembler. Later on, in the '80s, it was rewritten in XPL, a subset of PL/I that was well suited for systems programming.It's hard to imagine writing disk controllers, etc., in BASIC, and I don't think that's actually what was done; the Dartmouth Time Sharing System was probably written in assembler, as would have been common in the early 60s.
For those of you following along at home, that means that all variables have to be explicitly declared before use. Mostly, it helps with typos in variable names.Best addition to the original BASIC language?
OPTION EXPLICIT
Dammit. I thought I'd win the old fart prize for first using BASIC through a Teletype, but you did it earlier than I did. In 1971, I started kindergarten. I was still in the same school when I got my first after-school classes in computer programming, but I was probably in 3rd grade by then.It was 1971 and I was 12. The school had dial-up access to some time-shared system at some local company on Long Island (east of NYC). I was one of the 3 or 4 students in my junior high school that used one of these: https://en.wikipedia.org/wiki/Teletype_Model_33 - we wrote simple BASIC programs (games mostly, as I recall) and used paper tape for storage. I remember cannibalizing a desktop pencil sharpener as a way of making it easier to wind / unwind the rolls of programs.
For those of you following along at home, that means that all variables have to be explicitly declared before use. Mostly, it helps with typos in variable names.
Well, it does ship with a Javascript interpreter, which is arguably a far nicer sandbox to play in than the old Microsoft BASIC....I wish Microsoft kept having something like BASIC shipped with the OS. It's easier now, but kids finding it and playing with it would be better.
Funny you should mention that -- when I worked for How-To Geek I found and interviewed the author of Gorillas.bas for the first time: https://www.howtogeek.com/779956/gorilla.bas-how-to-play-the-secret-ms-dos-game-from-your-childhood/Are we really going to have an article about BASIC without mentioning GORILLAS.BAS? For shame!
Strictly speaking, both a Javascript and VBscript interpreter are included, but they only run in a batch mode (reads code from file). See cscript and wscript.Well, it does ship with a Javascript interpreter, which is arguably a far nicer sandbox to play in than the old Microsoft BASIC....
Same here. Great memories.My first coding experience was BASIC on a VIC-20 with cassette tape store. Memories...
When I was a kid, I use to go to the Lawrence Livermore Science Lab and go to their public computer room where they had dozens of paper teletypes for the public to use to play with BASIC.