6 ms·
BASIC turns 60
- duxup 3y agoI distinctly remember being taught BASIC in school in the 1980s and quickly thinking “this is awfully basic” and not wanting much to do with it. Now I don’t know if my childhood evaluation was correct but I do wonder: Were there many complex programs written in BASIC? Or was it largely a teaching tool?
- pjmlp 3y agoPlenty, outside 8 bit computing, BASIC was structured and had enough compilers to chose from.
- ajross 3y agoLots and lots of BASIC was used in production for routine IT-ish tasks at the dawn of the personal computing era. It was the only meaningful way to implement custom tasks until the mid-80's when environments like Turbo Pascal showed up. For years and years technically-savvy small businesses were buying Apples and PC's and then writing their own BASIC to glue together whatever automation they needed. Was much commercial software written in BASIC? (Edit, because this is being misunderstood: I'm not talking about the evolved BASICs being pushed by the late 80's, only about the ones like Applesoft and GWBASIC the commenter is asking about) No, very little. As you point out BASIC doesn't offer much to developers who already understand a macro assembler. But the market was much bigger than that.
- SoftTalker 3y agoThere was some business use. https://en.wikipedia.org/wiki/Business_Basic https://en.wikipedia.org/wiki/Business_Basic Was popular with some smaller companies for their internal custom systems. Had some similar capabilities as COBOL without the IBM tax.
- skissane 3y ago> Had some similar capabilities as COBOL without the IBM tax. COBOL never had an "IBM tax", because almost every non-IBM vendor had a COBOL compiler. If you didn't want your COBOL from IBM, you could buy it from DEC, HP, Wang, Unisys, NCR, Honeywell, Microsoft, Micro Focus, Watcom... That said, if your COBOL was running on an IBM platform, you often were using lots of IBM proprietary features (e.g. CICS) which made it hard to port to another vendor–and that could indeed be an "IBM tax". But that's wasn't due to COBOL in itself. If you limited yourself to standard COBOL, and avoided IBM proprietary stuff, moving your COBOL app to another vendor didn't have to be difficult BASIC attracted business users because it was viewed as simpler and easier to learn, because it could run on smaller machines, because (often) using an interpreter instead of compiler resulted in faster development (no edit-compile cycle).
- chasil 3y agoA free copy of DEC's original COBOL compiler for the VAX can be found in the VMS 1.0 image at this site: https://www.wherry.com/gadgets/retrocomputing/vax-simh.html https://www.wherry.com/gadgets/retrocomputing/vax-simh.html Modern GNU COBOL can be found at this site: https://www.gnu.org/software/gnucobol/ https://www.gnu.org/software/gnucobol/ A great deal of the COBOL that we use relies on OS2200 DMS, originally from Univac.
- skissane 3y ago> A free copy of DEC's original COBOL compiler for the VAX can be found in the VMS 1.0 image at this site: Where? I don't see any VMS 1.0 image linked to on that page. Instead I see instructions to join the HP OpenVMS hobbyist program, which no longer exists, in order to install OpenVMS 7.3 on an emulated MicroVAX. There is no longer any hobbyist program offering legal access to VMS for VAX. HP's hobbyist program was terminated and replaced by VSI's, which never included VAX (and more recently they appear to have dropped Alpha and Itanium, making it x86 only). Licenses to legally run VMS for VAX are very limited (e.g. maybe buy a used MicroVAX or VAXstation which comes with a VMS license)
- skissane 3y ago> Was much commercial software written in BASIC? No, very little. There was a huge amount of commercial software written in BASIC dialects such as classic Visual Basic and ASP, Pick/BASIC, HP Business Basic, Wang 2200 Basic, DEC BASIC-PLUS, etc. Boring business software you would likely have never heard of but which was (and in some cases still is) essential to running all kinds of different businesses. I used to work for a university and both the student administration system and the accounting system were off-the-shelf software, mostly written in VB6 and classic ASP (I believe the vendor also had some COM components written in C++, they had their own app framework, but the business logic was all VB6). At the time, we were waiting for the vendor to finish porting it to VB.NET. 20 years later, it probably still is in VB.NET.
- Locutus_ 3y agoI was surprised to get an email today notifying me of the X86 release of the DEC BASIC PLUS compiler...
- ajross 3y agoFWIW those are all third generation "structured BASIC" languages, not what I understand the upthread commenter to be asking about. Obviously you can evolve the syntax into a more popular language, and Microsoft did to great effect. But that's not the BASIC that was "taught in school in the 80's".
- skissane 3y ago> FWIW those are all third generation "structured BASIC" languages, not what I understand the upthread commenter to be asking about. They weren't. Many minicomputer BASICs of the 1970s and early 1980s, such as Wang's, lacked those structured programming features you are talking about, at least originally. They were classic GOTO/GOSUB line number spaghetti code. And huge amounts of business software was written in them. Some of those apps still run today, because the languages have been ported to Windows/Linux/etc. And eventually, just like Microsoft did, they added a lot of those structured programming features. But sometimes you'll find pre-structured spaghetti-style code surviving long after the dialect gained the ability to do better.
- mypalmike 3y agoLots of commercial software was written mainly in BASIC. Plenty of games (a couple popular examples are Temple of Apshai and Questron, but there are certainly hundreds, particularly if you look at educational games of the 80s). And a lot of productivity stuff was written in BASIC, like database management (e.g. APX Data Management System - lots of the APX titles were written in BASIC), accounting (early versions of the very popular Peachtree accounting software), and even tax software (early versions of TaxCut).
- HeyLaughingBoy 3y ago> technically-savvy small businesses were buying Apples and PC's The outfit I worked for at the time sold directly into this area. We had a product line of simple I/O modules for physical automation (measuring temperatures, controlling motors, etc...) and all our programming instructions and examples were given in BASIC because it was on all computers and it was the one language that we knew everyone would be familiar with.
- rootedbox 3y agoIt's Turing complete.. and my apple II library had all sorts of crazy apps written in basic. I remember taking them apart when I was like 10.. and being like who has the time to write all these lines! Which.. I still think is crazy considering no IDE and how you would just input them line by line... leaving space between lines just in case you needed to put a new line in later.
- pan69 3y agoWhen using line numbers you wouldn't go from 1 to 2 to 3 etc, but from 10 to 20 to 30 so that you can always insert a line (e.g. 11) between 10 and 20. After a while when the numbering became to messy, you'd issue a RENUM command to renumber the entire program, e.g. RENUM 10 would make the first line 10, and then use increments of 10 for subsequent lines. At that point you start over by re-inserting new lines between the others.
- rootedbox 3y agothe good old days
- marssaxman 3y agoIt depends on what you mean by "BASIC". Nobody in that world cared much about portability or standardization, so the language had a protean quality; every vendor offered their own flavor, tailored to the needs of its platform. The variant you used may well have been a mere teaching tool, but there certainly were other dialects which served as serious application development platforms. I was a big fan of BASIC when I was young, and that led to spending the early portion of my career working on a series of BASIC compilers, all of them intended for complex software development. Two of them still sort of exist, in much-mutated form; one is now called "Xojo", and the other is Microsoft's rather-better-known Visual Basic.
- HeyLaughingBoy 3y agoRight. Still remember the day in college when I booted up my Radio Shack Micro Color Computer (MC-10) and someone exclaimed excitedly, "it has Microsoft BASIC."
- georgeecollins 3y agoVBA was used for tons of enterprise applications in the late '90s and early oughts. The implementation in things like Excel was surprisingly powerful and they had to sort of dial it back because they realized it was a huge security risk. (You could open up a spreadsheet that was a powerful virus.) In the '90s when we were developing a 3D game (in C++) I made an early iteration of the level designer in VBA on Excel. You would color cells in a spreadsheet and then hit a button, and the button would output a text file that told the game engine what mesh or object to put where. Terrible way to do it, but a great way to work fast in those primitive days.
- 7thaccount 3y agoPeople still use VBA all the time. I think of it differently than the basic language of the 80s or even the more powerful commercial compilers used by some today like PowerBasic. VBA is just so highly tied to Excel. There is a new way to also script Excel with some kind of typescript. It's built into the latest version of Excel and seems to be more straightforward.
- nxobject 3y agoAt this point, I think there are multiple sufficiently general-purpose languages bolted onto Excel if you have 365 (sadly enough, I work at a place with LTSC) - Power Query, the array language subset of Excel's formula language, Python, Office.js, VBA. But if you're collaborating with people I think you only predictably have VBA.
- HeyLaughingBoy 3y agoUgh! I still have nightmares about having to write the Validation procedure documents for a medical device production Quality system written in VBA/Excel. The program had started out as some scientist's desktop tool and somehow over the years, morphed into an actual production tool that now needed to be formally validated since we needed to make a change to it. Worst combination of spaghetti code and Big Ball of Mud that I've ever seen. I had the misfortune of being the only SW dev who was senior enough to do the task and who wasn't busy at the time, so I drew short straw! I shudder to think of the millions of dollars of product that have been shipped as a result of that code!
- TillE 3y agoExcept for some graphics code, Ultima I was written in Applesoft BASIC. Akalabeth was entirely BASIC, but that's somewhat less impressive.
- krumpet 3y agoI still play Ultima IV at least a couple times a year. Never gets old.
- MarkusWandel 3y agoBased on my limited exposure to "professional" software in the BASIC era... some pretty good stuff was a hybrid of BASIC and assembly language, leveraging the best of both (BASIC was pretty good at laying out screens, input fields etc, at least on the Commodore PET, whereas hand-coded assembly language had the code density and speed). Was it a "toy" language? Sure. I once implemented a non-scrolling toy spreadsheet program with it - just a fixed grid of cells - with some simple formula capacity and a manual "recalculate" trigger. Was that educational? You bet. Was it sophisticated? Not really. But I'll bet there were absolute tons of one-off business applications written in it. A simpler version of what Excel was used for later, and still is. And scientific calculations? If Fortran could do it, BASIC could. Until something better came along to replace both.
- MarkusWandel 3y agoAlso "awfully basic" compared to what? For me it was the first exposure to programming, period, and totally got me excited. Heck, back then even programmable calculators were exciting. There was just this hunger to program something, anything.
- reaperducer 3y agoWere there many complex programs written in BASIC? Or was it largely a teaching tool? People who weren't old enough to be in business remember BASIC as something from their home computers, but BASIC was integral to many businesses in the early years of general purpose computing. There were plenty of business programs written in BASIC, and part of its appeal was that any business owner with a little time could learn how to customize those programs to suit their particular business' needs. BASIC wasn't just for homes and home computers. Virtually every computer or computing device produced in that era had BASIC available for it, and for good reason. It was quick to learn, versatile, and when you knew the basics on one system, you could use that knowledge on other systems. BASIC was available on machines ranging from $250 to $200,000 or more. There wouldn't be BASIC on $50,000 machines if there wasn't a demand for it. My memory is a bit fuzzy on this specific, but I'm pretty sure that HP had a computer that came with both BASIC and AP/L. Nobody was using that machine in their homes.
- bombcar 3y agoI seem to remember some pretty serious (as in actual paid) programs written in QuickBASIC - the compiled version of QBASIC. Lots and lots of 'business middleware' was written in various forms of BASIC, the most famous being VBA, but also quite a bit in things like QuickBASIC in an older period. https://qb64.com https://qb64.com keeps the dream alive.
- satiated_grue 3y agoI was recently playing a commercial Atari game from 1981 called "Ricochet" that was written in BASIC, which came on a cassette. Atari BASIC stored its programs in memory using a tokenized format - it did syntax checking when the line was typed in, and then the tokenized form was stored to save memory. There was a table of variable names, indexed by token. So a quick and easy obfuscation technique was to overwrite the variable names with something like just carriage returns, so that when you LISTed the program it had no variable names and lots of extra line breaks. As I recall, at least. Haven't reinforced those memories in a while.
- magoghm 3y agoMAI Basic Four Inc. was a relatively succesful computer manufacturer that sold business computers that used BASIC as the development language for business applications: https://en.wikipedia.org/wiki/Basic/Four https://en.wikipedia.org/wiki/Basic/Four
- bitwize 3y agoMAI Basic Four was one of the business software platforms for small businesses in the 1970s. MAI sold it as a turnkey solution including the computer which was a rebadged Microdata 1600. It was almost a BASIC machine the way Lisp machines were Lisp machines: all application level code, including that used for system maintenance, was written in BASIC. The dialect was one of many called "Business BASIC", which basically extended normal BASIC with COBOL-like capabilities like better string handling, decimal math for currency handling, and ISAM-like file manipulation. It allowed for developing the same kinds of applications as COBOL while having a nicer development environment than COBOL. The major accounting suites for small business of the 1970s, MAS 90 and MAS 200, were written in Basic Four BASIC. A lot of applications were. Other dialects, like Pick BASIC, supported business applications as well. All of these were much more fully featured than like Microsoft BASIC on Commodore/Apple/Tandy machines. Those were toys in comparison to minicomputer BASICs. Basic Four itself shipped on some microcomputers like the Tandy 2000. Compatible environments came out for PC, including AB86 for DOS, Thoroughbred/OS, BASIS BBj, and ProvideX. Keeping those old systems running on newer hardware was an enticing business, just like for COBOL programs.
- emorning3 3y agoIn the late 1980's I rewrote a very large pension actuarial forecasting system, written in Fortran, to Basic. I'm very not sure, so I'm guessing that the system had several hundred thousand LOC. The idea was to stop spending a fortune on mainframe time and run pensions valuations on a microcomputer. The Fortran system, running on a mainframe, might take 60s to run a valuation. The same valuation would take a full day to run on a microprocessor, but it worth it because it reduced costs by a lot.
- lyk2005 3y agoI am curious how do you write software that takes a day to run. Today I can write line by line, and because computers are so fast, even "long" tasks complete/crash fast enough for me to iterate. I assume you had test cases but I still want to know.
- Jtsummers 3y agoDo you mean how do you write something that takes that long at all? By having data that takes that long to process. If you mean the actual accomplishment of it in general: 1. Get a subset of data that lets you create a representative set of test cases. You can validate your code in minutes, not hours or days. Then you run it on the full thing once you've seen that the 5-minute job works as expected. 2. Sacrifice a goat, pray to hopefully the right god, and hope it wasn't their son from a goat mother that you sacrificed. 3. Spend a lot more time thinking before doing. 4. Read a lot. (1) works if you can run the task on your own system or have access to a system to run it on. This is the best option, or some variation on it. (2) is unfortunately what happens a lot, they usually sacrifice the wrong goat and end up cursed instead of blessed. (3) and (4) are the next best option after (1), and should be done alongside (1) anyways. The system I'm on now is legacy and being upgraded. The test bed is available to me maybe 1 hour a week right now because everyone needs it and everything is urgent, apparently. I spent a lot of time reading the code, the documentation, and thinking about how to structure my solution to a problem our users have. My first pass validated the solution concept and took 3 days or so of thinking hard about the problem and 5 minutes of coding. The second pass is more robust (error handling) that took several more days of reading and thinking to identify what error cases could even occur, and two hours of coding. Yeah, if I could run it locally I probably could have finished it all in those first 3 days (honestly my 5 minutes of coding was figured out by the end of day 1, but I wasn't certain since I was new to the codebase). But when that's not an option, you spend more time thinking about the problem you're solving and the problems your solution will generate so you solve it before you run it in the first place.
- garfij 3y agoWe had a version of Bomberman that was written in some version of BASIC in high school (maybe QBasic?). It was great because we could hack on it to modify the game and immediately play with those modifications.
- HeyLaughingBoy 3y agoAt my first job, our order entry system was written in BASIC. The second version of the system was written in QBasic. I wrote lots of test and demo code in the language. We used it in all our manuals, since it was the one language that we knew our customers (mostly engineers and scientists) would be able to program in. I started writing a spreadsheet in BASIC, but never finished. I wrote a couple of simple games in it also. There are more, but I've forgotten about them. Now, if we expand the definition to include VisualBASIC, then the amount of production software written in the language explodes into at least 100,000 programs.
- boznz 3y agoGorillas ( https://en.wikipedia.org/wiki/Gorillas_(video_game) https://en.wikipedia.org/wiki/Gorillas_(video_game) )
- ykonstant 3y agoI wrote tons of cryptography and cryptanalysis code in a combination of assembly and BASIC on MS-DOS.
- JohnFen 3y ago> Were there many complex programs written in BASIC? I don't know generally, but I worked in housekeeping at a large hotel for a few years in my younger days, and the software they used to track the rooms was in interpreted BASIC. I didn't know that until my manager started cursing because the software broke. When I looked at the screen, the error message syntax was clearly that of BASIC. I just typed "RUN" at the prompt and everything worked again. She thought I was a genius.
- themadturk 3y agoI wrote a document management system in VBA for Word for a law firm I worked for in the late 1990s. Created a unique filename for new documents, stored and retrieved, maintained an index of titles, etc. We replaced it a year later with a much better system, but it was a valuable stopgap for something we desperately needed.
- fsniper 3y agoYes there were very serious software written in different Basic dialects. One that I was interacted with was a CAD software written in QBasic. It was about civil engineering and static analysis tool for concrete buildings. You could export projects to dxf format so you could import into AutoCad to fix bugs and plot. Funny how the name was MGCad and author insisted it stood for MegaCad. I suppose It was a nice coincidence that the Author's initials were MG :)
- pjmlp 3y agoHappy birthday BASIC! A short reminder that the original Dartmouth BASIC was actually JIT compiled, including while using the REPL. And most big iron OSes like VAX/VMS had proper compilers. It was due to the 8 bit home microcomputers that it got the fame of being interpreted, as naturally there is only so much that fits into 16 - 64 KB.
- rbanffy 3y agoAs a language, it's very low-level. It has nicer syntax than assembly had, and is relatively portable, but the concepts are all really close to the metal.
- pjmlp 3y agoWhich meant a quite good performance, in a memory managed language, and ability to do systems programming. There was nothing missing in VMS Basic, Turbo Basic, QuickBasic, DevPac BASIC, that would make me reach out to C.
- rbanffy 3y agoOn my Apple II's (with AppleSoft BASIC) I missed proper functions and the ability to use a stack. Recursion was next to impossible to express.
- rbanffy 3y agoIt's hard to overstate how important BASIC was to the adoption of personal computing - it provided a straightforward way to program an entire generation of home computers and bootstrapped countless careers.
- SoftTalker 3y agoCertainly did mine. I credit my career in programming to an after-school class in programming BASIC on the TRS-80 when I was in middle school, and then the TI-99/4a I had at home when I was in high school. I even used BASIC professionally for a while in the 1990s.
- dotnet00 3y agoYep, BASIC bootstrapped my programming interest even as late as the late 2000s. School library was ancient, the only programming books were on BASIC and internet access was limited. So I got started trying to use those to learn this: https://justbasic.com/ https://justbasic.com/ (surprisingly, updated even up till 2018, and the paid version updated just a few months ago). As a clueless, overly ambitious 12 year old I was a massive annoyance for the skilled users on their forums, I remember getting ranted at for wasting people's time with stupid questions, writing awful code, not understanding licenses etc, but it was a pretty good entry point until I managed to get my hands on books for more modern languages.
- 392 3y agoExact same story for me with JustBASIC, late 2000s, no home Internet connection except dialup. Excellent built in help.
- nlunbeck 3y agoAFAIK, my highschool still is offering BASIC in their intro CS curriculum. It's just so accessible and many of us preferred it over Python for intro classes
- mysterydip 3y agoQBASIC and the printouts I could get of fanzines or Pete's QB Site kept me engaged in programming throughout middle school. I moved ok to VB 5/6 in high school and began my career making all kinds of small apps and utilities for people and companies.
- AlexeyBrin 3y agoAn amazing book about the history and evolution of BASIC: Endless Loop: The History of the BASIC Programming Language by Mark Jones Lorenzo
- hgyjnbdet 3y agoStill using a version of BASIC today, VBA.
- jcadam 3y agoMy introduction to programming was with Integer BASIC on the Apple II. I was about 7 years old at the time and was hooked instantly. From there, I moved on to Amiga AMOS (also a basic), Pascal, C, and so on... Given the state of the field these days though, I can't help but wonder if I should have gone into some other line of work instead.
- quaffapint 3y agoLet's see my BE language progression went from... Apple Logo->Commodore BASIC->Fortran->Pascal->PHP->Java->VB6->.NET...and other modern things. ...With scripts of various types mixed in there. But BASIC is what got me hooked. Being able to write my own games on the Commodore 128 was fantastically addicting. Leaving demo store Commodore's flashing background colors with POKE 53281 and looping around felt like I was the king of the world.
- steve1977 3y agoWhat was really great with BASIC on computers like the C64 or C128 was that the barrier of entry was so low. It was just there, it was the shell. So you might as well try that 10 PRINT“HELLO“ 20 GOTO 10 and see what happens
- seryoiupfurds 3y agoHaving QBASIC right there and available to play with was my introduction to programming as a curious 11 year old. I remember reading every topic in the help browser over and over looking for how to write to the screen, because I didn't want my first program to waste paper with the PRINT statement. One section of the manual told me to use labels instead of old fashioned line numbers, but I could never figure out the syntax to GOTO them. So I kept a nice index card with line number ranges for all the functions in my program. It worked great until I had to spend a day debugging a line number that ended with O instead of 0. It was always a big mystery why renaming my program from .BAS to .EXE didn't let me click to run it like other programs. Ah, memories...
- vram22 3y ago>It was always a big mystery why renaming my program from .BAS to .EXE didn't let me click to run it like other programs. Ha. Like other such newbie-isms. One of my favorites: Computer: Hit any key to continue. User: Where's the any key? A google search will turn many more amusing ones.
- phone8675309 3y agoI remember specifically being excited to have QBASIC when my parents got our first PC. This comment reminded me of that excitement.
- wvenable 3y agoBASIC is a uniquely useful language on machines with extremely limited RAM. It was designed to take up as little program space as possible even when compared with machine language. On home computers, each BASIC keyword is tokenized into a single byte. I have a computer with only 3kb of RAM but has a comparatively large amount of ROM to support a complete BASIC. With BASIC you can create useful programs that would otherwise be impossible to fit into RAM. This has given me a newfound respect for the language.
- xgkickt 3y agoThere's even a version for the Nintendo Switch. https://www.petc4.smilebasic.com/?lang=en https://www.petc4.smilebasic.com/?lang=en
- bdcravens 3y agoMy start to programming was accidentally signing up for a class in high school that taught Turbo Pascal (1995). I then starting playing on my TI-85 (TIBASIC) and then bought a friend's old 286 and started hacking around in QBASIC. That unlocked a memory from when I was elementary school in the early-mid eighties and we did some programming on an Apple (II I'm guessing), writing BASIC, early enough that line numbers were still required.
- p0w3n3d 3y ago10 HOME 20 SWEET 30 GOTO 10
- binary132 3y agoI’ve been trying to teach my (admittedly pretty young) kids Lua and I have to say BASIC is just a lot simpler to understand when you don’t know anything about anything.
- duffyjp 3y agoIn elementary school my uncle gave me his old LASER 286S. It was too old for all the games my friends played so I mostly just farted around in QBasic all day. I really wish I still had that system and all my BASIC scripts but those are long gone.
- kstrauser 3y agoI worked as a hotel night auditor during college. It was great for me: I did actual work from around 11PM to midnight, then loafed around until around 6AM when it was time to set up the breakfast table. A big chunk of my job was doing tedious manual edits in the guest management software that tracked who was in what room, what phone and pay-per-view charges they'd racked up, etc. It occurred to me to peek at its database file and see if I could pull any useful data out with automation. The DB turned out to be a flat file of fixed-length records. The DOS PC had a copy of QBasic on it and I used a bunch of trial and error to map those records to types, and then I could loop across the records to get interesting data out of them. Long story short, I ended up with a system we'd run nightly to correct misspellings, build reports of which companies did the most business with us and how recently, identify regular guests who hadn't been around in a while, and a thousand other little things that made my job much more pleasant and my boss extremely happy. It would be much easier to recreate that program today in a nicer language. I didn't have a nicer language available, though, and while it wasn't pretty, QBasic got the job done.
- chasil 3y agoThe AWK Programming Language was published in 1988, and indicates: "Aside from these limitations, however, awk should be useful in any environment; in particular, it runs on MS-DOS. Further information is available from Addison-Wesley." It likely was not easy to find, and I hadn't heard of it until 1990.
- johannes1234321 3y agoIn a pre Internet time a lot harder to learn about, fetch and learn than QBAsic, which was saprt of DOS and had a quite good online help system. Many alternatives existed, but non that were so approachable on DOS (and many other systems in their variant)
- kstrauser 3y agoThere's zero chance I personally would have been capable of building that same software in Awk, even if I knew of it, and even if I knew how to get it onto that non-networked computer that didn't have any removable media in common with what I had at home.
- throw0101b 3y agoAlso, Fortran is 1954 (70 years old this year) and LISP is 1958: * https://en.wikipedia.org/wiki/History_of_programming_languages https://en.wikipedia.org/wiki/History_of_programming_languag...
- WillAdams 3y agoAn interesting aspect of this is why there wasn't a BASIC on the Mac early on (save for an text-based version offering from Microsoft which barely allowed writing to the screen): https://www.folklore.org/MacBasic.html https://www.folklore.org/MacBasic.html
- Gormo 3y agoI recall using TrueBASIC on the Mac in the early '90s, and IIRC, it had already been around for a while. It was a nice, structured dialect that didn't rely on line numbers.
- timbit42 3y agoMicrosoft didn't understand GUIs yet. Amiga BASIC was also written by Microsoft and the GUI support is also limited. Apple didn't create a BASIC for the Mac because was into Pascal and had used it for the Lisa OS and apps. Much of the Lisa code was reused in the Mac OS.
- WillAdams 3y agoI guess you didn't read the link? >Donn was making good progress and looked to be on track to ship in early 1985; we were excited to show the world what Basic should really look like on the Macintosh. >He knew that Donn's Basic was way ahead of Microsoft's, so, as a condition for agreeing to renew Applesoft, he demanded that Apple abandon MacBasic, buying it from Apple for the price of $1, and then burying it. I bought Microsoft's BASIC for the Mac, and it was a waste of money, and I'd've much rather had Apple's based on my reading of the books which were published about it despite it not having been released save as a beta: https://apple.fandom.com/wiki/MacBASIC#Books https://apple.fandom.com/wiki/MacBASIC#Books
- timbit42 3y agoI read every article on that website a number of years ago but I forgot that story since.
- WoodenChair 3y agoThere's a really good documentary on the creation of BASIC at Dartmouth (made by Dartmouth): https://www.youtube.com/watch?v=WYPNjSoDrqw https://www.youtube.com/watch?v=WYPNjSoDrqw If you don't want to watch the documentary, we did a shorter podcast episode about it: https://pnc.st/s/kopec-explains-software/6d99d278/basic https://pnc.st/s/kopec-explains-software/6d99d278/basic
- travem 3y agoSQL also turns 50[1] today, I think that it has much wider active usage today than many of its contemporaries. [1] Archive of "SEQUEL: A STRUCTURED ENGLISH QUERY LANGUAGE" https://web.archive.org/web/20070926212100/http://www.almaden.ibm.com/cs/people/chamberlin/sequel-1974.pdf https://web.archive.org/web/20070926212100/http://www.almade...
- refset 3y agoIt's great how the very first SQL query in that paper is still completely valid and runs on countless implementations: > SELECT NAME FROM EMP WHERE DEPT = 'TOY'
- karmakaze 3y agoI have a great appreciation for BASIC, being the first language I was exposed to both at home on my Atari 400 and in school on TRS-80 and Wang computers. Since then I went through various machine/assembly languages, C, C++, Pascal, and modern procedural languages. Lately I spend most of my time writing less-procedural code on procedural languages. Eliminating the step-by-step 'time' element and mutating variables is the best way I know to make more comprehensible software. Just because computer hardware executes step-by-step in time, doesn't seem like a strong enough reason to learn programming this way. I'd really be curious what would happen if programming (not 'computers') were taught more transactionally with defined inputs, outputs, and a mapping definition that gets coded with intermediate expressions rather than time-varying data building. Basically, instead of starting with for/if/etc then eventually finding filter(predicate), map(function) start with them. There's a bit of learning curve up-front, but it seems flatter from there compared to all the accidental complexities created with the other approach. The first-class function aspects can even be bypassed by only using anonymous block syntax for a long time. Is there a semi-popular introductory language that is more based on (or can use) immutable data and mapping expressions? Even for my own use, I can't really find much more approachable ones than Kotlin/Java/(Gleam?), F#/OCaml/Elm for statically typed ones. For dynamically typed languages, the close ones I can think of are Ruby and Elixir.
- behringer 3y agoIf you're looking to celebrate with other BASIC programmers,come hang out with us at https://discord.com/invite/Ge4ErMcdQR https://discord.com/invite/Ge4ErMcdQR
- Thoreandan 3y agoSo ubiquitous, it was even on the Playstation 2. :^) https://en.wikipedia.org/wiki/Yabasic#PlayStation_2 https://en.wikipedia.org/wiki/Yabasic#PlayStation_2 https://www.theregister.com/2000/11/07/sony_adds_basic_to_playstation/ https://www.theregister.com/2000/11/07/sony_adds_basic_to_pl...
- neilk 3y agoI read a book called A People's History of Computing in the United States, which wildly oversells itself, it's just a history of Dartmouth Basic and the culture surrounding it. https://www.hup.harvard.edu/books/9780674970977 https://www.hup.harvard.edu/books/9780674970977 But even then it was very interesting! The philosophy was that anyone could program, and they really did build a culture of amateurs writing programs that answered their own needs. The author has access to a lot of ephemera from that time which gives some flavor of what it was like in the lab. And then, BASIC culture spread by unlikely methods, like the Pillsbury Dough company. No, really. For whatever reason they got involved allowing local schools in the midwest to time-share with their big mainframes.
- JohnFen 3y agoAhh, BASIC. I still consider it a bit of a naughty language. When I first learned to program as a child, it was in Pascal (on a mainframe... microcomputers were barely a thing back then). Our instructor expressly forbade us from learning BASIC because "it would teach us bad habits". That which is forbidden becomes attractive, of course, so a bunch of us kids started getting together on our own and we all learned BASIC on the sly. It felt so... wrong... and delicious. Forbidden knowledge is fun knowledge. That's how BASIC became the second high level programming language I learned.
- tristor 3y agoLearning QBASIC with assistance from my dad on our family Tandy PC when I was 4-6 years old was a major driver for my career in technology later in life. Who else remembers the simple game Gorillas that came with QBASIC with its source code visible to read? That was a key inspiration for some of my early programs.
- ethanholt1 3y agoHappy birthday to the language that got me into software. Admittedly, BASIC as a language was quite limiting, and, well, basic. At least the flavor I was using. I made quite a few rudimentary games on my dad's old TRS-80 Color Computer, and eventually learned C because of it. BASIC may not be the greatest language power-wise, but it damn well may be the greatest just because of how iconic and important it was to the programming sphere as a whole.
- WalterBright 3y agoBASIC was my first programming language. Of course I abandoned it for Fortran, C, C++, etc. But when I was considering developing D, I thought about string manipulation. It was so easy in BASIC. Why was it so terrible in C and C++? So, so many bugs in string manipulation code. So much time spent on it. A major goal of D was to have strings work like in BASIC. And they do! Very happy about that. Thank you, BASIC!
- Gibbon1 3y agoFirst BASIC I used was Rocky Mountain basic on an HP 9845C. After that Pascal and C strings were so terrible. Rocky Mountain BASIC also had multidimensional arrays and array operations. And support for sparse arrays.
- mehulashah 3y agoI learned to program with BASIC. My first program was one to balance my Dad's checkbook. I copied it from a manual and added some extra PRINT statements for flair. I was in 4th grade. It was on a Timex Sinclair. Then I tried to draw a smiley face and ran out of RAM -- it only had 1K.
- tasty_freeze 3y agoMost people think of one of the MS BASIC dialects when they think of BASIC (at least in the US). The original Dartmouth BASIC had matrix primatives, including MAT READ, MAT PRINT, MAT INPUT, and functions like MAT A=INV(B) (yes, matrix inversion), MAT A=BC, MAT A=B+C, MAT A=B-C, MAT A=B(2) (scalar mult), MAT A=TRN(B) (transpose), MAT A=IDN(5,5) (5x5 identity matrix), MAT A=ZER(5,5) (zero), MAT A=CON(5,5) (fill with 1.0). I cut my teeth on Wang 2200 BASIC, which was an extended Dartmouth BASIC, so it had the above MAT statements, but also a bunch of wild ones that did searching and sorting on arrays, merging two sorted arrays into a sorted output, and more. Here is a statement that searches a character array A$() in columns 1-5 for a string in Z$: MAT SEARCH A$()<1,5>,=STR(Z$,1,5) TO B$ STEP 5. Every match writes the location to a descriptor array (this case B$), where each pair of bytes was the offset in the A$ array where the match was found. Despite all that power, it still was quite limited: all variable names had to be a single letter or a letter and a digit. All variables were global. GOTO and GOSUB were either the line number or a "label" where the label was one of '0 to '255. Strings were statically allocated, not dynamic, and the max length was 64 characters (BASIC-2 extended that to 126 bytes). On the other hand, before the program started running everything was allocated there was no possibility of memory overflow during runtime, and no garbage collection, and any references to missing line numbers was caught up front.
- doublerabbit 3y agoSo, BASIC is basically 60.. REM EDIT 10: PRINT "I forgot hn doesn't do humour" GOTO 10
- RetroTechie 3y ago100+ comments, and nobody mentioned type-ins: Common in magazines, you'd have pages with listings that users could type in, save, and then run (in that order!). Well... usually including some corrections. The usual typo's, but even listings as published contained errors sometimes. BASIC was very suited for this as many keywords are plain English or -like. It's only later this got replaced by cover tapes etc. And in the NL, there was a thing called BASICODE: https://en.wikipedia.org/wiki/BASICODE https://en.wikipedia.org/wiki/BASICODE Which was an attempt to make a standard dialect that different computers could interpret, and/or convert into their own machine's BASIC. A late-night radio program (NOS Hobbyscoop) would often end its transmission with some minutes of tape-loading sounds. Users would record this on tape, run it through some conversion program, and RUN. So the same program as transmitted over the air, could then be run by C64, ZX Spectrum, MSX, Amstrad CPC users etc. Iirc it wasn't that popular compared to other ways of obtaining software. But computer users @ the time were eager to do & try anything they could get their hands on. Today's internet info-overload didn't exist then. And of course radio had a wide audience. Interesting programs could thus be distributed among many users quickly.
- simonblack 3y agoSo when I discovered BASIC , it was less than 10 years old? Early 1970s.