Slashdot Mirror


QBASIC Programming for Dummies

HeavyJay writes "When I purchased QBASIC Programming for Dummies, I expected a clear, concise tutorial on how to construct programs in QBASIC. I'm new to the world of programming, and, having had luck with the Dummies series before, thought this the best place to start off. How very wrong I was." Read on for more; readers with recommendations for better (newer?) QBASIC books are encouraged to contribute. QBASIC Programming for Dummies author Douglas Hergert pages 399 publisher IDG Books Worldwide, Inc rating 5 out of 10 reviewer HeavyJay ISBN 1568840934 summary "The Fun and Easy Way to Learn QBasic Programming."

I've read countless books and online tutorials on QBASIC, C++, PHP, and other various languages. I'm sure all you wise programmers can tell me the first sample program that comes to mind with any language, can't you? The classic 'Hello, world!' example. This easy app starts off would-be programmers with a level of confidence and understanding. To my surprise, Douglas Hergert decided not to use the ever-popular example program. So, you might be wondering, what did he use in it's place? A four-page-long currency converter.

This was Mistake #1.

The book started off making me feel stupider than I actually am. This oftentimes discourages readers from pursuing, and the book takes to the shelf, perhaps never to be picked up again. I've noticed that the best way to capture a reader's attention (and explain the most) is to start off with PRINT, INPUT, IF...THEN and GOTO. Then move on to loops, and get technical from there. It best prepares the reader for everything in store, rather than making them feel like idiots. The book didn't do this at all. It started off making in such a way that anyone without experience would be completely lost. IF...THEN doesn't even come in until the eleventh chapter, despite being one of the most important tools in the language!

So, what good can I say about the book? Not much, except that it came with some practical applications. This brings up another grievance I have with it, that being the lack of an accompanying disc. I feel every book on programming with long examples ought to come with a disc containing all example programs, so that the reader can tweak and observe them as he sees fit, without typing in five pages of code. The best way to learn is often by example, and discouraging lazy people doesn't help the learning process along.

Alas, the book does contain some humour, as it's other brothers and sisters from IDG often do. With chapter titles such as Text, Lies, and Videotape and How to Manage Arguments and Influence People, a book can't be completely bad.

Although I suggest beginners steer clear of this book, it can be useful to experienced programmers (supposing they don't think QBASIC a waste of time). It goes deeply into data structures, arrays, and databases. There are many helpful features, but it's definitely not a book to learn from.

You can purchase the QBASIC Programming for Dummies from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

630 comments

  1. Redundant??? by (54)T-Dub · · Score: 5, Funny

    Isn't "QBASIC Programming for Dummies" a bit redundant?

    --

    "I can not bring myself to believe that if knowledge presents danger, the solution is ignorance" - Isaac Asimov
    1. Re:Redundant??? by Anonymous Coward · · Score: 2, Funny

      I'm recommending "PERL for Dummies" or in the worst case "WTF are you using QBASIC for, Dummy!"

    2. Re:Redundant??? by WndrBr3d · · Score: 5, Insightful

      You know, flame all you want but we all know everyone started in this programming language. And if you were any good at it, you could make some pretty dope applications. I mean, what better way to show off to your junior high programming class than making a DOS based Paintbrush application by hooking the mouse interrupt.

      Didn't get me any women, but it (QBasic) as a good springboard into computers.

    3. Re:Redundant??? by Slack0ff · · Score: 1

      I was able to learn QBASIC in 3 months using only the help files and Sample program. I was 12 at the time... Did the people at /. just put this up to give us all a good laugh? This cannot be a serious review of a book or ask /. question. Heres my advice buddy. A. Different Language... C++, JAVA, Python... B. This is even better then the first one. DO YOUR HOMEWORK!!! Didnt you look online and see some QBASIC pages that said somthing like "Last Updated xx/xx/1990?"

      --
      Everyday You see me is the worst day of my life -Office Space
    4. Re:Redundant??? by jcast · · Score: 2, Funny

      You got to start in QBasic? You don't know how lucky you are. Back when I started, we had to line-number our programs. And we were grateful!

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    5. Re:Redundant??? by dougmc · · Score: 1
      You know, flame all you want but we all know everyone started in this programming language.
      Not me. I started with Applesoft (and played with the Integer Basic a little), then 6502 assembly (Applesoft was slow), then USCD Pascal (while I dabbled with Gra-forth.) Then I replaced the Apple ][ with an Amstrad PC, and got Turbo Pascal and dabbled with Prolog.

      Sometime later I got an account on the Suns at school, where I discovered some languages that I still use today ...

    6. Re:Redundant??? by Anonvmous+Coward · · Score: 1, Funny

      "Isn't "QBASIC Programming for Dummies" a bit redundant?"

      Q.) What'd the farmer say when he couldn't find his tractor?

      A.) He said: "Where's my tractor?"

      Man, I hope whoever modded the previous post gets around to mine. I should be at +5 in no time!

    7. Re:Redundant??? by pompousjerk · · Score: 1

      I started in Python.

      Consider it sheer luck.

    8. Re:Redundant??? by TheCrazyFinn · · Score: 1

      Gawd no,

      Started with Logo, and then HyperTalk. Then I leard Commodore Basic and GW-Basic. By the time QuickBasic (QBasic is just QuickBasic with no compiler) came around, I was already using Borland C.

      --
      "You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
    9. Re:Redundant??? by dougmc · · Score: 1
      Then I replaced the Apple ][ with an Amstrad PC
      Note that I didn't replace the Apple ][ so that I could program in new languages (but it worked out well.) I did it solely so I could play this, which was the first Ultima not available on the Apple II. Curse you, Lord British. 48k not enough for you?

      And I should have added this to the original post, but yes I do know that Applesoft and Qbasic are fairly similar, both being BASIC.

    10. Re:Redundant??? by Z0mb1eman · · Score: 2, Funny

      Isn't "QBASIC Programming for Dummies" a bit redundant?

      Apparently not, didn't you read the review? You need to be a dummy with a PhD!

      --
      ClutterMe.com - easiest site creation on the Net. Just click and type.
    11. Re:Redundant??? by rmadmin · · Score: 1

      We had to use pascal in high school. But atleast by that time I had already programmed in Qbasic. But it was still ugly going into pascal. :-/ My best friend had a hard time getting started in pascal and eventually dropped out of programming 1. TSK TSK. Now the school teaches VB on 2k. I'd say they are going downhill. :-D

    12. Re:Redundant??? by cruppel · · Score: 1

      If you like Ultima check this out.

      A group of grad students in Purdue's CG dept are contributing to a remake of Ultima V. They asked some undergrads (one of them being me) to help them out with various aspects of recreation, like textures or worldmap modeling.

    13. Re:Redundant??? by WndrBr3d · · Score: 3, Insightful

      Not everyone possesses the obvious programming genius which you inherently do. I myself find some of my friends asking me what is a good language to start in, and it all depends on the person. If I think they're ready for it, VB. If not, then QBasic. Both are excellent starting languages. It all depends on how well they understand the concepts.

      NOW, the POINT of this book review would be more or less to the people (or perhaps parents) looking for books to recommend to their friends/children looking for a foot in the door.

    14. Re:Redundant??? by RevAaron · · Score: 1

      I don't know about you man, but I got my start in BASIC on my Radio Shack PC-3, handheld computer. That was the bomb. And then GWBasic- QBasic wasn't out when I learned BASIC. What are you, 14? :P

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    15. Re:Redundant??? by confused+one · · Score: 1
      If half our old test stand code (still in use) wasn't written in QBASIC, I'd agree.

      Instead, I'm feeling all kinds of pain

    16. Re:Redundant??? by jrl87 · · Score: 1

      I don't think the book is a foot in the door I learned QBasic when I was 12 and I am now 15. I personally found that using the help/glossary in QBasic (basically the list of commands) to be more usefull, and if it is a child trying to learn it, it is a much better learning experiment if they did what I did, play around with commands and see what happens.

      I sorry to say I can no longer play with it, I no longer have DOS

    17. Re:Redundant??? by frodo+from+middle+ea · · Score: 1

      Excuse me for waking you up, but its 21st fscking century. Or was i dreaming ?

      --
      for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
    18. Re:Redundant??? by Joey7F · · Score: 2, Funny

      Funny story for ya. When I was in high school (way back in 1999) we used VB. My father asked if we were going to learn PASCAL (as that is what he grew up on) I looked at him dumbfounded. Realizing how far behind the times he was, he asked "What is PASCAL passe?"

      To which I said, "More like blasé"

      --Joey

    19. Re:Redundant??? by Anonymous Coward · · Score: 0
      Note that I didn't replace the Apple ][ so that I could program in new languages (but it worked out well.) I did it solely so I could play this, which was the first Ultima not available on the Apple II.
      Thanks for clearing that up.
    20. Re:Redundant??? by platypus · · Score: 1

      Please allow me some advocacy.

      Tell your friends to start with python. Really. Obviously, I like this language, but python has many advantages over qbasic or vb. It can be used in a procedural way, naturally going over to OO if you get it.
      It has a nice clean class library and is very easy to grasp. I guess for beginners python's whitespace convention could even be helpful.
      There is a mailing list (busy) solely dedicated for people trying to learn to program with python (http://mail.python.org/pipermail/tutor/)
      It has an interactive shell (this is _very_ good for beginners) and good tutorials geared towards beginners in programming (just two examples, one pulled from google:
      http://www.python.org/doc/current/tut/tut .html
      http://www.hetland.org/python/instant-hacki ng.php

      )

    21. Re:Redundant??? by dickens · · Score: 2, Interesting

      You got to start with a keyboard ? And a CRT ?

      I started with Basic on mark-sense cards processed on some HP system that I only saw once.

      The compile-edit loop was one week. Our stacks only ran on friday evening. This was 1972 in West Vancouver, BC.

      It was a big step up in '72 (in Massachusetts) to basic on a PDP-8 and a teletype with paper tape storage.

      And I was in heaven in '73 with some Wang box that had all the basic commands bound to keys. So command-P gave you "print" wow.

      But I didn't start the "real programming" until '78 with Basic+ on RSTS/E and a PDP 11/45.

      Pascal came later, and I saw the light. But I never really became a C programmer, alas, and now am a perl & php guy.

    22. Re:Redundant??? by EvanED · · Score: 1

      >>I sorry to say I can no longer play with it, I no longer have DOS

      I've kept a copy of QBasic on all my computers because I still use it off an on if there's something I need to calculate quickly and I think it'll do the trick. (Actually, I may have found a replacement for that type of problem with ML, though certainly not yet as I have yet to get used to the functionalness of ML, but maybe next computer I won't have to transfor QBasic with everything else...)

    23. Re:Redundant??? by ncc74656 · · Score: 1
      You know, flame all you want but we all know everyone started in this programming language.

      Speak for yourself. There were a bunch of different BASICs I ran across back in the day (Color and Extended Color BASIC, TI BASIC, Atari BASIC, Applesoft BASIC, Integer BASIC), but QBASIC wasn't one of them. First time I ran across that would've been in the mid-to-late 90s, where it was buried on the Win9x install CDs.

      --
      20 January 2017: the End of an Error.
    24. Re:Redundant??? by EastCoastSurfer · · Score: 1

      You guys are lucky. I graduated high school in '95. The closest thing we had to a programming course was typing(on real typewriters mind you).

    25. Re:Redundant??? by Anonymous Coward · · Score: 0

      Moderators!

      Mod Parent up (+1, "Thank you, grandpa")

    26. Re:Redundant??? by opello · · Score: 1

      took you 3 months?

      qbasic was a quick hop from the commodore c-64's basic (or even the trs-80's basic) both of which were very smiliar ... the commodore's manual was a programming reference for me ... at 9 a read through the book playing with the computer over the summer ... syntax took a week and the functions and loops were easy enough about 2 weeks after that ... it's all about interest and amount of time put forth

    27. Re:Redundant??? by jericho4.0 · · Score: 1

      And you sir, are blessed beyond all others. Python is the perfect first language.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    28. Re:Redundant??? by sfbanutt · · Score: 1

      Actually, some of learned Fortran on HP/3000s in high school. Using dec writers and acoustic couplers. When we weren't playing adventure on another dialup system. Of course, the guy who could stand in the corner of the room and whistle loudly enough to cause all the acoustic couplers to drop carrier, he was dead meat..

      So no, some of us didn't start out with QBasic.

      --
      I've wrestled with reality for 35 years and I'm happy to say, I finally won out - Elwood P. Dowd
    29. Re:Redundant??? by PapaSMURFFS · · Score: 1
      Actually, I'm inclined to argue that xBASIC is a good starting language for people to learn. Unless you want to spend the rest of your natural born life programming Microsoft I'd stear people away from VB, and while QBASIC does teach programming concepts it doesn't exactly help develop good style and some concepts are just backward when we look at today's programming needs.

      I think that Python would be a better starting language, or barring that Pascal. Both of them were sort of designed to teach programming, and Python is also OO which (to my eternal regret) seems to be here to stay.

    30. Re:Redundant??? by Atzanteol · · Score: 5, Insightful

      Ahh, the good old teenage "Well, I've never used it, and don't know where it's used, so it *must* be obsolete!" attitude. You use 'PASCAL'? How ten years ago!

      What's wrong with PASCAL? I'd rather learn on PASCAL than VB anyday. PASCAL looks more like C++ and Java (and C#) than VB does. Learning VB from any other 'decent' language is a snap. But learning C++ or Java from VB is a pain in the ass.

      Students should be learning with a command line. No GUI apps to start. Learn from the ground up. Otherwise you'll be able to do things, but not necessarily understand them.

      And yes, I still believe in teaching assembly...

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
    31. Re:Redundant??? by suraklin · · Score: 1

      Wow your school sucked I also graduated in 95 and we had Basic, Pascal, and X86 ASM.

    32. Re:Redundant??? by Anonymous Coward · · Score: 0

      actually it came out before win9x, i had i with dos 6.22

    33. Re:Redundant??? by Uber+Banker · · Score: 1

      hmmmm

      I learnt in Smalltalk, which was great.

      I'd prefer Pascal to VB, my college used Turing which was fun and Haskell which was bad!

    34. Re:Redundant??? by Anonymous Coward · · Score: 1, Interesting
      Your school is certainly a pretty sorry excuse for an educational establishment. Shit, we had BASIC computers at my school back in the early 80's. Sure not one per pupil, and you had to read the manual first, but still.

      As for the primary poster. I spent six months reading a BASIC programming book before my computer even arrived. I suggest that you can a) learn a lot about how something works be reading books cover to cover without even seeing a piece of hardware [you see the full picture], b) actually typing something in where it has to go into your brain and then get typed out causes you to actually think. Loading and running something off a disc or tape doesn't really achieve this.

    35. Re:Redundant??? by Arker · · Score: 2, Informative

      To which I said, "More like blasé"

      Ahh the arrogance of the ignorant.

      Pascal beats your silly VB toy in every way imaginable. Go get Delphi , buy a good book on it, and learn something.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    36. Re:Redundant??? by secolactico · · Score: 1

      He! Same here. I learned to type in a couple of *very* old Olympia typewriter. Non-electric. You could grow some hefty biceps just operating the carriage return lever.

      --
      No sig
    37. Re:Redundant??? by jdray · · Score: 1

      I graduated in '85, and we had two labs full of Apple ][ machines. I had learned Apple BASIC and Pascal by that time. Not bad for a little vocational high school in a farming town, eh? Oh, yeah, we had typewriters, too. --- "The question before us is, is the children being educated?"

      --
      The Spoon
      Updated 6/28/2011
    38. Re:Redundant??? by MAXOMENOS · · Score: 1

      *I* started in BASIC, but there are plenty of other people who started in, say, C or Java. Particularly younger programmers.

    39. Re:Redundant??? by quasi_steller · · Score: 2, Interesting

      I learned Pascal and QBASIC at the same time. I tought myself QBASIC because it was what I had at home, and I learned Pascal in high school (that was back in 1998). Needless to say, the language that helped me learn all of the important stuff was Pascal. Pascal is very a very structured procedural language. QBASIC makes it too easy to write spaghetti code, and VB just, well, sucks. I believe that it would benefit all beginning programmers to learn on a language like Pascal, so moving to a real production language like C/C++, Java, etc is much smoother.

      --
      ...interesting if true.
    40. Re:Redundant??? by Elektroschock · · Score: 1

      Qbasic? Is it Hbasic compatible? http://hbasic.sf.net

    41. Re:Redundant??? by dickens · · Score: 1

      Not a grandpa yet. My oldest is only 13. Hoping to remain a non-grandpa for another 10 years or so.

    42. Re:Redundant??? by Yuan-Lung · · Score: 1

      what better way to show off to your junior high programming class than making a DOS based Paintbrush application by hooking the mouse interrupt.

      write a virus/worm/trojan to bring down the school's network?

    43. Re:Redundant??? by Anonymous Coward · · Score: 0

      You were lucky to have a decent system for your GW-BASIC. In my high school we had to do it on PC-JR's. Just to make life just a bit harder, the teacher thought that the kids would stretch out the keyboard cord's so she ordered the wirles/corded and locked up all the cords. So in a room of 40 people with wireless keyboards everybody kept messing with everybodys system. Of couse thats when the batteries werent dead.

    44. Re:Redundant??? by stevew · · Score: 1

      Ah - someone from MY generation.

      You got to use a High level language on your first computer. Bah- Humbug!

      I learned to program on an Ollevetti Programma 101. A programmable calculator circa 1965 or so - though I was using it in 1972. Then I learned Gotran (fortran II) followed by Fortran IV where I got to run on IBM 1130's and at USC on a 370(which was WAY COOL) followed by PASCAL on a 11/45 running RSTS/E. We had Basic on it too - but it wasn't your Father's basic ;-)

      Anyway - seeing RSTS/E made me smile.

      --
      Have you compiled your kernel today??
    45. Re:Redundant??? by Sj0 · · Score: 1

      I invite you to take a look at what I've done with the language (technically, I'm still starting out with programming, but considering that I'm going into a different field, I don't really feel the need to move to anything more powerful since I've managed to make a nice little 2d engine using Qbasic) at my website.

      --
      It's been a long time.
    46. Re:Redundant??? by Sj0 · · Score: 1

      In it's defense, QB can be just as structured as others if you remember to throw out the GOTO statement and line numbers. It's more the way BASIC is taught, as a relic of old MS BASIC on 8 bit machines, that dictate that it is nessessarily less structured than other languages.

      --
      It's been a long time.
    47. Re:Redundant??? by miu · · Score: 1
      *I* started in BASIC, but there are plenty of other people who started in, say, C or Java. Particularly younger programmers.

      I was lucky enough to get started with the excellent turbo-c from Borland. Nice IDE to keep from distracting you with the plumbing, but kept me close enough to the machine that learning x86 assembly as a second language was very easy and natural. Because of early experience with multi-language programming, encapsulation and data hiding were natural "student discoveries", quite unlike the giant tangled mess that basic seems to encourage in students.

      I still believe that C or assembler are good early languages, but I think Python is probably the best teaching language available. I'm surprised that CS programs don't seem to have picked up on this yet.

      --

      [Set Cain on fire and steal his lute.]
    48. Re:Redundant??? by Eil · · Score: 1


      You know, flame all you want but we all know everyone started in this programming language.

      I didn't.

    49. Re:Redundant??? by merchant_x · · Score: 1

      I graduated in '93 but at least we had IBM PS2's networked in some funky way that i still don't understand. I believe we started with QBASIC and then moved to pascal. I have to say I really liked pascal despite it's utter uselessness.

    50. Re:Redundant??? by merchant_x · · Score: 1

      I agree, when I was in high school way back in '93 we were taught structured programming using QB and then we moved on to Pascal. It's definately in the way you're taught which is why I would think pascal is the better choice for teaching as it really requires you to structure your programs properly.

    51. Re:Redundant??? by Anonymous Coward · · Score: 0

      Shhhh!

      I'm trying to get you some karma!

    52. Re:Redundant??? by Uber+Banker · · Score: 1

      Smalltalk shitty? No, it is grand daddy and still leading OO language.

      Haskell sucks - it is the theory of a functional language, there are other, better functional languages, the Haskall to functional languages is like the Turing to procedural languages... to use it for anything more than learning purposes is madness - there are better functional languages out there for purposes other than programming 101.

      Infact, of all languages, I think Haskell is more like VBA (if you can really use VBA) than any other.

      And yes, I do like to go low level.

    53. Re:Redundant??? by darien · · Score: 1

      I'm inclined to argue that xBASIC is a good starting language for people to learn

      Sorry to be pedantic, but it looks to me like you're arguing that it's a bad starting language for people to learn. Since you're obviously a literate and intelligent person, I hope you'll take this comment in the spirit in which it's intended.

    54. Re:Redundant??? by mabinogi · · Score: 1

      I'm afraid you can't blame QBASIC for spaghetti code.

      It may let you write it, but it defintely doesn't force you too - any more than C does.

      QBasic was an excellent structured BASIC flavour.

      It was infinitely better than any of the earlier versions of MS Basic used in the various 8 bit computers - and even better than Amiga Basic (In terms of the language itself)

      --
      Advanced users are users too!
    55. Re:Redundant??? by xejlod · · Score: 1

      You bet.

      I learned programming around 9 tears old with QBasic. - the fact that it's not very powerful forces you often to "hack" around, making you learn about memory, assembly, other programming concepts.. and ultimately, being able to learn other programming languages with ease.

      so qb for dummies is a non-sense, almost any qb book IS for beginners.

    56. Re:Redundant??? by cgreuter · · Score: 3, Insightful
      Students should be learning with a command line. No GUI apps to start. Learn from the ground up. Otherwise you'll be able to do things, but not necessarily understand them.

      The problem is not with GUI-based languages; it's with tools that hide their inner workings from you. VB is like that but so is VC and MFC.

      Smalltalk, on the other hand, is also purely GUI-based but it's also completely transparent. The entire system--including the GUI (usually)--is written in Smalltalk and you can browse it and modify it just like any other part of the system.

      (A good open-source Smalltalk system is Squeak if you're interested.)

      I get the impression from looking at M$-ware that they have divided the world into rulers and peons with their developers in the ruling class and the customers as the peons. When this extends into their development tools it's either "this is too hard for you to understand" (in the case of VB and the like) or "you don't need to know this--just read the API documentation" for VC. Whether or not a GUI is involved is relevant only in that MS seems to be trying to get rid of the CLI.

      If I were teaching a programming course, I would avoid MS tools (and those that try to emulate them) like the plague.

    57. Re:Redundant??? by MAXOMENOS · · Score: 1
      I recently got together with an old friend of mine from college who's going back to school for a degree in Math. She asked me what programming language I would recommend for her to study. Most of her pals -- mostly people who live in the academic world -- recommended C, Java or C++. Nobody had mentioned my recommendation -- Python -- even though it's probably perfect for her chosen field of specialization (neural nets), at least as a compliment to C.

      Colleges don't teach it; most employers don't look for it. Me, I use it all the time, but mostly just in my own private projects. I've only had one professional project where Python was a major component of our work. *sigh*

    58. Re:Redundant??? by knobmaker · · Score: 1
      I still believe that C or assembler are good early languages,

      As someone whose first real programming efforts were in 6502 assembler, I would agree, (except that maybe assembler isn't as easy these days, using modern processors.) Still, the theory seems irrefutable. If you want your programmers to understand the process from the ground up, why not start on the ground?

      Of course, I could be an antique dumbass. It's been a long time. But once you can do machine level coding, you can do anything you want. Even write a new language.

    59. Re:Redundant??? by Groganz · · Score: 1

      And of course, Borland's Delphi is "Objective Pascal" and it's a fine product.

    60. Re:Redundant??? by Anonymous Coward · · Score: 0

      Basic?!?! Oh you were lucky! I graduated in 1977 and the only language I could learn was RPG on punched cards, batch processed at the counties one and only IBM mainframe at the central school office. And that was the advanced course. For the basic one it was programming an IBM Accounting machine. Ya know, the one where you have to wire a pegboard with actual jumper wires to produce any outputs. (AH yes the old "All Cycles" to "List" wire). Hah! BASIC indeed!
      Amateurs!!!! Young whippersnappers is what Iâ(TM)d call you all.

    61. Re:Redundant??? by mystran · · Score: 1
      You know, flame all you want but we all know everyone started in this programming language.

      No, not everyone started with this one. Actually, I personally haven't done a single serious application with it.

      Instead, I started with GWBASIC, which I used until my apps became too large for it to handle and I started looking for alternatives. I found Pascal, didn't like it at all, then found C, and liked it, only few years later I actually saw QBASIC for the first time.

      At some point I also looked at COBOL (before QBASIC, that is) but it didn't make much sense to a 11 years old me back then..

      If I could go back and select my first language again, I'd go for LISP though.

      --
      Software should be free as in speech, but if we also get some free beer, all the better.
    62. Re:Redundant??? by miu · · Score: 1
      Colleges don't teach it; most employers don't look for it.

      I've run into a few recent grads who used it in their CS program for prototypes, does not seem to be common though.

      At least one employer, Google, was hiring Python programmers. I agree that HR departments don't yet have it on their list of things to look for.

      --

      [Set Cain on fire and steal his lute.]
    63. Re:Redundant??? by miu · · Score: 1
      I would agree, (except that maybe assembler isn't as easy these days, using modern processors.)

      Since you are teaching theory I think targeting something like xspim or x86 real mode is just fine. You are teaching the concepts and avoid overwhelming students with the details of modern processors (which can be taught in advanced architecture).

      But once you can do machine level coding, you can do anything you want. Even write a new language.

      That is why I think learning more than the "commercial" languages (C++ and Java) is a great idea. A student who has learned assembler and scheme is going to be able to pick up any language and will have a good start on any new technique or technology that becomes available.

      --

      [Set Cain on fire and steal his lute.]
    64. Re:Redundant??? by theTerribleRobbo · · Score: 0

      ...but it (QBasic) as a good springboard into computers.

      Only if you want to be taught bad programming habits that you have to 'unlearn' later. Even the examples printed out in beginner's books were horrible messes of GOTO.

      Learning to Spaghetti Code is probably not the best of introductions.

    65. Re:Redundant??? by Atzanteol · · Score: 1

      The problem is not with GUI-based languages; it's with tools that hide their inner workings from you. VB is like that but so is VC and MFC.

      I agree completely. MFC doesn't hide quite as much as VB, but I never liked "coding" with a "wizard". At least not when learning.

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
    66. Re:Redundant??? by Tibor+the+Hun · · Score: 1

      maybe it was just a pun?
      blaise pascal...

      --
      If you don't know what AltaVista is (was), get off my lawn.
    67. Re:Redundant??? by Joey7F · · Score: 1

      DING DING DING, you are a winner!

      Everyone else who assumes I was arrogant doesn't have much of a sense of humor.

      --Joey

    68. Re:Redundant??? by Jack+Hughes · · Score: 1

      I thought it was a good pun, if that's any consolation - and would have given you +1 funny if I had any points.

    69. Re:Redundant??? by afroborg · · Score: 1

      I take it that you've never heard of Delphi then?
      Comments like that only bely your ignorance, but don't worry, you'll grow up one day.
      Pascal is an ideal teaching language, it teaches good habits and is actually quite powerful in it's constructs.

      Anyone remember Fasttracker? Written in borland pascal and it was the best tracker there was IMO

      --
      my sig could kick your sig's arse...
    70. Re:Redundant??? by irc.goatse.cx+troll · · Score: 1

      I learned in a similer way.
      I started off as just yet another AOL kiddie, playing with 'progz' and such. Eventually got bored enough to try something new, and found a copy of Visual Basic 3 (16bit, think win3.11). I then found a vb3 decompiler, and decompiled any vb made program I could find, just to play with the source and change things until it broke, eventually learing the basic syntax, but still didnt know how to do most things. Then one day when I was about 11 I sat there for about 4 hours just reading the entire help file, and just 'got it'. Reading the entire help file was the best thing I could of done, and immediately told all of my (also stupid AOLer) friends that if they wanted programming help from me, they had to do the same first. Only one did, and he thanked me for it later.

      I later moved on to current (4, then 5, then eventually 6 though I never really played with any of the new concepts) versions of VB, but also started toying with a copy of QBASIC I found. I never really got it to do anything great, but it was a fun exercize in programming and was a cool 'toy' languge to just play with.

      (For the record, I moved on to bash scripts, then made the leap to perl. I tried to learn C but got too busy with other things, I understand the conceps and syntax, but never got around to learning the functions.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    71. Re:Redundant??? by ZzzzSleep · · Score: 1
      what better way to show off to your junior high programming class than making a DOS based Paintbrush application by hooking the mouse interrupt.
      write a virus/worm/trojan to bring down the school's network?
      I had forgotten about this, until you reminded me then. When I was at uni a friend and I had coded up a little program in Qbasic that pretended it was the standard login prompt and grabbed us the passwords.... We only tried running it a couple of times and I don't think we ever grabbed anyone's password, but it was amusing anyway....
      Hmmmm... perhaps you had to be there.....
      ZzzzSleep
    72. Re:Redundant??? by drunk_as_in_beer · · Score: 1

      Junior high and still doing QBasic? QBasic is for little children (ages 5-10 yrs old). By the time I was in junior high I had already been doing C and Assembly for many years.

      Though, I'll grant you that you could write some very functional programs in QBasic.

      --
      --Drunk as in Beer
    73. Re:Redundant??? by Anonymous Coward · · Score: 0

      I have to echo the statements of the other guys, that's pretty bad that your school didn't have any programming courses. I graduated in 96, and had taken computer science course for 2 years where we learned Pascal, computer science theory, and even a bit about logic gates and such. I was pretty lucky, though.

    74. Re:Redundant??? by Anonymous Coward · · Score: 0

      hey I had a PC Jr as my first computer and that thing rocked (though it was out of date when we bought it). 128k of memory. BASIC on a cartridge, which is very fast, and also doesn't use any of your RAM. That's what I learned on. There's a lot of cool tricks you could do with it (mainly video stuff), that you couldn't do with later incarnations of BASIC such as QBASIC.

    75. Re:Redundant??? by drunk_as_in_beer · · Score: 1

      I was able to learn QBASIC in 3 months using only the help files and Sample program. I was 12 at the time..

      Big fucking deal. I was programming in C and Assembly by the time I was 11. Though I consider myself lucky for having access to those languages and a computer to learn them on.

      --
      --Drunk as in Beer
    76. Re:Redundant??? by HeavyJay · · Score: 1

      Python is a really good language for beginners...I've played around with it on numerous occasions.

      --
      "My people are destroyed for a lack of Knowledge." -- Hosea 4:6
    77. Re:Redundant??? by lhatch · · Score: 1

      Well, QBASIC, like C is a top-down structured language. BASIC allows you to get messy. But go back and look at your C from a year ago, what is the difference? I can not read mine. I still use a QBASIC syntax for system tools and translate it to C (via QB2C www.bastoc.com)and gcc it. Best of both worlds. It is either ASM or BASIC for me. See bastoc.com for a description of how you can use BASIC on a Unix platform, and the result is C.. Only thing faster, ASM.. But then you are locked to the hardware/uP-uC. A good program can write in any language. A smart programmer, well.. Redundant.

    78. Re:Redundant??? by Joey7F · · Score: 1

      Right.....look above...it was a pun, I think it shows your ignorance more than it does mine.

      --Joey

    79. Re:Redundant??? by HeavyJay · · Score: 1

      Read: old == obsolete. I refuse to hear of anything that isn't completely modern, trendy, and up to date. God forbid I should learn something!

      --
      "My people are destroyed for a lack of Knowledge." -- Hosea 4:6
    80. Re:Redundant??? by EastCoastSurfer · · Score: 1

      We had labs of computers we could use, just no courses on programming. I would have taken all the ones I could have if we did. By the time I was a senior though I only needed English to graduate, but they forced me to at least have 4 classes. A couple programming courses would have been great here :) As it stands I took physics, and 2 others I don't remember.

    81. Re:Redundant??? by Tibor+the+Hun · · Score: 1

      i too thought it was a pretty good pun. they probably didn't make the connection between mr. pascal, and the language named after him.

      --
      If you don't know what AltaVista is (was), get off my lawn.
  2. ...!! QBasic? by Anonymous Coward · · Score: 0

    QBASIC? They still make FPs? :/

  3. Chapter Summary by Prince_Ali · · Score: 4, Funny

    Chapter 1: That game where the snake eats the numbers.
    Chapter 2: That game where the monkeys throw bananas at each other.
    Chapter 3: That game..

    1. Re:Chapter Summary by Lane.exe · · Score: 1

      Chapter 4: Why No One Will Ever Need More than 4MB of RAM

      --
      IAALS.
    2. Re:Chapter Summary by Surak · · Score: 1

      Chapter 1: That game where the snake eats the numbers.
      Chapter 2: That game where the monkeys throw bananas at each other.

      Hey, now...those games were MULTIPLAYER!! Almost as good as a deathmatch!

    3. Re:Chapter Summary by shotgunefx · · Score: 1

      I used to work at a tech support company and with all my duties, I couldn't play Team Fortress with everyone else. So me and my friend next to me dug out a 486 with QBASIC Gorilla on it. It is a silly stupid game but it can be quite fun. (Not as fun as incinerating a mob in Vice City of course... but you take what you can.)

      --

      -William Shatner can be neither created nor destroyed.
    4. Re:Chapter Summary by vasqzr · · Score: 1


      The other two were:

      MONEY.BAS (home finance program)
      REMLINE.BAS (removed line #'s from your GW-BASIC/BASICA programs)

      I'm almost embarassed to admit I know that. So many late nights staying up late, typing lines of code in from "MAKE YOUR OWN BASIC GAMES" books.

    5. Re:Chapter Summary by Doppler00 · · Score: 1

      And I'm so glad I found that home finance program in QBASIC!!! Why, without it, I would never have been able to balance my checkbook.

    6. Re:Chapter Summary by Anonymous Coward · · Score: 0

      They were called Nibbles and Gorillas. Gorillas is fucking bitchin'.

  4. pretty good book report by WndrBr3d · · Score: 0, Troll

    From A-Apple to Z-Zebra, Baby's First Pop-Up Book is twenty-six pages of alphabetic adventure.

  5. QBASIC ?? by makapuf · · Score: 2, Interesting

    Why, I mean, why ?

    if it's in a corporate world, flee while it's time
    else, why not use python as a first language ? or, Java ?

    I mean, you could learn something simple, like, LISP ?

    1. Re:QBASIC ?? by Anonymous Coward · · Score: 0

      LISP was my first programming language. FORTRAN was my second. COBOL was my third. All of that included courses with Paul Erdos and Douglas Hofstadter. Ah, to be young again.

    2. Re:QBASIC ?? by Anonvmous+Coward · · Score: 3, Insightful

      "if it's in a corporate world, flee while it's time else, why not use python as a first language ? or, Java ?"

      Programming is a rather abstract concept. Best to start with something where you don't have to trip over stupid things like case sensitivity or declaring variables.

      Nothing wrong with starting with Basic.

    3. Re:QBASIC ?? by Shalda · · Score: 1

      And why is /. posting reviews of programming books that are nearly a decade old, out of print, and for products that are essentially no longer available? Sure, there are some older programming books that are still good, but most of those are at least still in print. Kerringham and Ritchie's book on C - an immortal classic. Zen of Assembly Language? Priceless (but rather hard to find). I realize there was a discussion the other day about "first programming languages" and the modern lack thereof, but are things so slow today that the editors can find nothing more relevant to post?

    4. Re:QBASIC ?? by Anonymous Coward · · Score: 0

      "Programming is a rather abstract concept. Best to start with something where you don't have to trip over stupid things like case sensitivity or declaring variables."

      Stupid things like case sensitivity or declaring variables? Oh dear ... this is beyond scary. Some people just should never go near a computer, let alone program. Please put down the mouse and walk slowly away from the keyboard.

    5. Re:QBASIC ?? by Anonymous Coward · · Score: 0

      "stupid things like case sensitivity "

      So you think that *nix is stupid and should switch to the MS model where case does not matter?

    6. Re:QBASIC ?? by jat850 · · Score: 1

      Maybe "stupid" was a bit of an overgeneralization for the poster, because things like case sensitivity and declaring vars have obvious merit, but I think in the context of the original thread the poster has a point. For a beginning language, it is nice to not have to worry about some of those things, which while important, are trivial and confusing concepts to a new learner.

      --
      the blood has stopped pumping, and he's left to decay
      the me that you know is now made up of wires
    7. Re:QBASIC ?? by tomhudson · · Score: 1
      And why is /. posting reviews of programming books that are nearly a decade old, out of print, and for products that are essentially no longer available?</quote>

      Because it's Troll Friday, and the /. editors have done an "In Soviet Russia" and trolled You!

      ... or maybe it's just another dupe from an article a decade ago (pretty neat in that cae, 'cause /. didn't exist then :-)

    8. Re:QBASIC ?? by Anonvmous+Coward · · Score: 1

      "So you think that *nix is stupid and should switch to the MS model where case does not matter?"

      Yes, I do. Case sensitivity should never affect an end-user. It's called bad-UI design. Let the programmers have it, don't let my grandmother have to deal with it.

    9. Re:QBASIC ?? by captain_craptacular · · Score: 1

      Best to start with something where you don't have to trip over stupid things like case sensitivity or declaring variables.

      Please tell me you're kidding. I'm a competent programmer with a 4 year CS degree and I STILL have problems when I use crappy languages without variable declaration (I even use strict in perl). Nothing like spending a day tracking down a bug that consisted of an obvious typo.

      If I were to reccomend a language to a newbie it would be something with both variable declaration and case sensitivity, I would basically want the strictest compiler settings possible just to enforce the basics of good programming. Honestly I would probably reccomend something like C/C++ using Visual C++ just because the compiler is so good at pointing out stupid mistakes like forgotten ticks or semicolons.

      --
      They who would give up an essential liberty for temporary security, deserve neither liberty nor security
    10. Re:QBASIC ?? by Anonvmous+Coward · · Score: 1

      "If I were to reccomend a language to a newbie it would be something with both variable declaration and case sensitivity, I would basically want the strictest compiler settings possible just to enforce the basics of good programming."

      That might be advisable for somebody who has an idea of how programming works. However, it'd be foolish to present somebody who's just sitting down to write 'hello world' for the first time with a scenario where they could break the program by using the shift-key once.

      Frustrate them early!

    11. Re:QBASIC ?? by Anonymous Coward · · Score: 0

      You must not be a programmer or else you are just incredibly stupid.

    12. Re:QBASIC ?? by nytes · · Score: 1

      Why?

      Because not everyone who studies programming wants to be a programmer. Many people just want a simple tool to do simple tasks, and don't want to learn structured programming. GOTO's and undeclared variables work great for such people.

      BASIC has a very low learning curve, is highly readable for non-programmers, and gives the beginner quick feedback. (OK. The old 2 character variable names didn't exactly add to the readability.)

      Even I, after nearly 25 years of programming, still fire up BASIC when I just want to knock out 20 lines of throwaway code.

      --
      -- I have monkeys in my pants.
    13. Re:QBASIC ?? by Anonvmous+Coward · · Score: 1

      "You must not be a programmer or else you are just incredibly stupid."

      Well, I could be stupid, but at least I was capable of communicating my reasoning.

    14. Re:QBASIC ?? by Anonymous Coward · · Score: 0

      "For a beginning language"

      I spend more time picking up after and fixing bugs / vulnerabilities generated b/c developers have bad habits (usually they pick them up early on) ... like not declaring vars or fixing case sensitivity typos or not typing incoming parameters. To elaborate on my comment concering scary ... do not teach bad programming habits early; they will pick up *plenty* of other bad habits along the way.

    15. Re:QBASIC ?? by captain_craptacular · · Score: 1

      Thats my point. In a language in which you don't need to declare variables if you press the shift key once, your program will compile and run fine, but it won't work. Because you said:

      $Var = 'hello world!'
      print $var

      Which will run fine but print nothing.

      In C/C++ you'll get something like this:

      ERROR: Undefined variable (var) on line 32 of file "hello.c"

      If your in visual C++ you will then be magically brought straight to line 32 to fix the problem.
      my argument is that this is much easier to figure out and fix.

      --
      They who would give up an essential liberty for temporary security, deserve neither liberty nor security
    16. Re:QBASIC ?? by TheAncientHacker · · Score: 1

      Nope. Only in Case SeNsItIvE languages like C and it's decendants.

      That you would think case sensitivity is universal is more than slightly depressing since it hasn't been necessary in modern programming languages for over 40 years...

    17. Re:QBASIC ?? by Hungus · · Score: 1

      you must have been hanging around my time. Punch Cards, Paper Tape and Slide Rules

      --
      Bad Panda! No Bamboo for you! In matters of importance ACs will not be responded to. Want to say something critical,OK
    18. Re:QBASIC ?? by Anonvmous+Coward · · Score: 1

      "If your in visual C++ you will then be magically brought straight to line 32 to fix the problem. my argument is that this is much easier to figure out and fix."

      ONLY with the proper orientation.

      I think you make a good point here, but you're making the assumption that people are going to figure this out quickly, and that simply isn't going to be the case. Humans don't read var and Var as two different variables. They need to be introduced to that. It's a lot easier to do that once they've written some code and have a basic understanding of what's going on. It's a lot easier to tell a basic user "oh yeah, make sure to match the case of the variables" than it is to tell a newb "var is different from Var. That's why your extremely simple Hello World program doesn't work."

    19. Re:QBASIC ?? by TheAncientHacker · · Score: 1

      Speaking of stupidity...

      The debate over case sensitivity predates Unix or Microsoft. But thanks for demonstrating an astounding lack of knowledge.

      BTW: C is a throwback - a punchcard mindset language family. Everybody had moved beyond case sensitivity long before C was derived from BCPL.

    20. Re:QBASIC ?? by stanmann · · Score: 1

      Absolutely agree, teach the concepts of flow, Objects, etc. Then move on to Variable declaration, then on to using something other than whitespace as a seperator, and then, maybe on to case sensitivity.

      IRL, when you see a carriage return, it means something, in basic, it means the same thing. IIRC that was one of the most frustrating things when I was learning pascal, was remembering to put a line break(; I believe) as well as a CR.

      --
      Food not Bombs is a nice platitude but it breaks down when you notice that the Bombees are usually well fed
    21. Re:QBASIC ?? by TheGrimace · · Score: 1

      Stupid things like declaring variables? Declaring variables is one of the most fundamental concepts of modern programming languages! Learning how to name variables properly is of extreme importance to writing clear code. Ever try to debug someone else's code where the variables were named var1, var2, var3, etc.? It is not easy.

      Implict variable declaration is a great way to introduce bugs. Make a typo inputing your variable var1 and call it varl instead? No problem, the compiler/interpreter will simply make a new variant type varl for you. Have fun tracking down that bug...

      Basic is becoming less and less a modern language, with fewer similaries to languages that tend to get used in the real world, like Java, C++, and many of the scripting languages.

      Since Basic is a poorly typed language, it is very easy to learn some very bad habits that make learning a more advanced, strongly typed language more difficult to learn than it should be. Learning Basic CAN make it harder to learn other languages. If you plan to go on to learning other languages, don't start with Basic.

    22. Re:QBASIC ?? by Anonvmous+Coward · · Score: 1

      "The debate over case sensitivity predates Unix or Microsoft. But thanks for demonstrating an astounding lack of knowledge."

      Actually I was referring to the appraisal a newb would give it. Thanks for assuming that I meant it in a global sense and calling me stupid for it.

      The fact is that understanding why case sensitivity is an issue requires a deeper knowledge of what goes on inside a computer than somebody who wants to start programming is going to understand.

    23. Re:QBASIC ?? by Anonvmous+Coward · · Score: 1

      "Stupid things like declaring variables? Declaring variables is one of the most fundamental concepts of modern programming languages!"

      Throw variable declarations at somebody to early in the learning curve leads to confusion.

      "Uh.. what's a string? Oh.. what's a byte? Oh.. what's a boolean? Oh.. what's an array? Uhh what's a two-dimensional array? Oh..." What's a string again?"

      The reason I said that was not to bash variable declaration, but to point out how silly it is to somebody who has no idea why it's there. If they want to write a program that adds two variables together, why put them through defining integers until after they've written code that actually works?

      That's the nice thing about QBasic and related languages. The learning curve is more productive. My first 'Hello World' program in C didn't work because I had no idea that case sensitivity was a problem. I gave up on C because I couldn't get the simplest program to work, and at the age of 12 I didn't exactly have the resources to go to the bookstore and buy a C for Dummies book.

      Pity really. I understand it all today, after developing a relatively deep understanding of how computers work. Back then, though, I didn't even know that in a binary sense, a and A were entirely different to the computer.

      So yes, you're right. Variable declarations are important etc, but we're talking about getting somebody interested in programming to begin with. You don't teach a kid to swim by throwing him floation device-less into the water.

    24. Re:QBASIC ?? by Anonymous Coward · · Score: 0

      Not in most of the BASICs I grew up on - you'd get a meaningful error along the lines of "Unknown or missing variable at line 32". You didn't have to declare variables, but if you never initialised them with a value it wouldn't work. Actually seems kinda efficient to me. BBC BASIC was especially helpful (and well structured) but I guess you never had that in the States.

    25. Re:QBASIC ?? by TheAncientHacker · · Score: 1

      Ah so you think a newbie is likely to assume that case sensitivity in a programming language is really a fight between the Unix and Microsoft camps? And you expect us to believe that? You know, Ari Fleisher's job is open.

      As for beginners needing a deep knowledge of what goes on inside a computer, why not just give them machine language? After all, any programming language, even assembler, is an abstraction that hides "what goes on inside a computer" as is any operating system's API. (or are you just justfying C's idiotic choices any way you can)

    26. Re:QBASIC ?? by 31eq · · Score: 1

      What you mean is "in a case specific language in which you don't need to declare variables that guesses the value of uninitialized variables in a crazily unsafe way" which is an understandable oversight because there are a lot of them around. In Python (which was mentioned up there somewhere) you get "NameError: name 'var' is not defined".

      Well, okay, you actually get

      Traceback ( File "", line 1
      $Var = 'hello world!'
      ^
      SyntaxError: invalid syntax

      but if you take off the $ symbols that don't tell you anything you get the name error.

    27. Re:QBASIC ?? by Anonvmous+Coward · · Score: 1

      "Ah so you think a newbie is likely to assume that case sensitivity in a programming language is really a fight between the Unix and Microsoft camps? "

      Ask the person who said that. I never said anything about it being 'MS-style'.

    28. Re:QBASIC ?? by Sj0 · · Score: 1

      I find it slightly ironic that a person who is more than likely advocating the use of C or C++ is whining about details of the BASIC language introducing bugs.

      --
      It's been a long time.
    29. Re:QBASIC ?? by ripewithdecay · · Score: 1

      Although I don't have that much experience with programming (I've messed with C, C++, C#, and BASIC), I know that if you start off easy and gradually and learn to not to pick up _small_ bad habits at first, that it'll be much easier to get into the habit of not picking up worse (and possibly more pain in the ass) habits, such as case-sensitivity typos.

    30. Re:QBASIC ?? by graxrmelg · · Score: 1

      A lot of humans don't use writing systems that have case, and a lot of humans who do notice that uppercase and lowercase letters are different and are used differently. For example, English speakers pronounce "Polish" and "polish" differently. Also, mathematicians and other users of mathematical notation treat G and g as different variables.

      If you're going to be a programmer, it's good to get in the habit of being consistent as soon as possible. Randomly capitalizing variables, inconsistent use of whitespace, and other nonsystematic behaviors are only going to lead to trouble. A person who can't manage that isn't likely to have the right mindset to be much of a programmer.

      By saying that I'm not being elitist. Different people have different talents, and different jobs require different talents. Too be good at something, you need to have the talents required for it.

  6. QWhat? by Anonymous Coward · · Score: 0

    why in the hell would you ever want to learn qbasic in the first place?

  7. Who realy is the Dummy? by Anonymous Coward · · Score: 2, Funny

    You bought the book so im starting to wonder who realy is the dummy?

    Actualy I have read several of those books, the one on linux was a decent read for a noobie.

    1. Re:Who realy is the Dummy? by Anonymous Coward · · Score: 0

      im starting to wonder who realy is the dummy

      So are we.

    2. Re:Who realy is the Dummy? by mhesseltine · · Score: 4, Funny
      You bought the book so im starting to wonder who realy is the dummy?

      The person who misspelled "really"

      Twice!

      --
      Overrated / Underrated : Moderation :: Anonymous Coward : Posting
    3. Re:Who realy is the Dummy? by nite_warrior · · Score: 1

      I guess this review is one of those things people make to get a story posted on /.

    4. Re:Who realy is the Dummy? by Anonymous Coward · · Score: 0

      YHBT. HAND.

  8. QBasic by nogoodmonkey · · Score: 1, Interesting

    We are reading book reviews from books written in 1994 now?

    I never understood why they did away with line numbers in QBasic. Seemed like a very big part of GWBasic.

    1. Re:QBasic by YetAnotherAnonymousC · · Score: 1

      I know you're probably kidding, but just as a piece of nerd trivia: There's nothing stopping you from using line numbers in QBASIC if you want to. They just get treated like any other labels.

    2. Re:QBasic by Tom7 · · Score: 1

      You can use line numbers in QBasic. Of course, the reason to remove them is that it becomes impossible to maintain your code when you've got lines 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, and need to insert a line between 64 and 65. ;)

      For what it's worth, I learned on QBasic and think it was a really good starting point.

    3. Re:QBasic by LostCluster · · Score: 2, Informative

      The reason why the did away with line numbers is that they became irrelavant. With QBasic sharing its interface with the DOS Editor, it was just much more logical to assume that the lines were already in proper order rather than have to rely on numbers to sort them. (GWBasic lacked any way to move up and down between lines.)

      From there, the only lines that actually still needed their numbers were the lines that were called by name in a GOSUB or GOTO line, and there was no reason to limit the "line number" to numerics so the Line Label of any text you wanted was created instead. QBasic still supported numbered lines for nice legacy compatibility.

    4. Re:QBasic by TheAncientHacker · · Score: 1

      No, that's when you do a
      RENUM 100,10

    5. Re:QBasic by SoCalChris · · Score: 1

      Line numbers never went away from BASIC, they just aren't required any more. I'm not sure if VB.Net supports line numbers, but VB6 does. It is actually pretty useful for debugging with the ELN function, which returns the line number the error occured on. There are tools out for VB6 that automatically add and maintain your line numbering for you just for the purpose of debugging.

      And yes, I do use Visual Basic when I need a quick GUI/database app.

    6. Re:QBasic by HotNeedleOfInquiry · · Score: 1

      You should be using Focal. Just add line 64.5

      --
      "Eve of Destruction", it's not just for old hippies anymore...
    7. Re:QBasic by nogoodmonkey · · Score: 1

      I know they never went away, I just found it odd that they are not required anymore. Line numbers always made BASIC seem more, well basic. When they did away with it, they almost started requiring you to use an IDE for it. The days of using "notepad", "edit", or even "edlin" for programming died quickly.

      VB.NET supports line numbers as labels. I use it when I need a quick app written for a short amount of time. If the app is needed for a long time period, I usually will write it in C++ (or more lately, in C#).

    8. Re:QBasic by nogoodmonkey · · Score: 1

      I had actually written another program that went through and renumbered everything.

      example:
      3, 4, 4.5, 4.7, 5
      would become:
      3, 4, 5, 6, 7

    9. Re:QBasic by Suidae · · Score: 1

      GWBasic lacked any way to move up and down between lines.

      The GWBasic I used (version 2.12 I think) most certainly did not lack a way to 'move up and down between lines'. It had a full screen editor. You'd list the relevant range of line numbers, then cursor around, changing whatever you wanted.

      Course, the better the editors got, the more pointless line numbers became.

    10. Re:QBasic by Anonymous Coward · · Score: 0

      Yeah, and the function keys did all the load/save/stuff I think? I still have an old GWBasic book lying around, maybe I should get some nostalgic value out of it :P

    11. Re:QBasic by Suidae · · Score: 1
  9. Re:Fitting title by Anonymous Coward · · Score: 0

    heh so is your post idiot

  10. go ahead and laugh by cr@ckwhore · · Score: 5, Interesting

    Go ahead and laugh, but I work for a company that still writes/maintains qbasic software and sells it to unsuspecting clients for $50,000 bucks a pop. I think we need a "software purchasing for dummies" book.

    --
    Skiers and Riders -- http://www.snowjournal.com
    1. Re:go ahead and laugh by SuperBanana · · Score: 2, Funny
      Go ahead and laugh, but I work for a company that still writes/maintains qbasic software and sells it to unsuspecting clients for $50,000 bucks a pop. I think we need a "software purchasing for dummies" book.

      More like a "leaving your cave for dummies" book.

    2. Re:go ahead and laugh by Anonymous Coward · · Score: 0

      You don't happen to work for AEA Technology or BNFL do you? Do you still write in M$ FORTRAN for DOS as well?

    3. Re:go ahead and laugh by malraid · · Score: 1

      OMG

      I was really impressed with companies selling software written in Pascal (including DB engines ), but QBASIC is on another league completly.

      --
      please excuse my apathy
    4. Re:go ahead and laugh by Anonymous Coward · · Score: 0

      Fortunately, Microsoft has provided an upgrade path for you: Visual Basic for DOS

    5. Re:go ahead and laugh by nicomen · · Score: 5, Funny

      Cool, you work at Microsoft? How's the salary? I'm considering applying for a job there.

      --
      Nicolas Mendoza
      Prepare for MSIE 7
    6. Re:go ahead and laugh by wo1verin3 · · Score: 1

      >>but I work for a company that still
      >>writes/maintains qbasic software

      Can you give me a volume license key for QBasic Snake from your corporate version?

    7. Re:go ahead and laugh by Deagol · · Score: 1
      This wouldn't happen to be point-of-sale software, would it?

      Having worked for a POS company in the not-too-distant past (who develped in Business Basic on UNIX and -- gasp! -- SuperDOS), I can't believe the prices companies will pay for the stuff. It's simply insane.

    8. Re:go ahead and laugh by RevAaron · · Score: 1

      Why? Pascal isn't a toy language. It's been used for real work and real applications often within real companies for a long time.

      I wouldn't say QBasic is a toy either, but it's certainly not as useful as it was in the days most folks with a PC ran DOS console apps. Pascal, on the other hand, has kept up with the times as far as libraries and the like. You can write full-own GUI apps that use the OS's native GUI library.

      Yes, I know you noted that Pascal was in another league, but in a way to imply that Pascal is still below the likes of C. It may not be as popular, but it's just as powerful.

      (No, I'm not a Pascal user myself, not anymore.)

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    9. Re:go ahead and laugh by Anonymous Coward · · Score: 0

      My main job is maintaining a fairly large application written in QuickBasic. We were selling it for ~$3000. We have a windows version out now written in Delphi, but it will be at least a year before all of our customers are converted over.

    10. Re:go ahead and laugh by Mr_Silver · · Score: 4, Insightful
      Go ahead and laugh, but I work for a company that still writes/maintains qbasic software and sells it to unsuspecting clients for $50,000 bucks a pop. I think we need a "software purchasing for dummies" book.

      Am I the only person who sees nothing wrong with this?

      As long as the application does what the client wants, is bug free, works well, easy to use and saves them money - who cares what it is written in?

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
    11. Re:go ahead and laugh by confused+one · · Score: 1
      We still have test stand code that runs qbasic and MS C for dos.

    12. Re:go ahead and laugh by Snowdog668 · · Score: 1

      My boss still uses qbasic to write quick database queries. It's weird because he loves to play with new technology. I've got him toying with the idea of using Linux and he's always wanting to know what the latest and greatest hardware out there is. QBasic seems to be his only blindspot that way. He insists that before he switches to Linux I have to install a DOS emulator and prove that all of his old programs will work :) I didn't have much luck getting an emulator to work on the POS Lindows box he bought for himself and don't really want anything that reminds me of DOS 6.2 on my Mandrake box...

      --
      I wouldn't say I'm a bad gambler but the last time I went to Vegas I even lost a buck on the soda machine.
    13. Re:go ahead and laugh by HotNeedleOfInquiry · · Score: 1

      I hope to hell you at least compile it under PowerBasic.

      --
      "Eve of Destruction", it's not just for old hippies anymore...
    14. Re:go ahead and laugh by ryanvm · · Score: 1

      I worked for a factory that (as of 1999) was still using GW-BASIC and a 3rd party DB module for ALL of their inventory/reporting systems. Hundreds of thousands of lines of code in GW-freakin-BASIC! You want to talk about a nightmare to maintain.

    15. Re:go ahead and laugh by barc0001 · · Score: 1

      Are you trying DOSEmu? I've gotten it to work with some pretty esoteric things, like a line card for reading storage tank probe information, and it works fine...

    16. Re:go ahead and laugh by dknj · · Score: 1

      I started programming QBasic when we first got DOS 5.0 (i think that was around 91 or so). It was very easy to understand and you could write basic programs very quickly to impress friends and family. However, don't blow off qbasic that quickly. You can push it to do almost anything you want if you try.

      I started off by writing basic text adventure games and quickly moved off to writing graphical games using the DRAW command. Of course, that method was too slow to be useful. My cousin had wrote a pcx to bsave utility and he let me use it, which paved the way to all the games I wrote while I was in middle school and junior high. By the time I gave up on qbasic I was in the middle of a game that had a wireframe 3d engine, played digital sound if you had a sound blaster soundcard, and had vesa support. It was slow, but it was interesting to see how far qbasic was able to go.

      Its a shame no braindead scripting language comes with windows now

      -dk

    17. Re:go ahead and laugh by micker · · Score: 1

      Go ahead and laugh, but I work for a company that still writes/maintains qbasic software and sells it to unsuspecting clients for $50,000 bucks a pop. I think we need a "software purchasing for dummies" book

      Where do I sign up... I love writing qb....

      --
      Words are only yours until someone else uses them...
    18. Re:go ahead and laugh by turgid · · Score: 1
      Its a shame no braindead scripting language comes with windows now

      It's a shame that people are still using Windows.

    19. Re:go ahead and laugh by strider3700 · · Score: 1

      I'm also still programming in a basic variant at work. All that object oriented stuff I learned at University just exists to give me a way to measure the pain I feel every day. I'm currently working on a program that thanks to the use of gosubs, and not functions is pretty much just a 50,000 line long Main. Thank god the company is working on funding so we can do a complete rewrite of the system, and move away from the obscure little OS we're trapped on as well.

      Before anyone comments about refactoring and not rewriting here are some of the problems with the existing system.

      No design was ever done, it's just 20 years of hacks stacked on top of each other.

      lead programmer that was here about 5 years ago decided the commenting made the code hard to read. he wrote a script and removed all of it from the 3000 programs.

      The OS has hardware support that makes Linux in 96 look like the promised land.

      We tested if linux could handle what we currently do perormance wise. The main system is a 2.4 P4 with 512 mb of ram. linux matched it's performance on a 486 100 with 64 mb. This probably has to do with the fact that the system sends every disk access to the parallel port for a dongle to OK it.

    20. Re:go ahead and laugh by stanmann · · Score: 1

      Uh, JUST Fyi, Gosub is a function call, unfortunately, it is the best that the BASIC language provides, however if it is properly commented and used, provides just as complete Object compatability(if you write in an OO manner) as any other language.

      --
      Food not Bombs is a nice platitude but it breaks down when you notice that the Bombees are usually well fed
    21. Re:go ahead and laugh by malraid · · Score: 1

      Pascal might not be a "toy language" It can certantly be used to create "real" applications, as much as QBasic, I'm sure that with a bit of work you can even parse XML or connect to an Oracle Database with QBasic or Pascal. But most of the time, they are used as "toy languages"

      For example, the apps I'm metioning manage the database directly, a "hand made" DB engine. Huge propietary files, if something breaks, you are more or less screwed (restore and reprocess, ugh!!!) That will not be as fast or reliable as Oracle (or PostgreSQL or MySQL, or whatever)

      So I think that the term "toy language" refers mostly to the uses that it's given. You can probably write the linux kernel in QBasic (with a bit of asm) But they don't to program OS kernels in Qbasic, they teach programming fundamentals in QBasic.

      --
      please excuse my apathy
    22. Re:go ahead and laugh by Snowdog668 · · Score: 1

      I did try DOSEmu. We had e-mails passing back and forth for a couple of weeks with the vendor but couldn't get it to work. On the plus side, I met some new friends when I posted the question on the Lindows user board. Apparently others are also having trouble.

      --
      I wouldn't say I'm a bad gambler but the last time I went to Vegas I even lost a buck on the soda machine.
    23. Re:go ahead and laugh by MadCow42 · · Score: 1
      >> is bug free,

      Wow... there is such a thing? (no, I'm not being sarcastic!)

      I have yet to see a program of more than a thousand lines of code that is truly "bug free"... however well something may work, there is no such thing as a perfect program.

      Yes, I'm a programmer, and yes I'm VERY concerned about quality. I'm also a realist though; if you didn't ship a product until it was "bug free", you'd never ship a product.

      MadCow.

      --
      I used to have a sig, but I set it free and it never came back.
    24. Re:go ahead and laugh by RevAaron · · Score: 1

      You can get libraries for various Pascal dialects for using real databases, not goofy homemade flat file jobbies- various SQL, even ODBC. Heck, from some Pascal implementations, you have access to all the stuff you can get through COM+, which is a lot, at least on Windows.

      No, Turbo Pascal 2.0 can't do all of this. But you wouldn't use an old C compiler as the basis for comparison either.

      Read what I said in my post, the one you replied to. I talked about Pascal being a language just about as capable as C++, C or Java *not* QBasic. It's easy to hook up Pascal to modern C or C++ libraries, in QBasic it is not. Heck, it may be impossible.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    25. Re:go ahead and laugh by loteck · · Score: 1

      omg someone else out there programs in business basic. Im not alone afterall! yes.. our software is highly customizable and it costs. It includes POS, but goes way beyond that. Hey.. at least Basic is sturdy.. we also program in Delphi and its a total and complete disaster.

    26. Re:go ahead and laugh by strider3700 · · Score: 1

      Perhaps this variation of basic is slightly different. But all variables in a gosub are automatically global in nature and I don't believe I can even declare the variables local. This basic also contains a function structure but it makes With out data encapsulation I could care less if it's technically a function , It functions exactly the same as a goto with parameter passing

    27. Re:go ahead and laugh by eatdave13 · · Score: 1

      Nothing is impossible in a language with peek and poke!

      --
      "Verbing weirds language." -- Calvin
    28. Re:go ahead and laugh by Deagol · · Score: 1

      Sorry -- I was a sysadmin. I never touched the code. And whenever I happened to see the code -- it made me wince. :-)

    29. Re:go ahead and laugh by Old+Wolf · · Score: 1

      You aren't alone. I've heard of companies that charge $50k or more for programs written in Visual Basic (ie. Qbasic with objects).

    30. Re:go ahead and laugh by RevAaron · · Score: 1

      You got me there! Come to think of it, I have seen drivers for DOS written in QBasic and QuickBasic (similar but different BASIC products both by MS). :) I guess I should say that it isn't impossible, but QBasic doesn't have the support for calling C/C++ libraries built-in in the same way many Pascal implementations do.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    31. Re:go ahead and laugh by Anonymous Coward · · Score: 0

      Its a shame no other operating system doesn't suck so bad on the desktop

      -dk

    32. Re:go ahead and laugh by Glabrezu · · Score: 1

      In my experience, code is almost always on maintenance. Be it because someone (the client for instance) want to add new functionality, change existing one, or modify the environment under which the program is running . New programming languages and paradigms (like oo, which is new in comparison to qbasic :)) aren't tools just for creating new software; they also make modifying and maintaining that software much easier. When your code grows and developes, i would like to see how you handle the beast using qbasic, and how much time will take you to do it. Besides, the issue is not only with the client perception of the app, its with code development costs. Generally, it will be easier to code the app in modern languages than in qbasic.

      --
      Santiago
    33. Re:go ahead and laugh by danheskett · · Score: 1

      Thats a big " as long as" statement.

      Consider in this DOS based world:

      1. Printing is a joke. I work(ed) with the original package, and thanks to the software being based on quickbasic there is no reliable networking printing. Reports look like crap - using crappy ASCII characters to pretend to be formatting.

      2. There is no reasonable ability to reuse code. Meaning, a client wants a new feature it will cost him thousands in programming time, instead of 5 minutes like in normal development environments.

      3. There is no support for modern anything. Can you really justify working with software that will give you the same old shit problems that DOS did in 1988? File locking problems, memory limitations, hardware support, etc?

      4. It is slower the faster computer you run it on. Thanks to the fact that the CPUs that run this code now dont look anything like that 8088/8086's that originally spawned this program, you try to run this app under Win2k on a P4 2GHz and its *slower* than a 486/33 Mhz machine running DOS 6.22.

      That's a short list of why it sucks. If the software had of been written properly from day #1, it wouldn't be a total joke that it is now.

    34. Re:go ahead and laugh by Anonymous Coward · · Score: 0

      Hey, cr@ckwhore. I've been programming in QBasic / QuickBasic for over 10 years. Got any job openings?

  11. Bad title by SuperBanana · · Score: 0, Redundant
    QBASIC Programming for Dummies

    Isn't that redundant?

    1. Re:Bad title by Anonymous Coward · · Score: 0

      so's your post, apparently.

    2. Re:Bad title by ATMAvatar · · Score: 0

      The moderator seems to think so.

      --
      "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
  12. Re:Fitting title by chibiyoukai · · Score: 1

    It's not nearly as redundant as your post. ;-)

  13. I remember QBasic by Carme · · Score: 1

    I used to be a QBasic freak. Up until, oh, 1994.

    Seriously, is anyone still using it for anything? I can kinda-sorta understand how it would be good as an intro to programming, but it's like tinkering with a Model T engine and working your way up to a V8 over the course of a few years. It strikes me as impractical for anyone seriously trying to learn.

    1. Re:I remember QBasic by Drakin · · Score: 1

      There's still people playing with Qbasic... however most of the real innovators have left QBasic and gone on to other things.

      Funny though, take QBasic 4.5 plus one of the libaries made with Assembly, and QBasic isn't such a toy, there's some fun little games made with it.

      But, myself I used Qbasic the other day to take some data and generate a formated HTML file with it... it was simply the right tool (ie, the quickest to download and install seeing I just reinstalled windows)

    2. Re:I remember QBasic by kisrael · · Score: 1

      Seriously, is anyone still using it for anything? I can kinda-sorta understand how it would be good as an intro to programming, but it's like tinkering with a Model T engine and working your way up to a V8 over the course of a few years. It strikes me as impractical for anyone seriously trying to learn.

      Actually, that doesn't sound like such a terrible idea! Not to push the metaphor, but a lot of people who start straight into the V8 have NO idea what's going on under the hood... (I'm thinking more of people who do a lot of "programming via program wizards", more than V8 vs Model T, but still.)

      Cars in the 70s, you could fix by yourself, and learn. Now everything is blackbox, just like other consumer electronics...

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    3. Re:I remember QBasic by Sylver+Dragon · · Score: 1

      Seriously, is anyone still using it for anything?

      Sadly, yes I am. At my current employer we send a "recovery" floppy with every system. Basically, the floppy contains a copy of the Power Quest Drive Image DOS program, the files required to boot into DOS, and enough drivers to get the CD-ROM drive running. Also, we include a CD with a image of the system prior to shipment.
      Now, one would think that restoring that image to the right partition, with the nice GUI interface would be simple, but, our customers manage to screw it up constantly. So, I put together a little menu program to make all of the hard decisions for them, they simply select which drive letter they want to restore, and presto it gets automagically restored. Its amazing, they can figure out which drive letter they need restored, but relating that to a partition mystifiyes them. Oh well, back to the point.
      At the time, the only language I knew was BASIC (from years of playing with GWBasic, QBasic, and old BasicA.) So, rather than try and learn something new that would work in a DOS environment, I fired up QBasic and wrote the menu app. Its nice, clean and small, which is great when you are limited to 1.44M, and have to fit a separate program, the OS, and drivers on one disk. Thank God for RAMDisks and PKZIP with max compression.
      So yes, Qbasic still has its uses for people like me who need something small, quick, and don't have the time to invest in learning a new language.

      --
      Necessity is the mother of invention.
      Laziness is the father.
    4. Re:I remember QBasic by CableModemSniper · · Score: 1

      But then doesn't the analogy work even less? I always thought (GW/Q/whatever)Basic was pretty abstracted. It's more like moving from an automatic scooter, to a manual V8...eh...or not. I give up.

      --
      Why not fork?
    5. Re:I remember QBasic by Andux · · Score: 1
      But, myself I used Qbasic the other day to take some data and generate a formated HTML file with it...
      I've written a messageboard in QuickBasic (among other things). Not that great, feature-wise, but I'm working on it.

      I will probably regret linking to my 56K from Slashdot, though.

      --
      (Do not sign anything.) -- Fell, Planescape: Torment
    6. Re:I remember QBasic by Drakin · · Score: 1

      While you might regret it, you'll prove a wonderful point... most people just don't know how much people have expanded the functionality of Qbasic. I remember when using Qbasic for CGI was first announced... everyone scoffed. But I guess there's always someone with a use for anything.

  14. What is next by Fizzlewhiff · · Score: 4, Interesting

    A review for MS-DOS 5.0? QBasic hasn't been included with Microsoft operating systems since they stopped selling DOS if I am not mistaken.

    --

    'Same speed C but faster'
    1. Re:What is next by Anonymous Coward · · Score: 1, Informative

      QBasic was included on the windows 95 CD, but not installed by default. NT has it installed by default. Not sure about 98 or 2000 and up.

      But yeah, I agree with your point... learning to use qbasic is about as useless as learning VAX assembler.

    2. Re:What is next by Goalie_Ca · · Score: 1

      Try windows 9x. Just look on the install CD.

      --

      ----
      Go canucks, habs, and sens!
    3. Re:What is next by ketamine-bp · · Score: 1

      Wrong. They have that in windows 95 cdrom under the 'oldmsdos' directory inside some directory...

    4. Re:What is next by Anonymous Coward · · Score: 0

      Actually you are mistaken, Windows 3.1 had qbasic but Windows 3.1 was just a shell program running off DOS made to look like its own OS.

    5. Re:What is next by haus · · Score: 1

      It appears to come up on my office Windows 2000 Pro box. Go figure.

    6. Re:What is next by frobisch · · Score: 1

      and it's on the nt4 cd too, in i386 you can copy it onto your win2k/xp system and expand it
      Expand qbasic.ex_ %SYSTEMROOT%\system32\qbasic.exe
      Expand qbasic.hp_ %SYSTEMROOT%\system32\qbasic.hlp

      AND OF COURSE
      Expand gorilla.ba_ C:\GAMES\gorilla.bas
      and then throw the bananas :)

    7. Re:What is next by LostCluster · · Score: 1

      QBasic was distributed in a not-installed-by-default placement on Windows 95 and Windows 98... it's there but well-hidden.

    8. Re:What is next by Anonymous Coward · · Score: 1, Informative

      Here's a scary though. I use Windows XP at work and typed in qbasic in the "run" window. It popped up a small console window with the qbasic editor. Looks like they still include it with the OS after all.

    9. Re:What is next by yess · · Score: 1

      Well. Believe me, or not, but End-of-Life for MS-DOS was finally half a year ago. Despite the fact, that it was obsolete for ages...

    10. Re:What is next by haggar · · Score: 1

      Care to elaborate? I am kinda interested in installing it.

      --
      Sigged!
  15. 5 1/4 inch floppy by BlueWaldo · · Score: 1

    Maybe the book should come with a 5 1/4 inch floppy instead of a CD, since QBASIC lost its usefulness about the same time as the 5 1/4 inch floppy.

    1. Re:5 1/4 inch floppy by Angry+White+Guy · · Score: 1

      One CD? That better come with a helluva lot of pictures on it, because there is absolutely no way they can fill the thing even if they had full PDF and MS DOC versions of each program, with i18n versions of each.

      I thought that only AOL gave out free coasters.

      --
      You think that I'm crazy, you should see this guy!
  16. QBASIC is the first language. by Omni+Magnus · · Score: 3, Insightful

    I can't even count how many educational institutions use QBASIC to teach programming. With QBASIC, you can learn the fundamentals very easily, and that is why it is still used. Granted, these fundamentals are being taught in junior high and sometimes at high school. If he is reading about QBASIC he probably isnt a skilled programmer and he is just starting out, and that is what he needs to do, start with QBASIC.

    1. Re:QBASIC is the first language. by FroMan · · Score: 2, Informative

      I can't even count how many educational institutions use QBASIC to teach programming.

      Maybe if the schools were better you could count them. :-P

      It might be better to pick up a language that is more commonly used though. For instance C would be a decent language. Once you learn the simple IO libraries you can do some fun stuff. You can then learn about all the basics of programming like flow control, functions and such.

      --
      Norris/Palin 2012
      Fact: We deserve leaders who can kick your ass and field dress your carcass.
    2. Re:QBASIC is the first language. by Anonymous Coward · · Score: 0

      I started using Kix script... not much difference from QB syntax wise... but increased functionality. I actually had a QB class for my AA, so it was a breeze.

    3. Re:QBASIC is the first language. by smoondog · · Score: 1

      I think that is a horrible idea, though. Start with C, java, or even python as a first language. Although perhaps they might not be the best for first programmers (I think they are just fine), you will actually leave with a skill. I went to a college many years ago that only taught qbasic. I skipped the programming there and learned C. I'm much better off because of it.

      -Sean

    4. Re:QBASIC is the first language. by monopole · · Score: 1

      What sort of fundamentals do you mean? GOTOs, lack of dymamic data structures, rudmentary structure, total lack of object orientation. QBASIC instills all the worst "bad habits" that we were having to beat out of programmers in the '80s. It's FORTRAN IV without the performance and 6502 Assembly code without the relevance. Why not throw in keypunch training to provide more fundamentals?

      The only conceivable reason any teacher would teach QBASIC in 2003 is that it is the only language he ever learned (probably a gym coach moonlighting as a computer teacher). Such "teachers" should be immediately arrested on multiple charges of "Contributing to the Deliquency of a Minor" and "Reckless Child Endangerment".

      For the sake of all that is holy start the kids on an elegant, powerful language like Python or Java. I mean Python is not only a hundred times more useful but it's free as well.

    5. Re:QBASIC is the first language. by OG · · Score: 1

      Better yet, start with a survey of languages class. Everyone's taught procedural languages from the get-go, and even computer programmers I know are stuck in the mold of "everything is procedural." Teach some about traditional procedural programming, teach some about object-oriented, teach some about transformation languages (like XSLT), etc. Teach students to keep an open mind about different ways to accomplish the same task. They need to know how to find the best tool for a job with enough basis to learn how to use that tool. That wasn't even really covered in my college courses (software engineering was the closest).

    6. Re:QBASIC is the first language. by RatBastard · · Score: 1

      Bah! They should teach Pascal as a first language! Pascal was intentionally designed as a teaching language. BASIC, in all of its forms, teaches very bad programming concepts.

      --
      Boobies never hurt anyone. - Sherry Glaser.
    7. Re:QBASIC is the first language. by radish · · Score: 1

      Yuck!

      I certainly wouldn't want to be (or employ anyone) from one of those "institutions". Basic (any varient thereof) is about as far from "good programming practice" as it's possible to get. I'll admit that the first thing I learnt was BBC Basic (but I was about 7 at the time), but I'd consider either Pascal/Modula or some functional language a better introduction. When I finally ended up at university they taught Miranda as a first language (partly because they KNEW no-one would have touched that before, hence a level playing field). Those functional languages really work well for people who have no experience with programming, but know maths.

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    8. Re:QBASIC is the first language. by OrangeGoo · · Score: 1

      I'll back you up on this. :)

      Everyone seems so concerned about structure and habits and blah-dee-blah-dee-blah. What about the very most basic constructs that practically every single programming language ever (are there exceptions? I don't know) have had? Variables! IF-THEN statements! Loops!

      QBasic is a great language for learning the absolute most basic ideas of programming. That's what most people have trouble grasping at first, I think, not whitespace conventions, semicolons, or character case-dependency. I watched a lot of people in my programming classes flouder with C++ pointers because they weren't really clear on variables (I know, that seems pretty sad). I saw a lot of people have trouble with the C++ FOR loop (the only new thing I learned was the syntax, having used the heck out of "for i = 1 to 100 step 2" in QBasic).

      Programming form doesn't matter nearly so much as basic concepts, and I think everyone here suggesting QBasic makes a good first language is absolutely right: it has all the fundamentals of programming, and it's simple. The perfect combination for a beginner's tool.

    9. Re:QBASIC is the first language. by stanmann · · Score: 1

      And good practices are something that you are either taught, or aren't. If you are given clear instruction on creating modularity, and localization, it will be done, whether you use basic or C++ and if modularity isn't taught, you will end up with a 5K line Main.

      --
      Food not Bombs is a nice platitude but it breaks down when you notice that the Bombees are usually well fed
    10. Re:QBASIC is the first language. by the_ed_dawg · · Score: 1
      With QBASIC, you can learn the fundamentals very easily, and that is why it is still used. Granted, these fundamentals are being taught in junior high and sometimes at high school.
      I learned QBASIC in my 10th grade computer science class. Looking back, it has several structures that we all know to avoid, i.e., GOTO speghetti code, but it was fairly easy to do "interesting" things. For example, as a first programming language, I was able to draw pictures with animation, as well as use the PC speaker to make music. For our final project, one of my friends and I made a likeness of Metallica (stick figures with cheesy guitars and drum set) come out on a stage and play "One!" (Yes, the whole song, single note for note...) :)

      The point is that easy languages like QBASIC teach younger students the basic premises behind programming and spark interest. There's plenty of time to learn the right way to do things.

      --
      There are two types of people: those prepared for the zombie apocalypse and those who will be eaten.
  17. Lazy people can't learn by Anonymous Coward · · Score: 0

    >discouraging lazy people doesn't help the
    >learning process along.

    I find this comment misguided. If you're lazy, you're going to have a hard time learning. Learning requires work and effort - and if you aren't willing to put in the effort, you aren't going to learn.

    1. Re:Lazy people can't learn by cloak42 · · Score: 1

      I find this comment misguided. If you're lazy, you're going to have a hard time learning. Learning requires work and effort - and if you aren't willing to put in the effort, you aren't going to learn.

      No. Learning requires the ability to learn. WORKING requires work. You can easily learn stuff just by sitting around and listening. It's applying that knowledge that takes the work and effort, not the actual learning. Just because you had to study for hours every night with a textbook doesn't mean that we all had to.

    2. Re:Lazy people can't learn by Anonymous Coward · · Score: 0

      >>No. Learning requires the ability to learn.

      The ability to learn is not the same thing as actually learning a new skill. Learning takes some level of effort. For some it may be very little work, for others it may be a lot more--that distinguishes between those you have a high ability to learn and those that don't. But the actual learning takes effort.

      >>You can easily learn stuff just by sitting around and listening.

      This is true of some things, but does not follow the original context. So you can learn a new programming language (w/o programming before) just by sitting around and listening or looking at a book and CD?

      You can fool yourself into thinking that, but when you have to DEMONSTRATE your knowledge, you will find you didn't learn as much as you thought.

    3. Re:Lazy people can't learn by Anonymous Coward · · Score: 0

      Well I don't know.. I rate myself as being pretty lazy, and a lot of people have said to me thats why I'm such a good programmer.. I always look for the easiest way to do something, the one that involves me in less typing and gives the computer more of the work to do. This usually results in short, concise, elegant programs rather than reams and reams of repeated almost-identical code. Or rather than sitting there making tons of manual changes to something I'd write a script to do it for me.. which gives me an option to make minor changes and redo it if its not quite right. That's not the philosophy so much in this point-and-click world..

  18. Arghh by fasura · · Score: 0

    GOTO
    haven't you heard, GOTOs are considered harmfull?

    Actually I can't even see the point in buying a book for a dead and crappy language.

    --
    -- Be careful what you say. Someone might remind you about it another day.
    1. Re:Arghh by Jeremy+Erwin · · Score: 1

      Yes, real programmers use switch() statements.

    2. Re:Arghh by douglas+jeffries · · Score: 1

      ah, referencing Dijkstra. clever.

      however, goto is still quite useful in the hands of an intelligent programmer (who knowns not to allow it to become a pasta-maker). i believe the book "code complete" mentioned this, if i remember correctly.

      i've written a lot of assembly lately, and use GOTO (jump) commands generously throughout. so i can't help but encourage the use of goto. :-)

  19. Best way to learn is with gorilla! by HenryC · · Score: 1

    I got into programming with Qbasic by studying Nibbles and gorilla. I remember modifying the code and break both program so many times before acchieving anything useful. And as I was 9 at the time, I thought it was really cool to steal the dollarsign intro screen they used for my own programs.

    -- Henry

  20. Q-what? by jabbadabbadoo · · Score: 4, Funny
    "The book started off making me feel stupider than I actually am."

    I would feel pretty stupid actually reading a QBASIC book in 2003. Modern programming languages are easier to learn than QBASIC.

    In short:
    10 PRINT "QBASIC SUCKS"
    20 GOTO 10

    1. Re:Q-what? by ketamine-bp · · Score: 1

      Wait, but qbasic does not require line number and it supports text-labels! Your post should file under 'GWBasic for dummies' or 'BASICA for dummies'... :-)

      (It will run fine, though.)

      By the way, i think this book review should be placed in 'it's funny, laugh' category.

    2. Re:Q-what? by jcast · · Score: 1, Funny

      That's GWBasic.

      What, you mean you don't have your obsolete useless languages memorized? Shame on you.

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    3. Re:Q-what? by jabbadabbadoo · · Score: 1
      "Wait, but qbasic does not require line number and it supports text-labels! Your post should file under 'GWBasic for dummies' or 'BASICA for dummies'... :-) (It will run fine, though.)"

      Hey, I wouldn't write a "QBASIC SUCKS" program in QBASIC, now would I? Of course it's GWBasic ;-)

    4. Re:Q-what? by Tablizer · · Score: 5, Funny

      I would feel pretty stupid actually reading a QBASIC book in 2003. Modern programming languages are easier to learn than QBASIC.

      They are? By what reconning? These days they turn this:

      print(a + b)

      Into this:

      am = new math.ArithmeticManager()
      opA = new math.Operand((float) a)
      opB = new math.Operand((float) b)
      am.addOperand(opA)
      am.addOperand(opB)
      am.operator = new math.operators.Addition()
      am.executeMathOperation()
      system.io.output.print(am.mathOperationResult())

    5. Re:Q-what? by Mourgos · · Score: 1

      Still numbering lines?
      Use labels man!

    6. Re:Q-what? by WWWWolf · · Score: 1

      You use Line numbers? Phfff, at least QBasic could drop them. Me, I coded stuff in Commodore BASIC. Yes, line numbers. No subroutine parameters. No local variables, and the global variables don't have 15-letter name limit, they have two-letter name limit.

      I totally agree the new languages are easier to learn and far more convenient to use, but QBasic was almost tolerable (in its time, not as tolerable as Turbo Pascal, though). I'm glad there's a C cross compiler for Commodore 64 now =)

    7. Re:Q-what? by Anonymous Coward · · Score: 0

      Hey genius. Although archaic, that's legitimate QBasic. Looks like somebody else needs to memorize obsolete languages that they probably never used before trying to be funny.

    8. Re:Q-what? by TheCrazyFinn · · Score: 1

      try:

      printf(a+b);

      --
      "You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
    9. Re:Q-what? by be-fan · · Score: 1

      Except in python, where
      print(1+2)
      is a complete, totally legal program.

      --
      A deep unwavering belief is a sure sign you're missing something...
    10. Re:Q-what? by Anonymous Coward · · Score: 0

      10 PRINT "10 PRINT "QBASIC SUCKS""
      20 PRINT "20 GOTO 10"
      30 GOTO 10
      40 END

    11. Re:Q-what? by KILNA · · Score: 1

      sh-2.05a$ perl -ce 'print ($a + $c)'
      -e syntax OK

      --
      Error: PANTS NOT FOUND. Press <F1> to continue.
    12. Re:Q-what? by recursiv · · Score: 1

      Expected: End of line at LINE 10

      --
      I used to bulls-eye womp-rats in my pants
    13. Re:Q-what? by mugnyte · · Score: 1

      I'm glad there's a C cross compiler for Commodore 64 now =)

      So you're still smoking the crack, just switched pipes.

    14. Re:Q-what? by CableModemSniper · · Score: 1

      $ echo `expr $a + $b`

      --
      Why not fork?
    15. Re:Q-what? by metamatic · · Score: 5, Funny

      Ah, but at least you know your code to add two numbers and print the result will be reuseable and extensible. Imagine if you had to reinvent that piece of code every time you needed it? *cough*

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    16. Re:Q-what? by Surak · · Score: 1

      In addition, of course, line 40 is just a waste of two bytes, it never gets executed.

    17. Re:Q-what? by Atomizer · · Score: 1

      You forgot the best part. It's also type safe!

    18. Re:Q-what? by Anonymous Coward · · Score: 0

      It sure looks like you are mocking Java. And if you are, the code is

      System.out.println(a+b);

      It's not great, but not as completely horrid as you make it out to be.

    19. Re:Q-what? by MagPulse · · Score: 1

      C: printf("%i",a+b);
      C++: cout << a+b;
      Java: System.out.println(a+b);
      Perl: print ($a+$b)
      Python: print(a+b)
      C#: Console.WriteLine(a+b);

    20. Re:Q-what? by WWWWolf · · Score: 1
      So you're still smoking the crack, just switched pipes.

      Got to be the longest trip then.

      I thought these were the real crack smokers...

    21. Re:Q-what? by mog · · Score: 1

      $ echo $(($a+$b))

    22. Re:Q-what? by Sj0 · · Score: 1

      I PITY DA FOO' WHO CODES WITH LINE NUMBERS!!!

      do
      print "Learn it before you knock it, SUCKA!"
      loop

      --
      It's been a long time.
    23. Re:Q-what? by Anonymous Coward · · Score: 0

      update your sig. the dean blog moved.

    24. Re:Q-what? by mr_e_cat · · Score: 0
      a b print

      forth if i remember correctly

    25. Re:Q-what? by mr_e_cat · · Score: 0
      Do they still have those programming competitions?

      They have teams working in different languages (QBasic, Python, VC++ etc) and see who comes up with the best/quickest solution.

      All the arguing about languages could be settled fairly easily.....

    26. Re:Q-what? by Anonymous Coward · · Score: 0

      It is the *concept* that is the issue. Math is just an example that people can relate to.

  21. Ob Dummies Comment by FroMan · · Score: 1

    Well, yeah! Ofcourse QBASIC is for Dummies.

    It is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

    -- Edsgar W. Dijkstra

    --
    Norris/Palin 2012
    Fact: We deserve leaders who can kick your ass and field dress your carcass.
    1. Re:Ob Dummies Comment by Anonymous Coward · · Score: 0

      I love that quote! So very true.

    2. Re:Ob Dummies Comment by Anonymous Coward · · Score: 0

      I'll have you know, good sir, that Linus Torvalds first learned to program in BASIC!

    3. Re:Ob Dummies Comment by Drakonian · · Score: 1

      Mod this up, that quote is serious. You DON'T want to get into the habit of using GOTOs and other crap like that. Start with Java or Python or something.

      --
      Random is the New Order.
    4. Re:Ob Dummies Comment by FroMan · · Score: 1

      This is going to be even worse then. :-)

      I still maintain the point that designing a monolithic kernel in 1991 is a fundamental error. Be thankful you are not my student. You would not get a high grade for such a design :-)
      (Andrew Tanenbaum to Linus Torvalds)

      --
      Norris/Palin 2012
      Fact: We deserve leaders who can kick your ass and field dress your carcass.
    5. Re:Ob Dummies Comment by dubious9 · · Score: 1
      I totally agree that GOTOs are a poison best left extinct but the fact remains that
      10 print "Hello world"
      20 GOTO 10
      is still more readable to the uninitiated than
      void main(){
      while(1){
      printf("Hello world");
      }
      }
      Now, there are much better beginers languages than c, but the whole if-then, while, for loop structure is confusing for beginers. GOTO does exactly what it says, anybody can read a hello world qbasic program.
      --
      Why, o why must the sky fall when I've learned to fly?
    6. Re:Ob Dummies Comment by Anonymous Coward · · Score: 0
      Hey -- your jingoist signature isn't even correct. Good job showing off your American fucking brain, dipshit.

      It should be:
      I like swearing at the French.

      What the hell is 'swearing at french'? Are you that stupid?

    7. Re:Ob Dummies Comment by Anonymous Coward · · Score: 0

      I don't think anyone will bother to argue against Qbasic for 'hello world' (though "echo 'Hello World' " is probably a better choice).

      The trouble comes when you want to do more than output hardcoded strings. As a newbie learns how to write code beyond hello world the language they use will shape the techniques learned.

      We all know that some languages are better suited to particular kinds of tasks than others. Since the newbie only has one tool on his belt it needs to be simple enough that they can use it and powerful enough to accomplish tasks. BASIC passes these tests reasonably well (esp. later versions).

      But there's an all-important third requirement that is generally ignored. Whenever you start to learn a new language there is a learning curve. One of the largest factors in the curve is the applicability of what you already know to the new material. Someone who knows BASIC trying to learn C will have to learn a lot more than someone who knows Pascal.

      The basic question; what is the "best" language for a new programmer to learn? The answer depends on what kind of software they are interested in. The problem is they don't know yet. VB isn't a terrible choice since there's plenty of instant gratification, an easy curve and you still have to learn some general programming concepts.

      Perl is also a reasonable choice as long as the newbie is sufficiently computer literate. Web site cgi is a growing "cause" for folks to learn programming. Perl is the best choice for learning how to do it, hands down.

      Python is .. Let me put it this way; I write and maintain an obscene amount of python code every day. It's a productivity godsend; I might have to name my first born Guido.

    8. Re:Ob Dummies Comment by Sj0 · · Score: 1

      ...or just don't use gotos and all that crap.

      Personally, I've seen programs in QB that are thousands of lines long that never use an honest to god GOTO statement once. And you know that C has a goto statement as well?

      I wish people would stop assuming that because some incompotent bugger decided to teach them QB in a way that no sane programmer would use it, that's the only way it can be used. You know what? I was taught to use C without functions, and on some piece of crap proprietary graphics/keyboard lib that was slower than QB and wasn't compatible with more than 5 systems not owned by the school. If I took the same route as many of you, I should conclude that C is a piece of linear crap which teaches you to write 100k main functions and doesn't support any of the advanced features of QB or other modern languages.

      It's just a programming language, and from the first version on, it's not really much different from others. Sure, some people got a bit of a stigma from it by learning to code like it's 1974, but that's the fault of their teachers, not the language. Just because we provide the chainsaw, doesn't mean you have to chop off your own legs.

      --
      It's been a long time.
    9. Re:Ob Dummies Comment by Anonymous Coward · · Score: 0

      damnit!

      do
      print "Hello world!"
      loop

      or,

      while len(inkey$)
      print "Hello world! Press any key to stop."
      wend

      while inp(96) and 128
      print "Hello world! Press any key to stop."
      wend

      or,

      while lcase$(inkey$) "q"
      print "Hello world! Press 'q' to quit!"
      wend

      or,

      while inp(96) 16
      print "Hello world! Press 'q' to quit!"
      wend

  22. QBasic programming for Dummies?? by Anonymous Coward · · Score: 0

    Show me QBasic programming for Nerds. (reads "News for Nerds")

  23. Here ya go... by nbvb · · Score: 4, Informative

    Want a *good* book on QBasic?

    http://www.amazon.com/exec/obidos/tg/detail/-/15 56 153406/qid=1055522032/sr=1-3/ref=sr_1_3/002-837483 1-7720813?v=glance&s=books

    there ya go.

    Running MS-DOS: QBasic by MS Press.

    I'm *NOT* a fan of Microsoft, but this IS a well-written book that covers the QBasic language well.

    I used this many years ago when I wanted to modify the source code to VirtualBBS 6.12 (Remember that mess?)

    1. Re:Here ya go... by liquidzero4 · · Score: 0

      I couldn't agree with you more. This is the first programming book I ever read, and the first language I ever learned. I still have and love the book after 15 years. I don't use it all but still have found memories of my first Qbasic program.

    2. Re:Here ya go... by Surak · · Score: 1

      I used this many years ago when I wanted to modify the source code to VirtualBBS 6.12 (Remember that mess?)

      Hmph. I was using Turbo Pascal to modify the Telegard source code. (Don't ask how I got it and I won't tell you who is responsible for the source code leak that allowed the creation of Renegade, Tim Strike's Telegard 3.0, etc.) (No, Tim Strike DID NOT receive permission from the authors to do Telegard 3.0)

    3. Re:Here ya go... by minion · · Score: 1

      One of the best books I've ever read on programming was, "Moving from QBASIC to C". That book is still helpful, since I originally learned to program in QBASIC and PowerBASIC, and now am programming in C. Some things that are second nature in BASIC I have a hard time trying to find in C, so I grab that trusty book and look at the QBASIC code and the equiv. C code. Its very helpful, lays out the same routine in both languages, and explains the differences.

      As a side note, did you know that PowerBASIC could do inline ASM? Very powerful stuff. A lot of my shareware in the BBS days was written with PowerBASIC.

      --

      -- If we don't stand up for our rights, now, there will be no right to stand up for them later.
    4. Re:Here ya go... by telstar · · Score: 1

      Now watch as the "dummy" tries to figure out why the URL that Slashdot inserted random spaces into doesn't work in his browser.

      Why do that? I don't get it...

    5. Re:Here ya go... by nbvb · · Score: 1

      Hmph. I was using Turbo Pascal to modify the Telegard source code. (Don't ask how I got it and I won't tell you who is responsible for the source code leak that allowed the creation of Renegade, Tim Strike's Telegard 3.0, etc.) (No, Tim Strike DID NOT receive permission from the authors to do Telegard 3.0)


      I know Tim didn't. Having said that, Tim's a good guy who writes good code. FKDoor or whatever his kit was called... I forgot these days; I must be getting old. :)

      After I got sick of the VBBS mess (Ugh, Roland was a _really_ crappy programmer... I'm surprised it worked at all.), I started using ProBoard, and that's where I finished out my BBS career.

      ProBoard's PEX toolkit was absolutely freakin' awesome! C hooks right into the BBS software was _incredibly_ powerful back in the day .....

      I miss the BBS days. They were fun... I remember the FroDo/InterMail wars, InterMail/2 on my OS/2 machine, all that good fun stuff.

      Those were the days ....

      Hell, when I see someone write Frodo, I *STILL* think of FrontDoor. What's this about some kids' movie?

      --DM
    6. Re:Here ya go... by DarkEdgeX · · Score: 1

      I doubt it's in print anymore, but I read "QBasic By Example" from Que (ISBN 1-56529-439-4). And I read it because I'd bought VBBS and wanted to mod the hell out of the hardcoded stuff. =) Of course, if I'd given it any thought, I'd have gotten "Turbo Pascal By Example" instead, since after about a year of QBasic (which was actually knowledge used in QuickBasic 4.5, which is what VBBS was compiled in), I moved on to Borland Pascal 7 and never looked back. The best parts of a Basic language with the advanced capabilities of a C/C++ based language. And I still use Delphi (what Borland renamed Pascal to) to this day. ;) I did take the time to learn C and C++ though, this time with no books, just the online help. =)

      Seriously though, QBasic By Example was a great way to get into programming for someone who had only written really basic crap such as--

      10 PRINT "HI"
      20 GOTO 10

      It covered all the basics, variable declaration, arithmetic and string operations, built-in functions in Basic's RTL, how to perform loops and other branch-related operations, as well as file and disk access operations. I sincerely doubt it's in print, but if you can find it, and if you've never coded in your life and have access to QBasic, this might get you going. Just be sure to move off from QBasic after you've learned enough of it to write meaningful code-- switch to C++ or Delphi ASAP.

      Back to the BBS history-- I learned Pascal because it made using Regenade's file structures easier to deal with, plus a friend of mine showed me what a better language it was. =) Unfortunately, Cott Lang never felt the need to open source or just in general release into the public domain the source for RG. Sure, it's been handed around twice now to two other authors, but there's no where near the development of competing legacy software, such as Synchronet (which is open source, or at least, the source is available, not sure under which license).

      --
      All I know about Bush is I had a good job when Clinton was president.
    7. Re:Here ya go... by Surak · · Score: 1

      I know Tim didn't. Having said that, Tim's a good guy who writes good code. FKDoor or whatever his kit was called... I forgot these days; I must be getting old. :)

      He is. Tim's Telegard website seems to imply that he has some sort of permission (without saying it outright). The major issue is that he implies that the 2.5g source was 'released' by one of the two authors. This is not the case. The Telegard 2.5g source was *leaked* onto several BBSes in the Metro Detroit area, and spread from there, mostly via FidoNet. I am somewhat responsible for this leak. (Sorry, Martin and Eric :( it wasn't intentional.) It *may* be that at *that* point, Martin Pollard just kinda said 'screw it' and now that the cat was already out of the bag, but I've never gotten any sort of statement from Martin to confirm this. After about 1992 or so I lost touch with Martin so I really have no idea. Eric Oman would have contested the release if it did occur at all, and at one point hired a lawyer and threatened to sue Martin over his continuing to develop Telegard after Eric quit.

      That being said, Tim Strike's a nice guy and I'm only sore because he beat me to it. ;)

      And yes, I miss those days as well, I yes, I still think of Frodo as FrontDoor and it's odd requirement for requiring my users to hit Esc twice, instead of only once as Bink required. But Frodo was always far better than BinkleyTerm, so the odd requirement never bothered *me*. ;) (flames to /dev/null)

  24. Coming up next on Slashdot Book Reviews... by ecc0 · · Score: 5, Funny

    "Making your own Apple I keyboard in 21 days"

    "Changing Vacuum Tubes in your ENIAC for Dummies"

    "4004 Assembly Made Easy"

    1. Re:Coming up next on Slashdot Book Reviews... by jabbadabbadoo · · Score: 1
      >>"Making your own Apple I keyboard in 21 days"
      >>"Changing Vacuum Tubes in your ENIAC for Dummies"
      >>"4004 Assembly Made Easy"

      What is this? A post to the prototype of usenet that got lost in the seventies, but that now have magically found its way through an electronic wormhole to /. ?

    2. Re:Coming up next on Slashdot Book Reviews... by robslimo · · Score: 1

      "4004 Assembly Made Easy"

      Actually, I'd go for that one... or any help with the 4004/4040 processor.

      I've got a 4040 processor that I'd like to design into a working computer as a novelty. In my research, I've come up with a dearth useful documentation for the chip. The best I've found so far is a list of the opcodes.

      Alas, I had no need for BASIC of any kind in this system.

    3. Re:Coming up next on Slashdot Book Reviews... by Anonymous Coward · · Score: 0

      Hey, I've got an old Build your own Z80 computer book if anyone want's to review it.

    4. Re:Coming up next on Slashdot Book Reviews... by Blaksilver · · Score: 1

      don't forget the classic "The Abacus: A Computer for Modern Man"

    5. Re:Coming up next on Slashdot Book Reviews... by GigsVT · · Score: 1

      I seem to recall seeing the entire schematic for a 4004 online somewhere.

      From there you could reverse engineer without too much difficulty I would think. Those early microprocessors weren't very complex.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    6. Re:Coming up next on Slashdot Book Reviews... by Anonymous Coward · · Score: 0

      And ofcouse the timeless favorite...
      "Stone Tools: Theory of Operation and Implementation"

  25. Windoze by Malicious · · Score: 0, Flamebait
    The main problem with the 'For Dummies' series, is that it appeals to the lowest possible denominator, which implies not only Windows users, but the worst kind of moronic Windows drones....

    "When I said to move your mouse 'up', I meant forwards, not vertically.........."

    --
    01101001001000000110000101101101001000000110001001 10000101110100011011010110000101101110
    1. Re:Windoze by The+Bungi · · Score: 1

      You are so 1337.

  26. I know I've already commented, but by Prince_Ali · · Score: 1

    I know I've already commented, but I just realized he mentions that GOTO should be taught. If QBASIC has conditional loops (which I assume it does) there is no reason to teach GOTO!

    1. Re:I know I've already commented, but by Anonymous Coward · · Score: 0

      You are hereby sentenced to 1000 hours of programming in assembler, and are forbidden to ever use a branch instruction.

    2. Re:I know I've already commented, but by CableModemSniper · · Score: 1

      Is there such a thing as a non-conditional loop? Oh right, GOTO.

      --
      Why not fork?
    3. Re:I know I've already commented, but by Prince_Ali · · Score: 1

      Well, I think I phrased that wrong.
      If you had only if... thens and a loop that would execute x times (not like a for loop where you can modify, but a loop that executes x times regardless of any action), then you would need GOTOs. I guess that type of loop would be a conditional loop, and I'm not sure if it actually exists in any form, but I was trying to consider it.

    4. Re:I know I've already commented, but by CableModemSniper · · Score: 1

      But isn't x times a condition? Unless x is a constant set by the language I suppose. But then you could still change the number of times by using multiples of x. loop { loop { //do something } }. True you couldn't loop an arbritary number of times, but you could get closer. Actually if you did something like... times = 3; loop { if tcount > times { //do nothing } else //do something tcount++; } The number of loops you'd use of course would depend on whatever x was hardocded to be but you could work around it. the only situation where you couldn't do anything with a hard-coded number of loop iterations would be if loop looped forever and there was no equivalent to break. Although if there was GOTO you could use it to exit the loop. Now I'm just rambling.

      --
      Why not fork?
    5. Re:I know I've already commented, but by Sj0 · · Score: 1

      QBasic has every looping command that C has, IIRC. The only problem is that many people programming using it came from the older MS basics such as those for the commodore and other 8 bit systems, which used line numbers and GOTO extensively. Qbasic was functionally a lot more like C than older iterations of BASIC, and while it had line numbers and GOTO for backwards compatibility with GWBasic and BASICA, I doubt there's a single program for QB on the internet that uses them that way.

      --
      It's been a long time.
  27. QBASIC is dying by 5prite · · Score: 1

    QBASIC is dying, but QBASIC for dummies will live forever!

    1. Re:QBASIC is dying by ketamine-bp · · Score: 1

      Have Netcraft confirmed that?

  28. 1993 by Anonymous Coward · · Score: 0

    *Checks year*
    Good, it's not 1993... I thought I got sucked into a time machine...

  29. Duh? by Kenshin · · Score: 1
    "The book started off making me feel stupider than I actually am."

    1) QBASIC? That's so 1992...

    2) You bought a DUMMIES book for QBASIC. It's like buying a Dummies book for cooking Kraft Macaroni.

    --

    Does it make you happy you're so strange?

    1. Re:Duh? by Anonvmous+Coward · · Score: 1

      "1) QBASIC? That's so 1992...

      2) You bought a DUMMIES book for QBASIC. It's like buying a Dummies book for cooking Kraft Macaroni.


      1.) So? He's trying to understand what programming is, he's not trying to run out and get a job as a software engineer.

      2.) Can't say that comment was particularly insightful. QBasic is programming, like it or not. It may not be as efficient or structured as the competitors of its day, but it's still something that requires study to learn.

      So I guess what I'm really saying is STFU you close minded dolt.

    2. Re:Duh? by lactose99 · · Score: 1

      Have you ever seen anyone screw-up Kraft Cheese and Macaroni? It is possible, and a terrible thing when it happens. I tried cooking it in beer once...

      Who says you never learn anything useful in college?

      --
      Fully licensed blockchain psychiatrist
    3. Re:Duh? by c13v3rm0nk3y · · Score: 3, Informative
      I tried cooking it in beer once...

      Tip: don't cook the macaroni in beer, but use the beer in the cheese and dairy mixture. Just heat it up in a saucepan (you can do this in the hot saucepan you just cooked the pasta in) and you have an excellent beer-cheese sauce. Reduce the amount of other liquid, of course, or your creation will be runny.

      Stronger beers work better. Pretend pilseners like Bud will not be so good.

      Remember: don't play with cheese sauce powder near an open flame. Unless you know what you are doing. And like setting things on fire. And second-degree burns. But only then.

      --
      -- clvrmnky
    4. Re:Duh? by Arandir · · Score: 1

      Mmmm... stout macaroni and cheese...

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    5. Re:Duh? by dracocat · · Score: 1

      I love the things I learn on slashdot.

  30. Try a different language. by dmand · · Score: 1

    . . . supposing they don't think QBASIC a waste of time . . .

    I think just about any experienced programmer will tell you not to bother with QBASIC at this point. There are many other better choices for a first language, and I'm sure other people will offer their insights here as well.

    I would suggest starting w/ a scripting language like JavaScript, or jump right into Java. There are many good (and free) tutorials online.

  31. Sweeet! by alexre1 · · Score: 0

    Man... anybody else remember nibbles? I'm going to pull out my old MS DOS 6 disks and install it on my old 486, and play it when i get home :) Alex

  32. CD in the book by viega · · Score: 1
    CDs in the book add to the production costs and generally result in a higher cost to the consumer. Instead, you should be asking for an accompanying web site from which you can download the code.

    This has a further advantage in that, as inevitable bugs are found in the code, the code on the web site can be updated.

    1. Re:CD in the book by Nerodias · · Score: 1

      Actually it is the book which really increases the production costs. Throwing in a CD only costs a few cents. Why do you think that software no longer comes with a printed user manual? Why not skip the production bottleneck and eliminate the book altogether? Just put the whole book on the web and we can all expect that it will be regularly updated/revised/corrected. Right? Well, it was a good idea, anyway.

  33. Re:Fitting title by Anonymous Coward · · Score: 0

    Ooo! Ooo! And so is yours, the AC above you got one in there first!

    This is like some sort of bad recursive redundancy situation.

  34. Dummies books are for... Dummies! by graveyhead · · Score: 1, Funny

    graveyhead writes "When I purchased World Domination for Dummies, I expected a clear, concise tutorial on how to take over the world. I'm new to the world of world domination, and, having had luck with the Dummies series before, thought this the best place to start off. How very wrong I was."

    --
    std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
  35. Try the O'Reilly's QBasic Book by Gabe+Garza · · Score: 0, Funny

    Just look for the book with a black & white line drawing of a quarter-length bus on the front. (Apologies to anyone forced to learn QBasic for employment reasons...)

  36. QBASIC?!?! by NetRanger · · Score: 1

    Who the heck uses QBASIC?!? Not even QuickBASIC, the compiled version -- but the QBASIC interpreter? Perhaps as a first programming language it wouldn't be TOO bad... but where would one even find the interpreter anymore?

    QuickBASIC was an interesting product in its day, except for the fact that the simplest programs were bloated by about 400% due to the overhead of all the standard libraries in the runtimes. Or you could create a "Standalone EXE" which contained the minimum necessary procedures. (If only Visual BASIC did that.)

    I can't really recommend QBASIC to anyone these days though -- the structural model of QBASIC was pretty weak, and these days, it pays to learn C and Java as your first structured and OO languages, following up with VB. (Assuming this is for a novice programmer).

    --
    -- We live in a world where lemonade is artificial and soap has real lemon.
    1. Re:QBASIC?!?! by SamBC · · Score: 1

      it pays to learn C and Java as your first structured and OO languages,



      Just to clarify, you aren't claiming that C is OO, are you - you mean "structured and OO language, respectively" right? That's okay then... Yeah, I'll go with that, although C++ is pretty damn good as an OO language, especially for someone who knows C.



      following up with VB



      Why would people move from good, useful languages that they have the hang of, to use VB? I'm not trying to MS-Bash here, but what use is VB if you are a competent coder in pretty much any other language? And don't say RAD - you can get RAD tools for C++, Jave, Object Pascal, and others.

    2. Re:QBASIC?!?! by Anonymous Coward · · Score: 0

      100 SERIES

  37. QBasic by Anonymous Coward · · Score: 0

    (o o)
    /
    O
    Funny how we remember things from the passt

  38. OK, it was bad at some stuff.. by El_Smack · · Score: 1


    ... but if it teaches you how to modify the banana into a "Redemer" type weapon and render the Gorilla in 3D, I'll buy it.

    --


    There are 01 kinds of cars in the world. The General Lee, and everything else.
  39. Wow! by meringuoid · · Score: 2, Funny

    You know, I've seen many a troll in the comments, but never before have I seen one actually posted as an article.

    --
    Real Daleks don't climb stairs - they level the building.
    1. Re:Wow! by Anonymous Coward · · Score: 0

      "The book started off making me feel stupider than I actually am."

      I think this explains it all.

  40. QBASIC for Dummies by kalidasa · · Score: 1

    Don't buy Dummies books for languages. Period. If you can, try to find the O'Reilly Windows 95 in a Nutshell (yes, Windows *95*) book somewhere; it looks from the index like it has about 20 pages on QBASIC.

    1. Re:QBASIC for Dummies by ketamine-bp · · Score: 1

      Don't buy Dummies books for languages. Period. If you can, try to find the O'Reilly Windows 95 in a Nutshell (yes, Windows *95*) book somewhere; it looks from the index like it has about 20 pages on QBASIC.

      Not really, I think that dummies book for languages are quite good when the languages are not computer languages, for example, their 'German for Dummies' is quite good...

    2. Re:QBASIC for Dummies by kalidasa · · Score: 1

      Even with the change of subject from computer to human languages, I stand by my statement. The little I've seen of Dummies books for natural language learning did not impress me. If you want to learn a *real* language, you could not do better than to pick up one of the Cambridge or Routledge grammars (there are some exceptions, but most of those are very, very good), a good dictionary, a good introductory textbook (google Language Introductory course text and limit to .edu domains for some suggestions), and some good CDs or audio tapes.

  41. June fool's day by forgetmenot · · Score: 1

    This is obviously an April fool's joke. Very sneaky. Everyone knows that the posts on April 1 are dumb redundant stupid annoying *ahem*.."jokes". So now they wait until mid June to post them hoping to "REALLY" fool someone.

    I mean.. it IS a joke right? QBASIC?

  42. Coming soon by salimma · · Score: 1

    ... OS/360 for dummies! Comes bundled with the Hercules emulator and DASD images. Money back guarante efor people who could not grok mainframes after 21 days.

    --
    Michel
    Fedora Project Contribut
    1. Re:Coming soon by Elwood+P+Dowd · · Score: 2, Funny

      You italicized grok because it is a Martian word?

      --

      There are no trails. There are no trees out here.
    2. Re:Coming soon by salimma · · Score: 1
      You italicized grok because it is a Martian word?

      Well, the audience for the Dummies series probably need a hint that it is a jargon word. Don't want to get flamed for a perceived misspelling :)

      That was a brilliant book though, Stranger from a Strange Land. Remember the suicide cult?

      --
      Michel
      Fedora Project Contribut
    3. Re:Coming soon by Elwood+P+Dowd · · Score: 1

      Sure. The canibalism was what stuck in my head, though.

      --

      There are no trails. There are no trees out here.
    4. Re:Coming soon by salimma · · Score: 1
      Ah, yes. It's something the Kuru people in Papua New Guinea used to do, actually. That's how they managed to track down Kuru disease. Basically the men got to eat the deceased' body, and the women got the remains - i.e., brain and other leftover. And the disease - related to BSE and CJD - affected women more than men.

      Quite logical, actually. Paying respect to the dead by making full use of the body he left behind. Although from a hygienic point of view, eating anything closely related is a very bad idea - wonder if that's why the Torah prohibited eating pork in the first place.

      --
      Michel
      Fedora Project Contribut
  43. Re:Fitting title by Anonymous Coward · · Score: 0

    LOL Your post is redundant too cuz of the AC that posted before you!

  44. Wow, a review for a 1994 book by dyj · · Score: 1

    I feel like going through a time machine. Someone please review a GW-BASIC book! :)

  45. QBasic for Dummies? by Anonymous Coward · · Score: 0

    It looks more like he needs "Punctuation for Dummies": "what did he use in it's place" What is this #$)#)$ problem with people who claim to be smart? "it's" means "it is". "its" is a possessive as in "its place." Based upon the consistency of this type of problem, it's not a problem where people do not proofread. It's a matter of stupidity.

  46. dummy... by Anonymous Coward · · Score: 0

    on so many levels.

  47. DIETEL's "JAVA how to program" is like this by mekkab · · Score: 1

    I was a fan of "C how to program". I thought it was a gentle book. My professor had nothing but bad things to say about Dietel's JAVA book, and I can see why. Its heavily applet based so there is a lot of "bulky" support code around the stuff you really care about.

    Why am I mentioning this? The QBASIC "Currency Converter" program reminds me of Dietel's example program for RMI. MY GOD! It was like 10 pages of pain! ANd it was only mildly useful- it was about WEATHER report updates! who cares? Some of my teammates tried to use it as an example for RMI but got hoplessely lost. The layers upon layers of code just obfuscated things horribly. I stuck with it (cuz I'm the networking guy, dammit!) but it sure wasn't easy.

    --
    In the future, I would want to not be isolated from my friends in the Space Station.
  48. Still Taught Out There!! by moehoward · · Score: 1

    Some colleges still teach QBASIC as a first programming language. Not in CS, but for some business or IS types. Instructors love it for simplicity. Some of the very well done textbooks are good for reasons other than they are just QBASIC books. Some of the textbooks are just good intro programming books. Unfortunately, they are a dying breed. Some of the textbooks have not been updated in over 5 years, but they stay in print. Perhaps because QBASIC (and predecessors) were around so long, these textbooks and courses had an unprecedented chance to mature.

    I know some instructors are going to move from QBASIC to teaching VB .NET from the command prompt, or only teaching command-line apps. That seems OK, given the ability to debug, etc. Modern constructs, OO, access to classes, etc.

    I will always fondly recall my days of QBASIC hacking. Fun stuff.

    --
    "If you want to improve, be content to be thought foolish and stupid." - Epictetus
    1. Re:Still Taught Out There!! by Anonymous Coward · · Score: 0

      This isn't a troll. I just can't believe this post or the entire review is real... You're kidding, right? I've seen VB taught in IS programs, and I've never heard of *any* Basic taught in college CS.In 1986, my high school was teaching Pascal.

      My 5 year old is starting to read and beginning to show interest in using a computer for something other than lego racers. He's going to learn Perl.

    2. Re:Still Taught Out There!! by moehoward · · Score: 1

      I don't think that neither I nor the reviewer stated that BASIC was an option in CS. I went out of my way to EXCLUDE CS from consideration in my post.

      What was your point?

      If you are in CS, they assume that you should be taught the basics with a language that will put you on the path to deeper meaning. BASIC is a good business language (don't argue, this has been clearly proven in at least the past 12 years), but is a dead-end for getting deeper into systems (drivers, OS coding, etc.)

      --
      "If you want to improve, be content to be thought foolish and stupid." - Epictetus
    3. Re:Still Taught Out There!! by Adam+Bauer · · Score: 1
      University of New Brunswick, CS2513. A course for all computer science majors devoted to VB 6.

      Still going strong.

    4. Re:Still Taught Out There!! by Anonymous Coward · · Score: 0

      Sorry. You did exclude CS. My point is that I didn't realize Basic was still being taught as a college level, with the exception of VB.

      Yes, Basic has it's place in business, but with the exception of very very old software, I would expect even in house stuff to be written in VBA or something similar today. There are much better, more current languages, Perl, Python, VB. Subsets of any of these have functionality sufficient for any intro programming course in IS. the fact that professors still teach QBasic makes me think they're burnt out and haven't updated their courses in years. That is a terrible disservice to the students.

    5. Re:Still Taught Out There!! by moehoward · · Score: 1

      Let me reiterate some key points that may help you reconsider...

      1) There are some great intro textbooks for QBASIC for very, very beginner students. This helps to drive the market for teaching it. VB changes so much and so often that it is hard for text book writers to write a decent enough book and keep up with the IDE changes. Consider that not only do they have to keep up with language changes so often, they must keep exercises and other ancillary material up to date as well. With a steady target in QBASIC, the books were able to become more solid in the fundamentals.

      2) The instructors do not want to teach, nor do the students want, a programming language for the workplace. They want to teach/learn an intro to programming when they've never done programming before. For example, this is sometimes dones as a couple week segment in a business class, algebra class, logic, intro to computers class, etc.

      3) It is a pretty concise, readable, and sweet languate.

      4) Some profs are famous/well known on campus for one particular course that they have nailed in terms of instruction. Sometimes, students still flock to it even years after it is "unfashionable".

      No, I don't use it. Yes, I did use it. If I wanted to teach a 4th or 5th grader about programming fundamentals, I'd consider QBASIC as a choice.

      --
      "If you want to improve, be content to be thought foolish and stupid." - Epictetus
  49. Oh Aren't WE All So Superior... by Anonymous Coward · · Score: 0

    www.libertybasic.com

    Try the shareware version...

    1. Re:Oh Aren't WE All So Superior... by HeavyJay · · Score: 1

      I've tried LibertyBASIC...it's nothing special. In fact, I'd go so far as to say that the syntax is a bit different: it takes a turn for the worse.

      --
      "My people are destroyed for a lack of Knowledge." -- Hosea 4:6
  50. But... by Fortyseven · · Score: 1

    ...it's QBASIC!! Lemmie know when "C=128 BASIC 7.0 for Dummies" comes out. (I'd actually like to thumb through that, sarcasm aside.)

    Seriously though, the one person who comes to mind that I've seen use QBasic with any amount of success is good ol' BUILD Boy, AwesoKen. There's a bit of source on the site, some dealing with voxels and such. It's interesting in the same way as seeing a woman with no arms make a nice painting with a brush between the toes of her feet. You go, girl! :D

  51. yes by Lxy · · Score: 1

    but does it run (on) linux?

    Ok, to make a serious point, is there a QBASIC interpretor for linux? I have some code that I don't want to bother re-writing in C, and I want to first get it working on linux then re-write it as I have time.

    --

    There is no reasonable defense against an idiot with an agenda
    :wq
    1. Re:yes by Smartcowboy · · Score: 1

      There is Yabasic. Dunno if it's 100$ compatible with qbasic code.

      There is qb2c that *claims* translating Qbasic source in C. Probably incomplete.

      BTW, what is the purpose of your code?

    2. Re:yes by Reservoir+Penguin · · Score: 1

      What's wrong with you sig?? MS had a fully multitasking memory protected OS before Linus even started working on his Minix terminal programm. I'm talking about NT here, lets not even brong Xenix into discussion.

      --
      US-UK-Israel: The real Axis of Evil
  52. QBasic for Dummies by aldousd666 · · Score: 1

    F1

    --
    Speak for yourself.
  53. Why is this here? by DarkHelmet · · Score: 1
    QBasic for dummies: Because everyone on slashdot runs a windowless version of DOS, right?

    *crickets chirping*

    RIGHT?

    --
    /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
  54. It is not bad to learn QBasic... by halivar · · Score: 5, Insightful

    For all those folks ranting at WHY someone would want to learn QBasic, I like to consider myself a QBasic "success story."

    WAY back when when I got my first computer, DOS was this wierd arcane alter-world from Windows 3.1, I found QBasic. It CAME with my computer. I didn't have the internet, so free, downloadadable compilers were not an option. For me, QBasic was my only link to the programming world.

    I never had a book, btw, so all I had to learn BASIC was a vague memory of LET and PRINT commands, and the help file. The help file was awesome. It is, to date, the only good docs I have ever seen from MS. After 6 years, I could do stuff in BASIC that my friends who started out in Pascal and C++ could not dream of doing. Why? Because their learning curve made it impossible.

    Before I found QBasic, I wanted to be a writer or a chef or something silly like that. QBasic introduced me into the programming world in which I can now call myself a professional.

    So, I'm going to do something right now that, as a Linux user, I thought I would never do...

    Thanks, Microsoft.

    1. Re:It is not bad to learn QBasic... by kisrael · · Score: 1

      I never had a book, btw, so all I had to learn BASIC was a vague memory of LET and PRINT commands, and the help file. The help file was awesome. It is, to date, the only good docs I have ever seen from MS. After 6 years, I could do stuff in BASIC that my friends who started out in Pascal and C++ could not dream of doing. Why? Because their learning curve made it impossible.

      That *was* a great help file.

      And on DOS computers, QBasic/QuickBasic was the one of the best cheap (both in terms of expense and time to learn) ways of MAKING GRAPHICS on the computer. A lot of C and Pascal was all stuck on multiplatform stdio...not much fun for a yung'un!

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    2. Re:It is not bad to learn QBasic... by blowhole · · Score: 2, Interesting

      That help file was so awesome it brings tears to my eyes just reminiscing about it. I learned to program in QBASIC at eleven thanks to that help file.

      The fact that this is possible makes QBASIC the obvious choice for self-taught beginning programmers. But in any other environment, Java is by far a better starting place for newbies.

      --
      "Ask me about Loom"
    3. Re:It is not bad to learn QBasic... by Ignominious+Poltroon · · Score: 1
      WAY back when when I got my first computer, DOS was this wierd arcane alter-world from Windows 3.1

      Newbie.

    4. Re:It is not bad to learn QBasic... by JerryKnight · · Score: 2, Insightful

      Yes, availability was the issue in those days. For alot of us, the internet hadn't exploded yet when we were poking around the contents of the Win3 install, so besides BBSes (I never got into that), we were cut off from other sources of instruction. All there was was that help file (I think QB4.5 had a better help file and everything else).

      After my first few years in QB in Jr. high, I stumbled on 4.5 and a SVGA graphics library that among other things had easy-to-use 3-d projection. Talk about fun stuff when 3-d accelerators or opengl/directx hadn't gotten big yet (I am not sure if they had been introduced yet).

      Now there are better languages and we are not all so isolated, so self-teaching is not an option anyone has to resort to anymore. For that reason, I would not recommend that anyone run off and learn QB unless all they ever want to do is write better VB. In that case, I am sure there are good VB books. BASIC in general makes it too easy to learn bad techniques and could cripple someone hoping to go further in the field. Try to explain OO to someone who only knows GOTO and GOSUB. QB was good back in the day, but it should be only be a display at a museum today, and not in actual use.

      --

      Catapultam habeo. Nisi omnem pecuniam tuam mihi dabis, ad tuum caput saxum immane mittam.
    5. Re:It is not bad to learn QBasic... by sheetsda · · Score: 1

      I believe those rants pertain more to why learn QBASIC now, in 2003 with the widespread availability of free compilers for other more widely used and useful languages. In terms of the help file I agree with you; I too started in QBASIC with only that file to guide me and it gave me a head start for a BASIC programming class in high school that helped me make up my mind as to what field I was going to go into.

    6. Re:It is not bad to learn QBasic... by KingArthur10 · · Score: 1

      My first introduction into the wonderful world of programming came with TI-83 Basic. Some friend of mine had downloaded a game or two off the net that were written in the calc basic code. I ran the games, and started altering code little by little, understanding what each element in the program does. I began programming very short programs to do various things, then began my embark on my first game, StarTrek. lol. It was horrible and took up around 10k. Over the next couple of years I refined my programming skills and ended up making that same game with no bugs and it only took up about 3k. lol. Anyway, I tought myself everything I knew, using the horrible TI-83 book to learn what some commands did. Then I came on to Q-Basic in my programming class in HS. I was like a fish in water. I used the help files to know what I should use as substitute commands for what I hasd used on the calc. In no time, using just the help function and a couple of programs I downloaded off the net, I was teaching my computer programming teacher new material. He would ask me how to get something done, and I'd figure it out. Programming is 25% your ability to learn new material, and 75% your ability to figure things out on your own.

      --
      I came, I saw, She conquered.
    7. Re:It is not bad to learn QBasic... by MasterRa · · Score: 1

      Amen! That help file was wonderful. It brings tears to my eyes too, just thinking about it. I was introduced to it by a teacher at school.. she even gave me a book.. but it wasn't actually for QBasic, it was for some other Basic (PowerBasic or something).. and i read a bit but most of it wouldn't work on QBasic.. Then i found the help file. I don't remember how old i was, but it wasn't very. 11 or 12 or something. That help file was so damn great. I wish i could find something like that with things these days. Well.. perldoc is quite nice.. but anyway. There wasn't anything else back then. I figured out how to PRINT, and INPUT, and it's been all uphill from then. Now i know several other languages, including Java, C++, and Perl. In my opinion, I would reccomend people learn perl first. It's my favorite language so far. Thinks just work so smooth. But anyway.. I too learned QBASIC first, and it opened up the door to so much more.

    8. Re:It is not bad to learn QBasic... by aardwolf204 · · Score: 1

      Bravo

      I too started out in Qbasic and had it not been for the five commands a friend told me (print, input, if, then, goto) I would have lost interest quickly. Within the first few minutes of playing with basic I was hooked. Minutes earlier I saw myself as a lineman for ma' bell, or a school teacher, but after my first 10 print foobar 20 goto 10 i wanted nothing more than to learn more.

      I spent most of my summer that year scouring the help file, learning new commands and building game and utilities on the soul purpose of putting the commands to use. the system command in particular took qbasic to a new level for me.

      Had it not been for that PC/XT i got when I was 9, or the look on my parents face when I showed them the things i could do with randomize timer and circle (a,b)c I wouldnt be an IT professional now.

      The syntax of basic was easy enough to follow at that age that it kept me going. Had I seen return 0;, or if(isset($foo)){ bar();} starting off instead of IF this THEN that I wouldnt have kept going.

      I know for a fact that if I were to introduce my child to programming it would be very suttely, and with qbasic.

      -- I dont really know where I'm going with this now so I think I'll just END

      EOF

      --
      Im dreaming ofa big bndwdth, That can resist the /.crowd.May ur days b merry & bright & may al
    9. Re:It is not bad to learn QBasic... by DeadWizdom · · Score: 1

      Amen my brother, I learned to program the same way when I was about 13. I didn't have a book, just the QBasic docs. Personally I think that was THE BEST way for me to learn to code, because it got me used to the idea of learning code by looking at the documentation. When I think of it, programming "Advanced Pong" in QBasic having nothing but the standard docs and some example programs of monkeys throwing bananas, I did alright :)

    10. Re:It is not bad to learn QBasic... by Old+Wolf · · Score: 2, Insightful

      There are only two construable reasons one would learn QBasic. You've correctly stated one: very shallow learning curve. All the old micros came with Basic because even the dumbest people would be able to do a little bit of coding, and not feel bamboozled. This is how I got started too (on my Speccy when I was 4 years old, AAMOF, Win 3.1 was still 7 years away).

      The second reason: if you know Qbasic then you may be able to maintain VB programs with little or no further training -- a good skill to have on your resumé, and if (god forbid) you want to learn VB properly, you will already be half way there.

    11. Re:It is not bad to learn QBasic... by Anonymous Coward · · Score: 0
      WAY back when when I got my first computer, DOS was this wierd arcane alter-world from Windows 3.1

      Newbie.


      Yeah, like totally. Windows 3.1 was like, never useful for anything, except for running WinWord. Even at that tender young age the distinction between the File Manager and the Program Manager confused the snot out of me. The DOS prompt was a big improvement over doing anything in Windows that involved actually manipulating files, IMO. I still drop to the command shell whenever I have to fiddle with my file system, whether it be in Linux or Windows. None of my computers booted straight into Windows until Windows 95, when they forced you to, and then I had it setup for dual boot anyway.
    12. Re:It is not bad to learn QBasic... by Spy+Hunter · · Score: 1

      That was an awesome help system. Microsoft should dump MSDN and go back to an ASCII menu system, or something. QBASIC help taught me a lot about programming. After that I moved on to TI-BASIC for the TI-82, then the 89, then C, and on to the world of real programming languages. But without QBASIC help, I might never have gotten into it.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
    13. Re:It is not bad to learn QBasic... by Marlor · · Score: 1

      None of my computers booted straight into Windows until Windows 95, when they forced you to, and then I had it setup for dual boot anyway.

      Yep, this was exactly the same for me, although the first command I would type at the DOS prompt would often be "xtgold".

      I am yet to see a user interface for file management that even comes close to matching XTree Gold. None of the clones even come close

  55. Speaking as a QBasic user ... groan by seniorcoder · · Score: 1
    My #2 son is taking a programming course at High School. For some misbegotten reason, the chosen language is QBasic. As I have been programming for 30 years now, he fully expected me to give him some assistance with some of his projects ("A better Pong", "Fruit Machine", "Chutes and Ladders", etc,.). I found this quite difficult as the language totally sucks. I can't believe that this language, which isn't all that old, doesn't have parameters which can be returned from a subroutine (without using globals).

    I really, really, really wish the teacher had chosen something viable like Perl. It's free, it's easy to learn, it's versatile, it's in use in industry, etc,.

    Why do they teach using QBasic? It's such an obscene language.

    1. Re:Speaking as a QBasic user ... groan by Anonymous Coward · · Score: 0

      Perl is an obscene language. Don't know about QBasic.

      They should start the kids off with C. After they learn that, everything else will be gravy, the rest of their lives ... gravy.

    2. Re:Speaking as a QBasic user ... groan by Steven+Blanchley · · Score: 1
      I can't believe that this language, which isn't all that old, doesn't have parameters which can be returned from a subroutine (without using globals).
      You can't return things from a subroutine, but you can return them from a function. That's the whole point of the distinction. Functions return values, subs don't. That's also how it is in several other flavours of BASIC, such as VB.

      I agree with you that BASIC is rather cruddy to program in. When you have to do something "advanced," like reading or writing binary files, all the inconsistencies they added to the language to make it "easy to learn" come back to haunt you.

      Exceptions to the rules make languages confusing and harder to learn or use. That's why I have the apparently unpopular opinion that C is a great first language to learn. It's true that you can mess stuff up with pointers, but the rules of the language are simple, clean, and consistent. Contrast that to, say, Perl and Python, both of which have so many hacked-on features that the syntax rules are insanely complex and do lots of things you wouldn't expect.
    3. Re:Speaking as a QBasic user ... groan by stienman · · Score: 1

      "I can't believe that this language, which isn't all that old, doesn't have parameters which can be returned from a subroutine (without using globals)."

      In QBasic there is a distinct difference between a Subroutine and a Function. Specifically, Functions return something (and can be used in calculations) and subroutines do not.

      IIRC -
      FUNCTION add(x as integer, y as integer) as integer
      add = x + y
      END FUNCTION

      If you find QBasic painful, it's largely the frustration at being unable to do something you think should be easy or intuitive - people often think BASIC in general is 'easier' or 'less powerful' than many other languages, but even easier and less powerful languages have to be learned. Just because you don't know how to do something in a language doesn't mean it can't be done.

      I use QBasic infrequently for rapid prototyping on DOS workstations. If the prototype works out I'll either choose to re-do it in C later or simply leave it as is - it fits on a floppy, works great as a text editor, and is much more powerful than a batch file, without all the system requirements and build cycle times of even a small C compiler.

      I fail to see from your argument valid reasons for believing that QBasic "Totally sucks" and is "obscene". I'd rather work in C for speed and versatility, and PHP for high level constructs and rapid development, but for what it does with how little it requires, it really blows most other language choices away.

      -Adam

    4. Re:Speaking as a QBasic user ... groan by Adam+Bauer · · Score: 1
      I can't believe that this language, which isn't all that old, doesn't have parameters which can be returned from a subroutine (without using globals).

      The basics are terrible languages in which I have thankfully not programmed in some time. However, I don't think this is true. In QB there are functions which return something, and subroutines which do not.

      An example (which may or may not run):

      FUNCTION add (BYVAL x%, BYVAL y%) As Integer
      add = x% + y%
      END FUNCTION

      Still, your son's school really needs to get with the times.

  56. Re:Dear Sun, by Anonymous Coward · · Score: 0

    Why does it not surprise me that an MCSE can't figure out which story his reply goes under...

  57. A Better Choice by Frodrick · · Score: 2, Informative

    In my experience, a far better book for beginners than Qbasic for Dummies is The Idiot's Guide to Qbasic. It is very straight forward and much easier for an absolute beginner to understand.

    Setting the Wayback machine a bit further, Perhaps the best "beginner's basic" book that I have ever seen was How to program the Commodore 64 (If you have never programmed a computer before). Although very system specific, it explained concepts like arrays in language a beginner might actually understand.

  58. Everything i ever learned about QBASIC... by aberant · · Score: 1

    Came from gorilla.bas. That program had sooo much valuable info to glean from it, especially that tricky chr$(h) equals the up arrow. If anyone wants the 3D polygon rendering library i wrote in QBASIC 10 years ago just drop me a line.. when i finished that i realized i needed to find a real programming language.

  59. BASIC... by jcast · · Score: 1

    I (vaguely) remember that. INTERCAL designed by people who didn't know it was a joke, IIRC.

    --
    There are reasons why democracy does not work nearly as well as capitalism.
    -- David D. Friedman
  60. C/C++ or Delphi? by Anonymous Coward · · Score: 0

    You need a language and you want to get into programming. Use one of these

    Delphi, C/C++

    Simply because the structre there will prepare for everything else. They may not be Extreme OO but they form the foundation for pretty much everything, with exceptions of SmallTalk and TCL. Even then the concepts are similar

  61. QBasic? by JWSmythe · · Score: 1

    Hasn't QBasic been dead for years?

    I wrote in it, as a passing interest. I made a few executables of stupid graphic programs (draw moving lines and dots) with our BBS names and phone numbers in it.. That was back in the days of scripting BBS's and other passively fun things..

    Maybe they should have a review of BBS's for dummies, so we can relive other things that are long since dead.

    --
    Serious? Seriousness is well above my pay grade.
  62. Python by Anonymous Coward · · Score: 0

    If you want a good language to start with, try Python.

  63. Re:Fitting title by Anonymous Coward · · Score: 0

    heh, TWO ACs got it in there before YOU

  64. There are better choices by Saganaga · · Score: 1
    QBasic? There really are better choices for a first programming language.
    • Perl. A fun language. This would be my first choice if I had to start over again.
    • Java. Teaches you to follow modern OO principles. May be a bit difficult for someone who has never programmed before.
    • Visual Basic. I'm not a fan, but it would be a better choice than QBasic, for sure.
  65. Re:Fitting title by Anonymous Coward · · Score: 0

    10 PRINT "Your post is redundant." 20 GOTO 10

  66. Of course GOTO's should be taught! by term8or · · Score: 1

    My favourite coding standards:

    GOTO's, GOTO's where the label is the same as the sub's name, objScuR%e variable names, Random Global Variable Assignments, Overriding with extreme lack of coherence (oh! I want to create a method to print the number 10 to the screen! Lets use the operator ++ - it'll save space!), Optimising code to 1 very long line when it should be 20, and

    obscure
    whitespace usage


    My code may be c*ap, but my job is secure;)

    --



    "As a writer / novelist you might want to spellcheck your sig. :) " - AC
  67. Can someone explain how to write games in qbasic by asscroft · · Score: 1

    I've taken qbasic. It was my first programming class. We called it basic then, but it was the dos version, not the visualbasic. Anyway, we did all sorts of accounting type problems and some math problems and some word games based on simple logic. I figured this sort of stuff was its only use.

    Come to find out quite a number of games are written in Qbasic. How do you do graphics in qbasic. Is there a secret library I don't know about and some secret include capability? How did these people learn this stuff - did they have secret classes at their schools in Advanced QBasic? Was it just the few MIT QBasic Programmers and a few CalTech.

    There seems to be a huge gap between the Qbasic I was taught, and the full potential of Qbasic.

    --
    because I have been enjoined by this Holy Office to abandon the false opinion which maintains that the Sun is the centre
  68. I actually own this book by frankjr · · Score: 0

    I bought it back in '94 when I was like 10 or so, and I have to say that the book has got to be the lamest book in existence. I have never heard of a man so obsessed with foreign currencies in my life. I guess he bought Writing for Dummies. Oh well, at least he actually teaches something, unlike Dan Gookin, and you would have to have read his pathetic attempt to teach C in order to know what I'm talking about...

    And the reviewer is wrong about the humor. He has no humor.

    1. Re:I actually own this book by HeavyJay · · Score: 1

      I'm glad someone who's actually read the book can see eye to eye with me. The examples all have to do with European to American currency conversion..it's insane.

      --
      "My people are destroyed for a lack of Knowledge." -- Hosea 4:6
  69. Why use QBASIC at ALL? by arashiakari · · Score: 5, Informative

    ...when there is PowerBASIC. (www.powerbasic.com)

    16-bit 100% compatible DOS compiler...

    32-bit Console Compiler and GUI Compiler for Windows. Full GUI programs in less than 2k. VERY fast compiled code, very small, no RTL, compile to EXE or DLL. PowerBASIC is really cool. I use their compilers all the time.

    AND they are coming out with a Linux compiler! w00t.

    1. Re:Why use QBASIC at ALL? by Anonymous Coward · · Score: 0
      PowerBASIC Forms is priced at $99. PowerBASIC Console Compiler 3 is $169, or upgrade from version 2 for just $89. PowerBASIC 7 for Windows is priced at $199, or upgrade from PB/DLL 6 for just $99.
      Yeah, right, thanks for playing.
    2. Re:Why use QBASIC at ALL? by Anonymous Coward · · Score: 0

      More than the monthly rent for your trailer home, I guess.

    3. Re:Why use QBASIC at ALL? by Anonymous Coward · · Score: 0

      It's more than I paid your mother last night.

    4. Re:Why use QBASIC at ALL? by MonkeyCookie · · Score: 1

      Because QBASIC comes free with DOS and Windows. PowerBasic costs $$$. Also, back when I was learning how to program, long before the Internet became widely available, this was the only thing available to me. Nowadays, however, there are plenty of free tutorials and compilers.

    5. Re:Why use QBASIC at ALL? by innocent_white_lamb · · Score: 1

      AND they are coming out with a Linux compiler! w00t.

      I love PowerBASIC. And PowerBASIC/DOS runs perfectly under DOSEMU on my Red Hat Linux box. In fact, I just finished writing a project in PB/DOS last week.

      I'm waiting and drooling over a version of PowerBasic for Linux just like you are -- when it's released I'll definitely be among the first few customers. However, PB/Linux has been "coming real soon now" since about 1998.....

      --
      If you're a zombie and you know it, bite your friend!
    6. Re:Why use QBASIC at ALL? by Anonymous Coward · · Score: 0
      Why use QBASIC at ALL?

      So you can add cheat codes to GORILLAS.BAS

      KREEGAH! BUNDALO!

  70. Page 1 by numbski · · Score: 3, Insightful

    "Close this book and burn it. Go buy O'Reilly's elephant book, and learn PERL instead." :P

    Seriously, I learned QBASIC, and it had me so brain damaged for so long that it took me forever to grasp PERL, and I've still never quite gotten Java, even though I took a college course on the subject.

    Stay faaaaaar away from anything with the word 'BASIC' in it. You've been warned.

    --

    Karma: Chameleon (mostly due to the fact that you come and go).

    1. Re:Page 1 by kisrael · · Score: 1

      Seriously, I learned QBASIC, and it had me so brain damaged for so long that it took me forever to grasp PERL, and I've still never quite gotten Java, even though I took a college course on the subject.
      This same idea came up in the "what to start kids on for programming" article, and a lot of asked, what's all this about? How does it damage you? Yeah, you're thinking like a scripter rather than in subroutines or objects, but so? It's still an introduction to breaking up a process step by step....

      Frankly, I wouldn't blame your difficulties in grokking Perl and then Java on BASIC...

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    2. Re:Page 1 by tiny69 · · Score: 1
      "Close this book and burn it. Go buy O'Reilly's elephant book, and learn PERL instead." :P
      Elephant book? The only elephants I've seen on O'Reilly books is on the MCSE in a Nutshell books. Perhaps you are refering to the Camel book (Perl Programming). Or the Llama book (Learning Perl).

      Refering to the elephant book shows how much you use/know Perl.

      --
      Go not unto/. for advice, for you will be told both yea and nay (but have nothing to do with the question)
    3. Re:Page 1 by Artemis+P.+Fonswick · · Score: 1

      Stay faaaaaar away from anything with the word 'BASIC' in it.

      I wouldn't say anything, because I learned how to program using TrueBASIC on a PowerPC at my high school. It's kind of like a psuedo-OO BASIC...if I remember correctly (it's been a long while). The transition to C++ was a piece of cake and Java confuses me too, but at least I understand it conceptually.

      --


      Kudos to you, my good man.
    4. Re:Page 1 by JesterXXV · · Score: 1

      I learned GW-Basic and QBasic first, then moved on to Visual Basic, and I did not have any problem whatsoever comprehending Java. It probably all depends on what your source of information was and how structured you learned to be within Basic. ps BASIC stands for Beginner's All-purpose Symbolic Instruction Code. It was designed for code n00bs.

      --
      Yo mama so fake, she failed the Turing Test.
    5. Re:Page 1 by skribble · · Score: 1

      errrr... Won't Perl be just as damaging. I mean Perl is a wonderful tool, but it's not exactly going to enforce good programming habits. This is very bad for educational goals. A better language for learning would be something along the lines of Python or Ruby (Probably Ruby today, but that's a fairly new option). Of course many classes these days start out with Java, which is probably not bad idealoogically, but really not as useful for the studens as an interpreted language.

      Back in my day it was Pascal because it enforced good sturctural programming practices, now OO is all the rage. The point though is that whether you coose to do once you enter the real world, for learning, a language which enforces 'good' programming is much prefered.

      --
      --- Nothing To See Here ---
    6. Re:Page 1 by i_am_nitrogen · · Score: 1

      Or how about C? Basic's syntax is so different from other languages, and it's somewhat more "forgiving." Languages that have block separators like {} tend to encourage proper formatting, and it's probably easier for beginners to see a program's logic flow just by looking at the indentation of the blocks.

    7. Re:Page 1 by The+Clockwork+Troll · · Score: 1
      Elephant book? The only elephants I've seen on O'Reilly books is on the MCSE in a Nutshell books.
      Isn't that kind of admitting you know what male genital herpes sores look like up close?
      --

      There are no karma whores, only moderation johns
    8. Re:Page 1 by Anonymous Coward · · Score: 0

      I learned QBASIC, and it had me so brain damaged for so long that it took me forever to grasp PERL, and I've still never quite gotten Java

      No need to say more. PERL is the wrong direction. I take issue with all of these beggining languages. There is no reason NOT to start on a real language such as C++ or Java, Smalltalk, Objective C, or something or other. I have noticed programmers that start out learning OO tend to be able to design with it naturally.

      In fact, so much so, that this is not one of my interview questions, "What was your first programming language?"

    9. Re:Page 1 by Hornsby · · Score: 2, Funny

      Please stay as far away from PERL as possible! Perl, on the other hand is a useful programming language. If you're confused, Perl is the language proper, perl is the interpreter, and PERL is that god-forsaken language that Matt writes all his scripts in.

      If you want to learn to program, I would suggest starting with something a little more structured like Python or Ruby. Both of those languages are near to my heart.

      --
      A musician without the RIAA, is like a fish without a bicycle.
    10. Re:Page 1 by Anonymous Coward · · Score: 0

      I suggest to start with YaBasic (www.yabasic.de)
      Then move to a more powerful programming language
      like Euphoria.(it is 30 times faster than PERL,
      and it is easier to learn than any Basic)
      www.rapideuphoria.com

      Once you learn Euphoria you never get back to
      program in anything else. Believe me!!!

    11. Re:Page 1 by Sushi_K · · Score: 1

      I may be asking to get flamed into oblivion here but...
      Visual Basic .NET is actually quite good. It has all the features of a modern object oriented language and is every bit as powerful as C# or Java. Now I will say that most everything good about it is ripped directly from Java. However, for programs written for Windows with a lot of UI, I'll take VB.NET over Java any day of the week and twice on Sunday. The first time I wrote a Java UI my brain almost hemorrhaged. ;)

    12. Re:Page 1 by KalvinB · · Score: 1

      That's what happens when you learn syntax instead of concepts.

      I've have no problem picking up any language even after spending 8 years with QuickBASIC.

      Java was rough the first semester only because of the OO part. Now OO is all I do. The last project I did in QB was over a year ago which was simply to test out some CONCEPTS before recreating the project in C++ with DirectX. It was 90 lines of QB and 3000 lines of C++/DirectX. That's why QB is an excellent beginner language.

      You just can't get hung up on syntax or you're screwed no matter what language you start with.

      Ben

    13. Re:Page 1 by Paul+Doom · · Score: 1

      In my life, I have made two life damaging mistakes:
      1) First computer language: Commodore Basic
      2) First band who's songs I learned to play on guitar: Metallica

      Both of these decisions have doomed me, making lousy coding/playing habits second nature. With effort, I have overcome both, but the spectors still haunt me from time to time, and I know these abominations have prevented me from meeting my ultimate potential. (That being mediocity, in both coding and guitar playing :)

      --
      "Life is life." --Laibach
    14. Re:Page 1 by eatdave13 · · Score: 1

      LOLOLOLOLOLOLOLOLOLOL

      =-/-===

      --
      "Verbing weirds language." -- Calvin
    15. Re:Page 1 by josephgrossberg · · Score: 1

      "Stay faaaaaar away from anything with the word 'BASIC' in it. You've been warned."

      Have you used Visual Basic .NET, or are you just talking out your ass?

    16. Re:Page 1 by josephgrossberg · · Score: 1

      You might be right, but ...

      "M$ sux0rz! Windoze sux0rz! And I used a language named 'Basic' fifteen years ago and it sucked, so I'm going to hold a permanent grudge!"

    17. Re:Page 1 by el-spectre · · Score: 1

      Perl doesn't force bad habits. It does allow them, and it also allows you to use very strict rules, depends on how you want to do it.

      It's part of the culture. The only culture I've seen stronger is the 'java-is-new-java-is-good-all-hail-java' zombies :)

      --
      "Faith: Belief without evidence in what is told by one who speaks without knowledge, of things without parallel." - A.B.
    18. Re:Page 1 by Sj0 · · Score: 1

      Perhaps you should seek counselling for your CHRONIC BRAIN DAMAGE before blaming the programming language.

      Honestly. Blaming a programming language not for a few bad habits, but for a TOTAL INABILITY to learn another? Please, tell me, what horrible design flaws of QB have so crippled your ability to reason and learn to the point that you can't even pick up another programming language without it overwhelming your obviously superior intelligence?

      --
      It's been a long time.
    19. Re:Page 1 by FuzzyBad-Mofo · · Score: 1

      Have you used Visual Basic .NET, or are you just talking out your ass?

      BEGIN SUB BasicSucks

      IF Basic = "Shit" THEN
      PRINT "This language really"_
      "Bites!"
      END IF

      END SUB
    20. Re:Page 1 by josephgrossberg · · Score: 1

      "Real operating systems don't use escape characters as a path separator."

      Thanks for the clarification. You sound like the same kind of person who writes off Python because whitespace has meaning, Pascal because it uses ":=" and Lisp because it has too many parentheses.

  71. You need to brush up your skill by iamacat · · Score: 1

    Why put a label on goto line?

    10 ? "QBASIC SUCKS" : goto 10

    As for programming languages, which one do you have in mind? C++, Java or Pascal are definitely much harder to get started than Basic.

    1. Re:You need to brush up your skill by Anonymous Coward · · Score: 0

      scheme or common lisp

    2. Re:You need to brush up your skill by Anonymous Coward · · Score: 0

      You actually meant:

      DO
      PRINT "Q-Basic sucks, QuickBasic rules!"
      LOOP

      But I'll forgive you ;)

  72. No Disc can be a good thing. by Kevin+Stevens · · Score: 5, Interesting

    "This brings up another grievance I have with it, that being the lack of an accompanying disc. I feel every book on programming with long examples out to come with a disc containing all example programs, so that the reader can tweak and observe them as he sees fit, without typing in five pages of code. The best way to learn is often by example, and discouraging lazy people doesn't help the learning process along." Not having a disk forces you to type the programs in. Even in autotype drool mood, you pick up alot more than copying and pasting code and running it. Lazy people wont learn programming by copying and pasting code. They are the type that will read individual words without comprehending their meaning and 'finish' the book, and say they 'know' programming while absorbing mebbe 1% of the material. At least if they have to sit there and type the code, they might pick up something, and when they inevitably make mistakes in copying it, have to figure out how to fix it, which is a forced interactive process that gets the wheels spinning. In a more advanced type book, like a data structures or design pattern type book you can get away with code on a disc, but in a beginner book I do not think it is appropriate.

    1. Re:No Disc can be a good thing. by Matthew+Weigel · · Score: 1

      Yup. I first learned by typing listings in. I started with the book of games that came with the computer, then it was from some funky "read a book about a 'hacker' and write programs that follow the action" book, then from a book of, well, listings.

      30+ pages of listings, type it in and run it. Extra information on how to tailor particular bits to your computer's BASIC, since they weren't all the same. (for that reason, even having a disk wouldn't be all that great)

      It seems tedious, but putting in the time typing the code means you've got a lot of time just sitting there, looking at the code, and your natural reaction will be to try to understand it, relate the current line to previous lines, predict the upcoming lines. It's no different from following a recipe; it's a completely different kind of learning experience than reading a recipe.

      Go look at modern education theory, and you'll see a lot of talk about how physical manipulation and direct action are great - some of the best - ways to learn.

      Sample code on disk is great in some cases, but introductory programming is not one of them. You should type every line you use when you're starting out.

      --
      --Matthew
    2. Re:No Disc can be a good thing. by JaredOfEuropa · · Score: 1

      Absolutely... how is loading stuff from a disk and running it going to teach you programming?

      I am currently learning Javam by working my way through 'Learning Java' (O'Reilly). The great thing is that many examples in the book are incomplete code snippets rather than runnable programs. To make them go, one usually has to supply a framework and some missing bits. Sometimes suggest a few improvements to the code you can try out. All that gives one a real hands-on experience, and having gone halfway through the book, I feel confident writing code in this language and understanding what's going on as well. (On the downside... this is not a full Java reference, nor is it very suitable for beginning programmers. Some knowledge of OO and programming in general is required)

      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    3. Re:No Disc can be a good thing. by Anonymous Coward · · Score: 0

      Lazy people wont learn programming by copying and pasting code.

      No, lazy people will learn programming by grabbing an existing program and tinkering with it. That is, if they actually want to learn. If you don't want to learn, you won't, no matter how much "effort" you put into it.

      At least if they have to sit there and type the code, they might pick up something, and when they inevitably make mistakes in copying it, have to figure out how to fix it, which is a forced interactive process that gets the wheels spinning.

      That, or they'll learn how to be excellent typists with swollen wrists.

      Seriously, if they don't want to learn, they'll give up when it doesn't work after they first type it in. If they do want to learn, not wasting their time typing won't hurt.

    4. Re:No Disc can be a good thing. by HeavyJay · · Score: 1

      You have a very valid point, but those actually trying to learn the language will study the included source code before compiling. The disk only cuts out the middle man: typing the source code in. If you're not willing to actually do that, you probably shouldn't be reading the book.

      --
      "My people are destroyed for a lack of Knowledge." -- Hosea 4:6
  73. Don't mess with qbasic by tie_guy_matt · · Score: 1

    I have a lot of great memories (as I am sure a lot of other poeople do) of using gwbasic -- and then qbasic on my 8088. I wrote tons of small programs using qbasic and dos .bat files to do all sorts of things automatically on my IBM XT circa ~1988. Yes Qbasic has MANY technical drawbacks (I think you used to only be able to write programs that were smaller than 64k) but it is also extremely easy to learn.

    The online help is extensive and written with newbies in mind. Qbasic is one of the easiest languages to learn -- and once you have mastered qbasic it is much easier to then move on to a real language.

    All the people that first learned to write code using qbasic or gwbasic please stand up!

    I thought I would also like to point out that I would wish people would stop buying those "for dummies" books. Have a little self respect people! It is amazing to me that a group of books that openly insulting its user base could make so much money.

  74. Redundant? by Anonymous Coward · · Score: 0, Redundant

    Isn't "QBASIC Programming for Dummies" a bit redundant?

  75. "for dummies" books suck by kalislashdot · · Score: 1

    I hate these books for exactly as the reviewer says. Theyare not for dummies, they make you feel like a dummy.

    Back in 94/95 when I first got into HTML, the first book I bought was HTML for Dummies. It made no sense. Most of book was about theroies and unerlying technoloy. I wanted to know how to say "Hello World" in HTML. Went out and bought "How to use HTML 3" which was very grachical and I learned quickly. Ever since I have told people not to but "For Dummies" books, try the in 24 hours or any Oreilly book.

    1. Re:"for dummies" books suck by kisrael · · Score: 1

      I hate these books for exactly as the reviewer says. Theyare not for dummies, they make you feel like a dummy.

      I've had some ok results with "Dummies" books.

      I think they'd appeal to me more if they were named "X with few assumptions about what you already know about X" rather than "X for Dummies", but the former isn't nearly as catchy.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
  76. go ahead and laugh-A "Titanic" mistake. by Anonymous Coward · · Score: 0

    "I was really impressed with companies selling software written in Pascal (including DB engines ), but QBASIC is on another league completly."

    I'd say about 20,000 leagues.

  77. By Example by Organism · · Score: 1

    It was a long time ago, but I learned from the book 'QBasic By Example'. Wait - here it is! It's a top book, and doesn't try to explain things with ridiculous metaphors or other silly mechanisms, it just gives you a bit of code and explains it thoroughly and understandably.

    The only advice I can give is move on from basic pretty darn quickly. Go to pascal, or python, or something... anything - just get away from it once you've got the fundamentals!

    Hope this helps.

    --
    -- My hovercraft is full of eels.
    1. Re:By Example by Anonymous Coward · · Score: 0

      Mod this up... QBASIC For Example is definiately a great book for this!

  78. Re:Can someone explain how to write games in qbasi by aberant · · Score: 1

    Well first you had to switch your CGA card to graphics mode.. i always liked when i could choose between 2 different pallettes of 4 colors.. i made a race car game where everything was composed of lines and rectangles so it was basically vector graphics stuff.. but you could also get snazzy and read pcx files and write straight to the cga cards video memory.

  79. QBASIC :D by Munden · · Score: 1, Funny

    I enjoyed the wonderful QBASIC language on my 33mhz AST laptop while listening to my 50kb midi on Windows 3.1 What exactly did you want to accomplish? I would rather program on my TI-83 Plus making programs like clocks that went through loops adding one to the milli seconds then to seconds ect for a time length of 3 min before i killed my batteries. Thats just me.

  80. Here's a nice quote from a /real/ programming book by Kernel+Corndog · · Score: 2, Interesting

    From SICP:

    It is practically impossible to teach good programming style to students that have had prior exposure to BASIC : as potential programmers they are mentally mutilated beyond hope of regeneration. [E.W. Dijkstra]

  81. What the Hell??? by DesScorp · · Score: 1

    Qbasic? Why, God, oh WHY?

    --
    Life is hard, and the world is cruel
  82. WTF? by evilquaker · · Score: 5, Interesting
    HeavyJay writes:
    I'm new to the world of programming...

    and the review (also written by HeavyJay) says:
    I've read countless books and online tutorials on QBASIC, C++, PHP, and other various languages.

    So WTF... you've read countless books on QBASIC, yet you claim to be new to the world of programming and therefore need to read "QBASIC for Dummies"? Something doesn't make sense here...

    --
    To within half a percent, pi seconds is a nanocentury. -- Tom Duff
    1. Re:WTF? by JPelorat · · Score: 1

      You caught him. He's obviously wrapped up in some kind of Enronic stock market scam.

      --
      Hokey statistics and ancient misconceptions are no match for a good thought in your head, kid!
    2. Re:WTF? by arunkv · · Score: 1

      I'm new to the world of programming...
      If one reads too many QBASIC books, one never matures and always remains an infant in the world of programming ;)

    3. Re:WTF? by HeavyJay · · Score: 1

      I've read various books and text documents, but my actual programming experiences are limited. Does that answer your question?

      --
      "My people are destroyed for a lack of Knowledge." -- Hosea 4:6
  83. Yeah, But Companies Don't Need To Care by reallocate · · Score: 4, Insightful

    Ummm...I've been involved with more than a few folks spending great chunks of money on software and can't recall any of them ever asking what language was used. Or, frankly, needing to ask. What they need to know is the vendor's track record, financial status, support record, etc. Companies care that problems will be fixed per their schedule, not the language used to code the stuff in the first place. Buying a $50,000 QBasic program is just fine as long as the vendor can provide QBasic coders.

    --
    -- Slashdot: When Public Access TV Says "No"
  84. QBASIC does not makes us laugh... by 5prite · · Score: 1

    What makes us laugh out loud is the QBASIC book review. I am not laughing at the language itself (this will start a flamewar), but I think that the book QBASIC for dummies is a little pointless.

    • this book will not have much use to experienced QBASIC programmer
    • seasoned programmer can pickup another language quickly, learning language syntax is not that hard
    • i have not heard of anybody uses QBASIC as a starter language nowadays

    Question of the day: What is the point of having the book review here?

  85. Punctuation error by geophile · · Score: 1

    Should that be "QBASIC: Programming for Dummies"?

    1. Re:Punctuation error by Anonymous Coward · · Score: 0

      They didn't get it.

  86. Here is another decent resource by Anonymous Coward · · Score: 0

    The Secret Guide to Computers has a bunch of info on QBasic here and it's free. :)

  87. Is Qbasic even still shipping? by nurb432 · · Score: 1

    I thought it was long since replaced with vbscript..

    Or did i miss something here?

    --
    ---- Booth was a patriot ----
  88. And the reason for learning this language is? by DesScorp · · Score: 1

    Ummmm, what does Qbasic have in common with Aramaic, Ancient Egyptian, and Latin? Pat, I'll buy a vowel for "dead language"

    I mean, COBOL is lively compared to Qbasic. COBOL is a fucking RAVER compared to Qbasic.

    MS doesn't even include Qbasic in it's OS's anymore. Didn't they stop with Windows ME?

    --
    Life is hard, and the world is cruel
    1. Re:And the reason for learning this language is? by HeavyJay · · Score: 1

      Just because it isn't frequently used means it shouldn't be learned at all? Look at Latin. Without it, English speakers would be nowhere. It makes up many of our words, but it's useless?

      --
      "My people are destroyed for a lack of Knowledge." -- Hosea 4:6
  89. Might I recommend a different language to start? by Anonymous Coward · · Score: 0

    You should try Pascal, the transition to C/C++ and object oriented programming is similar because the sytax is easier to understand with a base in Pascal.

    Other than that, you might try PILOT, if you can get ahold of an interpreter.

  90. Dummies? I think not. by klinzou · · Score: 1

    I remember beign taught BASIC when I was in 1st grade, sure that was only 14 years ago, but come on. I learned it as a FIRST GRADER. Maybe the book should be called QBasic for slow people :)

  91. QBasic vs. Others by hendridm · · Score: 2, Insightful

    Hmmm, although I started out on QBasic, I'm not sure it's the best language to start on today. If you're looking to start with a programming language, I think the easiest semi-modern language would be ASP (not ASP.NET) if you already know HTML or Visual Basic *6* if you don't. Some would argue that VB teaches you the wrong way to program, but I think the basic concepts are the same. Avoid .NET. Although I think its a decent platform, it can introduce some unnecessarily confusing concepts that a newbie probably doesn't care about. If I were you, I would seriously consider a beginner book on Classic ASP. You don't need to know advanced HTML to play with ASP output (in fact, most of the books will tell you all the HTML you need, and ASP doesn't HAVE to output HTML, just text), and you will sort of be killing two birds with one stone (HTML + scripting). Plus, some would argue the web is the platform of the future anyway.

  92. 4 megs of RAM? by Prince_Ali · · Score: 1

    4 megs of RAM? 4 megs? Why, you whippersnapper, when I was your age core memory costed a dollar per byte, and we were happy to pay it.

    1. Re:4 megs of RAM? by Anonymous Coward · · Score: 0

      Wow, how old are you? I met a guy once who must've been 60 who told me about that. "Yeah then we got a machine that had a megabyte of memory and it was just amazing!" It certainly makes you appreciate the old codgers.

    2. Re:4 megs of RAM? by Sj0 · · Score: 1

      I once had an Atari with 512 bytes of memory...
      Then I got a TRS-80 with 32k of memory. It was a strange and surreal experience.
      Then I got a PC with 4Mb of memory. That too was a strange and surreal experience.
      Now I own a PC with 512MB of memory and a hundred gigs of hard drive space. Surrealism has left the building. It's just strange.

      --
      It's been a long time.
  93. QBASIC skills remain important today. by Jerk+City+Troll · · Score: 1

    How, might you ask? Quite simply, my relationship would be significantly less interesting if not for my knowledge of PEEK and POKE. You gotta make sure you know where to PEEK, then where and what to POKE. See! QBASIC isn't dead!

  94. QBasic Fundamentals by Jaguar777 · · Score: 1

    Back in the day at Purdue University my first course in Structured Programming used QBasic. The book was written by two fine professors at Purdue University Calumet that I have had the privilege of studying under.

    I just googled the professors name with QBasic and came up with a new textbook at Amazon. Although I haven't seen it myself I'm sure it will be very useful.

    --
    Maybe you should educate the morons of tomorrow so they'll stop believing the leaders of tomorrow. - Dogbert
  95. Why 5 out of 10 rating? by billtom · · Score: 1


    People often complain about ratings inflation in /. book reviews but this takes the cake.

    How can the author give such a negative review then rate the book at 5 out of 10?

    What does a book have to do to rate a 2, kill someone?

    1. Re:Why 5 out of 10 rating? by thebatlab · · Score: 1

      I think the saving factor based on his review was that it would be a good reference for experience QBasic programmers to have as it delves into data structures and databases and so on.

    2. Re:Why 5 out of 10 rating? by mlk · · Score: 1

      1 - Microsoft Book
      2 - Al-Quada Training Manual
      3 - Contains Risin
      4 - Contains "In the Russian...."
      4 - Very Bad
      5..9 - OK
      10 - Contains a load of ten pound notes.

      --
      Wow, I should not post when knackered.
  96. Re:Might I recommend a different language to start by term8or · · Score: 2, Interesting

    Personally, I would go with delphi or with Java as a first language. (Delphi has all the structure of Pascal, but you can actually use it to do stuff... IMHO Java is not as good a language as delphi for learning, but is *almost* as good, and better paid.)

    I would leave anything with Basic in the title, C, C++, or Perl to later. i would leave Visual Basic to never (I'm using it at the moment, and i'm looking for another job, Just to get awat from VB6).

    --



    "As a writer / novelist you might want to spellcheck your sig. :) " - AC
  97. c for dummies.. by Suppafly · · Score: 1

    You should have got the c for dummies book, at least it starts out with a hello world program. Seriously, a lot of the for dummies books aren't too bad if you use them in conjunction with other books.

    1. Re:c for dummies.. by Steven+Blanchley · · Score: 1

      C for Dummies is horrible. It's extremely platform-dependent and ought to be called "C for DOS for Dummies," or maybe "C for Borland C++ for DOS for Dummies"). It wastes far too much space with plodding, tiresome explanations and cornball jokes. I recommend avoiding it at all costs.

      I advise people who are new to programming to follow these introductory notes with K&R2 and the comp.lang.c FAQ as reference materials.

  98. QBASIC? by Anonymous Coward · · Score: 0

    Wow.. and I'd flame people for using Java, .NET, VB, etc.

    But this is far, far, far beyond... I think this guy is about to define the term "Waste of time" completely new. I don't know where I should start to flame.. Aaaagh...

    Seriously, QBasic is so 1990(? ..i don't care!) that you really should consider learning Java instead. Even if forces here at /. are trying to kill/de-value SUN and all their products.

  99. QBasic...... by Retarded_Ninja · · Score: 1

    Que's "QBASIC by Example", is a good book. However QBASIC bored me. I wanted to see reults right away so I started with HTML which isnt a program language (Markup Language); however after learning it and it limitations I decided to learn PHP. PHP is easy once you learn HTML and really adds a new dimension to your web pages. As I learned that I also learned MySQL so that I can store information into databases. I've learned all this in about a year. This also gave me a new found love for Open source software developement. So much in fact that I have converted one PC to LINUX and I am currently developing an Open Source CMS called Nitrous that I hope to put on the web for download soon. Other good books that I have found are the O'Reilly series of books. Hope this helped.....

  100. Re:printf what? by TheAncientHacker · · Score: 1

    try:

    Print "C decended languages suck worse than any BASIC"

  101. Actually... by mccormick · · Score: 0

    I'll go out on a limb to say that it should be:

    printf("%d", a + b);

    for regular C, and only:

    printf(a + b);

    if you're using something like Perl or PHP where types are automagically converted (integer -> string.)

    --
    Pete
    1. Re:Actually... by TheCrazyFinn · · Score: 1

      yeah, my C is a little rusty. been a while, i just use Python or Bourne Shell for my programming requirements today.

      --
      "You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
  102. Appendix A by indros · · Score: 1

    PRINT "Hello, World!"

  103. For dummies? by Phalkin · · Score: 1

    Why yes. Yes it is.

    --
    I stole this sig.
  104. Are you sure this book is not joke book for Geeks by nexusone · · Score: 1

    I don't think any serious person in their right mind would use QBASIC today.
    So it has to be ment as a bit a programming humor!!!

    --
    Wise men speak because they have something to say, Fools because they have to say something!!!!
  105. "Meet Mr. Variable" by Speare · · Score: 1
    I did my first programming on a friend's Apple ][ years ago by trial and error, and editing the programs of my friend's more knowledgeable older brother.

    After that, my dad got me a Tandy Color Computer and a VIC-20. I learned a lot more when I had some reading materials. I found that it didn't matter what the quality of the writing was, but that I could read the books while not at the computer. These were full of sappy, condescending lines like "Mr. Variable remembers a number for you."

    Once you understand that (1) a variable can only hold one value at a time, (2) an instuction can read variables or change variables, and (3) an algorithm or program is just like a cooking recipe with a number of instructions to follow (and very literally at that), then you're well on your way.

    The rest is just grammatical details of a given language (how to type an instruction), tactical details of a given language (what kinds of instructions there are to manipulate variables), and semantical details of the given language (what kinds of values the variables can hold).

    --
    [ .sig file not found ]
  106. Tutorial by Cruel+Angel · · Score: 1
    You know, for starting out, I'd go to qbasic.com. The starting tutorial are really basic (pardon the pun), but there's some actual content.

    I'm guessing that since you've made it through the book, it might be a little simplistic for you, but it would have made a good primer.

    As far as books, I probably wouldn't bother. QBASIC is so well documented on the net, you can probably find what you need there.

    I've a question for you though. Why QBASIC? In fact, why BASIC at all? There are some excellent C compilers for free (DJGPP anyone) and C is a little more useful, though maybe not as easy.

    --
    Two Rules For Success:
    1) Never tell people everything you know.
  107. Life is way too short to learn QBasic! by Anonymous Coward · · Score: 0

    Even if progress in medicine is hugh. Life will never be as long as making learning QBasic not a waste of time.

    If that Dude isn't able to realize this. Then he doesn't deserve to life (sorry).

  108. Conflict? by Fredge · · Score: 1

    First he says:

    I'm new to the world of programming...

    Then he says:


    I've read countless books and online tutorials on QBASIC, C++, PHP, and other various languages.


    If he's read "countless books and online tutorials", especially C++ stuff, he's not "new to the world of programming" is he?

  109. Not available from bn.com by PhilHibbs · · Score: 1
    You can purchase the QBASIC Programming for Dummies from bn.com.
    No you can't. Look over at the right hand side: Not Currently Available.
  110. The inevitable Dijkstra quote... Sigh... by mykepredko · · Score: 1

    It is practically impossible to teach good programming style to students that have had prior exposure to BASIC : as potential programmers they are mentally mutilated beyond hope of regeneration. [E.W. Dijkstra]

    As soon as I saw the topic, I knew this quote was going to come up.

    It's unfortunate, but I would like to see the context of where it actually comes from. Was Dijkstra talking about structured programming? OOP? Somehow I can't help but feel that the quote isn't complete or there is a background to it that hasn't been explained.

    What BASIC and other simple programming languages (I would have to think that assembly language progamming comes under this umbrella as well) teach is the mindset needed for programming. They teach thinking about requirements, planning on instruction sequences, understanding conditional execution, etc. etc. etc.

    To be fair, I can see where programmers would learn a lot language bending tricks to get their BASIC applications to work but these are simply rules to working with the (specific implementation of BASIC) language and platform. As structured and OO programming is taught, these tricks (and the thought process behind them) can be discussed and shown to be inappropriate for these environments.

    This may be sacreligeous, but maybe the problem with Dijkstra not being able to teach students that already have experience with BASIC doesn't lie with BASIC...

    myke

  111. Re:Here's a nice quote from a /real/ programming b by kisrael · · Score: 1

    Google came up with
    this page at.

    It has a broken link to a longer article maybe? But still, I'd like to see some decent argument to support this rather bold claim. BASIC didn't have decent subroutines or objects, but it could get you down the road of starting to think about wehat you wanted to get done in a step by step fashion, and I think a lot of current great programmers cut their teeth on various versions of the language.

    I've certainly seen more crap in "good" languages-- from folks who started in those languages! - then from people who have a long career that started in BASIC.

    --
    SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
  112. Avoiding BASIC... by WIAKywbfatw · · Score: 3, Funny

    Stay faaaaaar away from anything with the word 'BASIC' in it. You've been warned.

    Where were you when I was 10 years old in my hobby shop buying my first Dungeons and Dragons set?

    --

    "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
    1. Re:Avoiding BASIC... by Anonymous Coward · · Score: 0

      Probably split between two people who didn't know each other yet.

  113. it pays to learn C? by TheAncientHacker · · Score: 1

    Yeah, if you really like case sensitivity, easy typos, no concept of strings, no concept of block data, etc.

    Face it, the common use of C was the worst disaster that ever happened to programming. Most languages in the mid-'60s were more sophisticated and better thought out. (Of course, the lack of the concept of string length has done wonders for tapeworm writers and the lack of decent memory managment has done wonders for people writing debug utilities...

  114. And next on /. ... by exp(pi*sqrt(163)) · · Score: 1

    ...The Moron's Guide to Switching on your Apple IIe and the Loser's Guide to Inserting a Cassette Tape into your Commodore Pet.

    --
    Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
  115. QBasic is still used by dcuny · · Score: 4, Informative
    A number of years ago, we decided it was time to move our key entry group off the minicomputer they had been using to a PC-based application. We ended up selecting a DOS based application, and it works nicely, ThankYouVeryMuch.

    The author claimed that it wasn't a QBasic application, but the error messages when it crashes tell a different story.

    The QBasic integrated editor was a real joy, and it's hard to find a good, lightweight equal. Python is too big, C++ lacks the "fun" factor...

    Lua with the SciTE editor comes close, if only it had builtin help.

    I only stopped using QBasic after repeatedly running into the 32K memory barrier. I moved to Euphoria, a nice interpreted language. I missed the QBasic editor that I ended up writing a clone for Euphoria.

    Heck, QBasic left such a mark that I ended up writing a Basic interpreter of my own.

    1. Re:QBasic is still used by CowboyBob500 · · Score: 1

      Hang on a minute...

      ended up selecting a DOS based application, and it works nicely

      and

      but the error messages when it crashes tell a different story

      How bad does an application have to be before it *doesn't* work nicely?

      Oh, yeah, and to stay on topic, I learnt BASIC on an "Oric 1" way back in the day. Did a bit of raw hex editing to get some super-fast image scrolling rountines in machine code (no assembler). I've now moved on to Java. Getting to grips with OO was a nightmare after coming from BASIC (with a gap of a few years admittedly).

      But once I'd got that, many of the concepts from BASIC are still relevant. For/While loops, breaking to labels after wait()ing on a thread's notify(), manipulation of primitives etc etc.

      Bob

    2. Re:QBasic is still used by dcuny · · Score: 1
      It depends on why the application is breaking.

      I think that it was unable to load some .INI file, so it was failing. Considering that

      • The application was written to be run on stand-alone workstations, and
      • We were trying to get it to work over the network, which it wasn't originally designed to do
        • it was forgivable that there might be some issues.
  116. My first programming book by Anonymous Coward · · Score: 0

    My very first programming book was "The Absolute Beginner's Guide to Programming" which was for QBasic. I can't remember if "in QBasic" was part of the title. Anyway, I read it about... hmm 8 or 9 years ago, and it was easy to understand and helpful for my junior-highschool-age self. It did help me get some basic concepts of programming. It was also funny.

    I have to agree with some other posts, though. Why waste time with qBASIC?

  117. The golden age's gone by Smartcowboy · · Score: 1

    Qbasic si obsolete. It is a DOS-based programming language and DOS is almost dead. The only people still using it is people that still need vintage software/hardware and they probably don't need new software. So, programming in Qbasic look useless.

    I Started programming at age 8 or 9 with BASICA. That was the old day. When Qbasic came out, I find it REALY hot. I discovered SUB and FUNCTION and the great CALL INTERRUPTX. I said: "what a powerful language it's far better than these stupid GOTO and line number"!

    But now.... Begginner don't have the chance to deal with a easy to use programming language and it's a shame.

    newbie Windows user: there is no programming language that come with windows. I think it's because Microsoft consider programming as a professional activity and consider that a end-user should not be programming.

    newbie Linux user: Linux default install is bloated with different programming languages. But this don't help newbie who don't know with wich one to begin with. Since computer commonly have GUI, new user commonly reject the console as "too difficult". Most (all?) programming language work with with the console so most newbie and child will not have the reflex to learn to code. There is no easy-to-code-with IDE.

    I think of this like a normal evolution. When my grandfather and father was young, cars was simple and everybody was able to fix them. Now cars are incrasingly complex and it take a qualified mechanician to fix them when it's broken. The same thing happens with computer. Now that everybody have a computer, it take a specialist to program them. Soon, it will be impossible for someone to build his own computer or upgrade it. You'll see a sticker on the back on your computer: "Do not remove this cover. Parts not user serviceable.".

  118. but then by Trepidity · · Score: 1

    It's even harder to maintain your code, 'cause now none of the line numbers are actually what the source file says they are. Nothing like having to mentally trace the execution of a program in order to figure out where your labels are.

    1. Re:but then by TheAncientHacker · · Score: 1

      Actually, the line number references in the code get renumbered as well. What you do lose is any neat line numbering scheme you started with.

  119. GW-Who? by IPFreely · · Score: 1
    Note: this post is intended to advocate the violent overthrow of the US or any other government.

    With a motto like that, you're going in the right direction. Applying the descriptions "obsolete" and "useless" to something with the initials GWB is likely to stir up some trouble.

    --
    There is nothing so silly as other peoples traditions, and nothing so sacred as our own.
  120. Why not PHP? by mcrbids · · Score: 1

    I started programming with Pascal and C. Hated both.

    Strict data typing, memory management, blah blah blah.

    But with PHP-GTK, you can write powerful client side software that works on Windows/Linux well, as well as write the more typical web stuff and shell scripts.

    I love it!

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:Why not PHP? by Anonymous Coward · · Score: 0

      PHP-GTK on windows?! YEAH!!!!

    2. Re:Why not PHP? by Anonymous Coward · · Score: 0

      Interesting. How many 100000 loc+ programs did
      you write in it?

      And how many 1000000+ ?

      Or even a mere 10000?

      If you try to, you'll see why.

      PHP and Perl are good for "scripting", not for applications.

      Want proof? Try to count reasonably large Perl and PHP programs. I know one Perl program; Latex2html.

      that's it.

    3. Re:Why not PHP? by mcrbids · · Score: 1

      Interesting. How many 100000 loc+ programs did
      you write in it?


      Geez... where do I begin?

      1) How many 100,000 LOC projects have you seen in QBASIC? I started by saying that I feel PHP is a good contender as a first language instead of QBASIC!

      2) For that matter, how many have you (personally) written? Come on! Tell me about some of your stuff, and I'll tell you about some of mine!

      3) I've not written a 100,000 line program in PHP - and I think that's really the point. Scripting languages can be much more terse than equivalent code in c or other lower level languages, as a smaller amount of code does more. Which explains why PHP/Python/Perl are as popular as they are.

      However, I have written several in the 10,000-30,000 line area, and both myself and my clients have been quite pleased with the results.

      Do you remember the perl program that decoded a DVD with a single line of code?

      If you try to, you'll see why.

      Perhaps you could enlighten us?

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
  121. And the next review will be... by Kegetys · · Score: 1

    "Logo programming for dummies"?

    1. Re:And the next review will be... by PhoenixFlare · · Score: 1

      Expect vengeful turtles in ninja garb to show up later tonight, and teach you the folly of mocking Logo :):P

  122. Basic is ... by Anonymous Coward · · Score: 0

    Basic is what kids use before they learn how to program

  123. QBASIC???? by LS · · Score: 1, Troll

    Is this a Friday 13th gag or something? What next, an article on loading your CD-ROM driver into High Memory in DOS??

    --
    There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
  124. Wow! A whole website for QBasic by Xebikr · · Score: 1

    Check out QBasic News. They also have a book section here.

  125. learning programming by Hoe · · Score: 1

    if you want a rewarding experience with programming for the first or second time.. i cant recommend something like PHP enough.
    <p>
    because you can do all the interface stuff in html it makes getting something worthy of showing mum really easy to make.

  126. No, learn C++ first. by Jerk+City+Troll · · Score: 2, Flamebait

    Don't mess around with any variety or descendent of BASIC as a learning language. You've got one thing right: it teaches you the wrong things to do in a lot of ways. It will only add confusion when a programmer goes on to more complex (perhaps the wrong word here) languages.

    So, I suggest C++. That may sound appauling at first to some, but here's why.

    Programmers absolutely have to know how to work with memory. It's a fact and it's one I think will never change, no matter how abstracted or garbage-collected languages become. You might suggest using C, but I think that's a bad idea for two reasons. The first I'll describe here: it's a little too hard. You want programmers to learn the hard stuff, but not too fast. new and delete are clearly not as powerful as malloc and free, but they do basically the same thing: allocation and deallocation of memory. The former two are easier to use at first and more intuitive to the programmer, especially when dealing with objects. The second reason for not starting on C comes in my next point.

    We live in a world of objected oriented abstraction. It's essential for the development of a lot of modern software, particularly anything that exhibits a sophisticated user interface. Classes are not particularly difficult to learn with C++ and C lacks object oriented programming altogether (well, for the most part). Once you know C++, the object oriented programming skills obtained can be passed on to a number of other languages, including Java with very little relearning.

    C++ is more relevant by far than *BASIC. Aside from skills developed while learning it, the language is self is widely used and has a relatively small learning curve. *BASIC may or may not be much easier to learn, but that's irrelevant because it is very rarely used. You wouldn't bother learning *BASIC for the same reasons you don't really bother learning COBOL or Pascal these days. I'm not saying they're lousy languages, just not particularly useful. (You could argue that VisualBASIC is used a lot. May be true, but usually only for RAD throw-away applications or application prototyping. It's piss-poor for anything serious.)

    Of course, you could also argue that CS should be taught the same way as CE: learn why the tiny pieces work, then learn how to use the tiny pieces, then learn how to use complex pieces made of tiny pieces, and so on. In that case, everyone needs to learn Assembly first then move to higher level languages one at a time. That is another discussion altogether, but it contradicts learning *BASIC first. :-)

    1. Re:No, learn C++ first. by hendridm · · Score: 1

      Hah, I was about to reply with an argument but then I noticed your username. You got me ;)

    2. Re:No, learn C++ first. by term8or · · Score: 1

      I don't think C++ should be taught as a first language. C++ is a great language for serious hackers... but it does obscure certain basic fundamentals.

      For a first language, memory management is simply not an important factor. The two most important things to learn are:
      1. How to solve problems in a logical way.
      2. See 1


      The best programming language to use (IMHO) is delphi. It forces you to code in a reasonable mannor, supports all the OO stuff you actually need (which isn't important) and tends to produce clear code.

      Once you have mastered the *real* basics - how to solve problems logically, algorithms, data types, and the OO concepts, *then* learning a professional language like C++ or C will save hours of hair loss, as well as reducing the likelyhood of hackmeisters in the future.

      --



      "As a writer / novelist you might want to spellcheck your sig. :) " - AC
    3. Re:No, learn C++ first. by hendridm · · Score: 1

      > If you think an argument is compelling or with discussing, do so..

      Ok.

      Don't think think if he's having a hard time learning QBasic that C++ would be impossible? I think C++ is daunting for people of normal programming acumen. C++ requires "the nack" for programming, and understanding and ability to visualize how code works. You can't just jump into C++...

      > QBASIC and its concepts haven't [stayed with me].

      You mean concepts like variable types, expressions, operators, and control structures?

    4. Re:No, learn C++ first. by yoderm · · Score: 1

      So, I suggest C++. That may sound appauling at first to some, but here's why.

      Yeah, that is appalling. I once taught (one of the) entry-level CS classes a big university. We used C++. Some others were experimenting with using Java. We found that often the students could grasp the basic concepts, but then ran into implementation problems in C++. There were simply too many ways for beginning programmers to innocently screw up. The classes where Java was used were able to focus more on the concepts and not on C++ details.

      Once one programming language is learned, then others are picked up easily. I would honestly recommend Pascal as a language to begin with. After all, it was DESIGNED to be a teaching language. But Java isn't too bad, either. Learn C++ as your _second_ language.

      Programmers absolutely have to know how to work with memory

      Yes. But not until the second semester. There are plenty of other things to learn in the first semester, believe me.

      We live in a world of objected oriented abstraction

      Yeah...but I don't think it's too hard to transition from a functional-based language into an object-oriented one. It's just a slightly different way of looking at things...

      C++ is more relevant by far than *BASIC

      Of course. But like I said, who cares about your first programming language? Others are easy to pick up once you've got one down. Of course, the leap from *BASIC may be greater than from other languages.

      I have to confess that QuickBasic (version 4.5) :-) was one of my first languages. (I got the joke when some other poster mentioned a snake eating numbers.) Then I learned Pascal (my CS intro), then C, then C++, and now in real life I code in C in the depths of a UNIX kernel. Go figure.

      -Mike

      --
      This sig no verb.
    5. Re:No, learn C++ first. by Old+Wolf · · Score: 1
      Programmers absolutely have to know how to work with memory.


      Well, many people who call themself C/C++ programmers don't. Ask them what the stack is and they go 'Huh?'. If you try and learn C/C++ yourself, or from a crap book, you will become one of these people, churning out buffer overflows and memory leaks and thinking they are writing good code.


      Qbasic doesn't teach bad concepts really. This isn't the old days of 10 GOTO 100 etc. Automatic memory management is fine while you are learning how to program in general. Once you grok programming then you can start taking finer control. Agreed, there are some people for whom C is a great language to start. But not everyone is as gifted as you or I might feel we are :)


      BTW, 'new' and 'delete' are more powerful than malloc and free, because they also call constructors and destructors, while there is nothing you can do with malloc that you can't do with new.

    6. Re:No, learn C++ first. by Anonymous Coward · · Score: 0
      Programmers absolutely have to know how to work with memory.

      Gotta disagree on this point. Having a zillion years of hardcore software development behind me, I've cared about memory management only when doing very low-level engineering such as OS kernel, device drivers, and comms subsystems. In nearly all other work, including compiler design, business apps, GUIs, web apps, and so on, memory management is a thankless and absolutely massive schedule and budget-wasting chore. In addition, because memory management bugs can be very tricky to find and fix (like concurrency bugs), they introduce significant uncertainty into project scheduling and budgeting. And as finance theory types will tell you, (uncertainty == real dollars), even if the project goes according to plan.

      Finally, memory management tends to be the responsibility of guru developers, but their valuable time is much better spent solving domain problems than plumbing problems. There's a strong economic argument here: suppose your competitor's gurus concentrate only on domain problems, while you pull your hair over some busted pointer that another development team was supposed to malloc -- all else being equal, your competitor is gonna build products that satisfy more customers, and your competitor is gonna win.

    7. Re:No, learn C++ first. by wcbarksdale · · Score: 1
      C++ ... has a relatively small learning curve

      Ugh. Most people who claim to be C++ programmers don't even understand syntax like

      Constructor() : x(3) {}
      let alone things like multiple inheritance. C++ is a very hard language to thoroughly understand compared with something like Java.
    8. Re:No, learn C++ first. by Cochonou · · Score: 1

      /me grabs in a relief his garbage collector.

    9. Re:No, learn C++ first. by shish · · Score: 1

      Java = C++ - pain in the arse bits

      I'd say learn BASIC for about a week to show that programming isn't scary, do a copule of months java to show the basics of Real Programming, then C++ from then on.

      Trying to teach C++ to people who don't know what an IF statement is is like the proverbial "stapling dihorrhea to a wall". And yes, I was in an A-Level classroom just a couple of days ago - There ARE people who want a computing carrer and get to 18 without knowing what an IF is. Indeed, of a class of ~12 only one had proir programming experience, and that was VBScript embedded in HTML...

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  127. Improper grammatical person, or ego? by Quarters · · Score: 1
    The book started off making me feel stupider than I actually am. This oftentimes discourages readers from pursuing, and the book takes to the shelf, perhaps never to be picked up again.

    I,for one, can say that you being made to feel more stupid than you actually are has never discouraged me from reading a book.

  128. First language by JerryKnight · · Score: 1

    I agree that it was good for its time, but now we have better languages that are just as available as QB was.

    QBASIC was my first language, simply because in those days my sheltered computer life consisted of DOS/Win3.11 and no instruction or guidance. I can honestly say it gave me a good introduction to the mindset of programming. Sure, it has problems and deficiencies as far as programming style and efficiency are concerned (ie. GOTO, globals, etc), but it was a good way to learn the concept of telling the computer what to do with high-level instruction. After exhausting the capabilities of QuickBASIC 4.5, I gave up being lazy and went into more useful languages.

    I still keep my code for lunar lander and bubble asteroids (hadn't yet gotten to sprites for the jagged asteroids), but I cringe when looking at the almost totally non-function-based spaghetti code. My 3d graphing program was better structured, but that was near the end of my QB days.

    QB got me into programming because it was fun. I could have been crippled by it though, so I am fortunate that I grew out of it.

    --

    Catapultam habeo. Nisi omnem pecuniam tuam mihi dabis, ad tuum caput saxum immane mittam.
  129. Typing In Code by Lagged2Death · · Score: 1

    I feel every book on programming with long examples out to come with a disc containing all example programs, so that the reader can tweak and observe them as he sees fit, without typing in five pages of code. The best way to learn is often by example, and discouraging lazy people doesn't help the learning process along.

    I've always found that I learn the stuff way better if I'm forced to type in the code, which makes me read it a lot more closely.

    That aside, it does indeed sound like a dreadfully misguided book. "Hello World" may be hackneyed, but there's a reason it's used so often.

  130. The best way to start learning programming... by Niche+Slasher · · Score: 1

    is through taking a low-level programming course. That's how I got started, even though I started later than probably 85% of the posters here. The first course on programming I took was on Pascal, a good teaching language that was, and the teacher focused on clear style and informative coding habits, which was a big help later on. But I heard QBasic was a good language for a cracking start too.

    The fact about programming, is that 90% of your knowledge and skills come from practices and trial/failures. Work on problems, work on projects, and learn from other people(99% of the case peers)'s code and suggestions. Teachers can't teach you much more once you got started beyond the 'Dummy' courses. And yes, books are good too. But books are usually best for those who already had some programming languages, cuz once you got through with one language, the rest comes at ease. Much the same as once you are fluent with one foreign language, the others you can pick up much faster.

    So my suggestion--if you don't have much programming language and want to learn QBasic to start with, take a course instead of buying one of the for-dummies book. They are kinda like jokes in the world of nerds now. And once you are done with QBasic and want to move on to other languages, look up websites where they offer customer opinions on books before you decide which one to buy. Better yet, find it in the bookstore and look it over before you take out your wallet!

    -N

    --
    The Cycle of Violence is to be seen as the invisible hand that maintains the balance of Man and Nature on earth.--M
  131. Re:Can someone explain how to write games in qbasi by Anonymous Coward · · Score: 0

    "screen 12"
    Will get you 640x480, 12 colour mode
    13 is for 320x200, 256 colour mode
    0 is to go back to basic text only.

    You'll definitely want to use:
    - PSET (Xpixel, Ypixel), colour
    (Set colour of one pixel)
    - Line (x1,y1)-(x2,y2), colour, BF
    Note: BF= filled box; B = open box, omit for a simple line
    - Circle (x,y), radius, colour, ovalness-stretch-factor, arc-start, arc-end
    Note: if arc-start or arc-end are negative you get a line to the center (makes a pie shape instead of just the arc)
    - X = Point (x,y)
    Reads colour of one pixel into integer X
    Returns -1 if the point is off the screen

    And, for games, you'll need the all important:
    kbInput$ = INKEY$
    to get single-character keyboard input without waiting. Returns "" if no input is buffered.

  132. HTDP by Anonymous Coward · · Score: 0

    Firstly, "Hello, World!" is a useless way to start learning programming. IO is usually taught at the basis of all beginer test but it's unimportant for a beginer to get a grasp of what programming is. I don't really care if it makes you feel all tingly inside because you made output.

    If you want to start off your programming experience with solid knowledge that will help you in every programming language you use and also instill good programming hanbbits that will stick with you through profession programming then you should read "How To Design Programs". This book is written in a general manner but uses Scheme for example. The book is availible free, in full tezt, online at htdp.org and the environment to enter examples, drscheme, is also availible free online under the LGPL at drscheme.org.

    Good luck programming

  133. Dummies books suck by Dstrct0 · · Score: 1

    I recently picked up PHP & MySQL for Dummies, and I can't say I'm a lot happier with it than this guy is with his QBASIC book. The software that came on the disc was all but useless to me. I ended up just grabbing fresh tarballs for PHP, MySQL and Apache because the ones on the CD just would not compile properly for me. Maybe that's because of some compatability that has been broken in newer versions of GCC, so that might not be entirely the fault of For Dummies, so I'll let them off the hook for that.

    As for the book itself, it is really frustrating. I'm not finding it hard to follow or anything, just that it moves incredibly slowly and babbles incessantly about trivial info before actually explaining how to code something.

    I suppose it's my own fault for not finding a better beginner's book, but let this serve as a warning to other people looking to buy a book and learn something new: Take the extra time at the bookstore, spend the extra $5, whatever it takes, but do NOT pick up a For Dummies book, lest it's crappiness leave you frustrated and regretting your purchase.

    --
    Build boards not bombs
    1. Re:Dummies books suck by Drakin · · Score: 1

      I've got Javascript for dummies, and have read some of the others...

      They're hard to read, at least from my perspective... they are useful as a referance on commands, so if you want a dead tree referance book cheap, they work.

      For PHP, I've found "PHP: Your visual blueprint for creating open source, server side content" to be a really good book to learn from. Combined with "A Programmer's Introduction to PHP 4.0" you have things explained to you both ways, the simple, and the more involved.

      I'm still looking for a good book on MySQL and Database design...

    2. Re:Dummies books suck by Dstrct0 · · Score: 1

      Thanks for the info about the other PHP books.

      I think the worst part of my experience so far was wrestling with unfamilar config files and options before finally giving up and grabbing newer versions of the aforementioned apps, which compiled with no trouble at all. It wouldn't have been a big deal, except the box I'm doing the work on doesn't spend much time on the net, so grabbing new versions of stuff that I feel should have worked anyway was a hassle.

      I have no pointers for a good MySQL book, but if I happen to find one, I'll write up a review and see about getting it posted here.

      --
      Build boards not bombs
    3. Re:Dummies books suck by HeavyJay · · Score: 1

      DOS for Dummies, despite it's praises from countless readers and reviewers, was nothing special.

      --
      "My people are destroyed for a lack of Knowledge." -- Hosea 4:6
  134. RUSSIA IN SOVIET by Anonymous Coward · · Score: 0

    QBasic Learn You!

    I'm sorry, but why the fsck would you want to waste your time/$ learning QueerBasic? Don't you want to be at least moderatly marketable? Go learn C, or C++, or Java - hell, even learn friggin .NET before frucking around with QBertBasic. Who the hell is going to hire you if you can program in a language that no one ever uses???

  135. Re:Labels by tomhudson · · Score: 1
    The labels might have had a 2-char limit, but there was nothing stopping you from using more letters, as long as the fiorst 2 were unique.

    for example: TTLCOUNT = ACOUNT + BCOUNT
    would be interpreted as TT=AC+BC

    Of course, if you forgot that only the first 2 letters counted, and used comething like: TTLCOUNT = COUNTA + COUNTB
    which was interpreted as TT=CO+CO
    you could spend all day looking for your bugs ...

    ... or worst-case scenario: COUNTTTL = COUNTA + COUNTB
    which becomes CO=CO+CO.
    If COUNTTTL started at zero, you'd never get anywhere ... but that's BASIC for you :-)

  136. Wrong Tool for the Job by Anonymous Coward · · Score: 0

    "I expected a clear, concise tutorial on how to construct programs in QBASIC"

    And you chose a "For Dummies" book?

  137. Your first clue... by jsin · · Score: 1

    You bought a book that insulted your intelligence IN THE TITLE ITSELF!

    This reminds me of a native american folk tale about a woman who found an injured snake in a woodpile. The woman brought the snake in from the cold and nutured it back to health all winter. In the spring, the snake was fully healed; then the snake bit her. As she was dying, she asked the snake "why did you bite me, I saved your life!"

    The snake replied "You knew I was a snake, bitch!".

    You bought a book that made fun of you for being stupid, go figure the rest of the book would be dedicated to doing the same... ...dummy...

  138. Basic programming the way its taught by mr_z_beeblebrox · · Score: 1


    Books are written for specific audiences. Most people interested in getting into computer programming would not pick up a book on Basic (one would hope). As a basic programmer I will tell you most people who would program in basic are business consultants, accountants etc... Basic is a language that makes those things easy for those people that is why it is still popular most of my peers are CPAs and I am learning accounting. I am rare in the basic world as I started on the computer side and moved into basic most start in their fields which are not CS. I have erad qbasic for dummies and found it to be a decent primer. The best basic I ever learned was by downloading code to try.

  139. Why? by Anonymous Coward · · Score: 0

    Why would anyone still be using qbasic? At least use quickbasic so you get the compiler? But even then, why? Things have changed so much. Qbasic and Quickbasic were very incapable of handling large projects. Why would anyone even want to learn/use it anymore?

  140. But does it run in Linux? (was Re:yes) by clintp · · Score: 1
    As a matter of fact... almost. :)

    For my bit of the Parrot project I'm tackling BASIC. The version of BASIC that now runs under Parrot will run many QBASIC programs -- I uploaded a colorful chess program yesterday that required almost no "porting". And of course, Parrot runs under a wide variety of platforms.

    My goal is to have it eventually run all QBASIC programs, less stuff that *can't* be done outside of MS-DOS.

    --
    Get off my lawn.
  141. I still use QuickBasic at work by Control-Z · · Score: 1

    For quick & dirty data conversion/processing programs QuickBasic is great. It's not fast at runtime but I can whip out a program in a couple minutes, if that.

    I've processed countless gigabytes of data with QuickBasic.

  142. Bad Programming Habits... by Anonymous Coward · · Score: 0

    is all you can learn from QBasic. Sure, for kids way back when (even myself) it was fun for about a week or so. But its spaghetti programming. It won't help you on your way to C, Perl, Java or Scheme.

    If you do want a good book on learning it, I recommend looking at the sample programs, the little games (which are kinda fun in an old nerdy sort of way). Try modifying them to do your bidding. If that doesn't help, find a dusty copy of a Basic programming QuickReference circa 1981 for simple Basic code. Or the QBasic book for more advanced topics.

    If you want another old, but easy (and still used) language to learn before you pop into C, try Fortran. Its nice, simple and very easy to learn. It comes with some more "modern" features. Fortran is fairly similar to C, infact the two languages get along fairly well when used together.

  143. Re:RUSSIA IN SOVIET by Retarded_Ninja · · Score: 1

    I agree that QBASIC is a waste of time; However, if you are slow to grasping the concepts of programming then QBASIC could help. Not everyone programs just for the sake of getting a job and becoming more "marketable". Those types of programmers usually are the ones scrambling to change their majors to law or english or something when they hear terms like "the dot.com bubble burst" or they hear tech jobs aren't paying what they used to that is if you can get one at all. As for me I write code because I love it and I will eventually go to school for it but write now I work in a bullshit factory and just enjoy hacking when im not at work.

  144. Your sig reminds me of ... by Anonymous Coward · · Score: 0

    God is dog spelled backwards....

    Godsdog by Skrew

    dog hungers for the meat of his knowing
    dog is dreaming
    dog is an animal is a man is a child
    dog is breathing
    help me find my way back home
    dog is dying
    don't let me steal your fire
    dog is dying
    walk the walk of life for a little while

    dog is running, running from death
    dog is dreaming
    dog knows the sickness and pain of his life
    dog is breathing
    let me rest my head for a little while
    dog is dying
    don't let me block your way
    dog is dying
    talk the talk of life for a while
    dog is dying

  145. OK... by geekoid · · Score: 1

    "I've read countless books and online tutorials on QBASIC...
    "
    In Gods name, Why?

    I can understand reading a lot of books on more complex Languages, but QBasic?

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  146. No not there!!! by pr0ntab · · Score: 0, Offtopic

    Oh god I've urinated all over myself.

    --
    Fuck Beta. Fuck Dice
  147. QBasic by Example by Anonymous Coward · · Score: 0

    This is the only book you should use to program QBasic. I grew up on BASIC and think it's a great introductory language. This book will take you far. Me and my brother used the hell out of this book and covered pretty much the entire spectrum of QBasic.

    Link to the book

  148. you needed a book? by BoneFlower · · Score: 1

    I did a full program, functions and all, even resizing arrays, file access and everything, in two weeks off of a little sheet the instructor gave us and the included help files. This came after a good 12 years of not touching any basic. Ok, so I was wrapping up a C++ class, but still... BASIC, is, well, *basic*!

  149. Computer Programming Books by Anonymous Coward · · Score: 0

    I think a question worth asking is, "Why are there no programming books on compact disc or cassette?" I spend countless hours in my car every day driving too and from work, but have little time to sit down and read such a large book. Especially one that isn't SF or fantasy.

    I can imagine many other geeks feel the same way. I've considered downloading the e-book versions of these books and using a text-to-speech program to read and record the book to cd. However, this is a long process and there is no guarantee that the e-book would be scanned without errors. What we need is a quality computer programming book on tape or cd.

    1. Re:Computer Programming Books by Frobnicator · · Score: 1
      Why are there no programming books on compact disc or cassette?
      I've tried listenening to technical books while carpooling. It doesn't work well. Unless the reader is very skilled, you will be more distracted than cell-phone drivers.

      To understand why it isn't popular, just try listening to someone reading...

      • "The 472 line code fragment is as follows..."
      • "The prototype for this function is Boolean TblSaveDataFuncType( void *tableP, Int16 row, int16 column);"
      • Any description of a figure, table, or graph.
      After trying it once, you probably won't want to try it again.

      frob

      --
      //TODO: Think of witty sig statement
    2. Re:Computer Programming Books by Anonymous Coward · · Score: 0
      I've tried listenening to technical books while carpooling. It doesn't work well. Unless the reader is very skilled, you will be more distracted than cell-phone drivers.

      Ohhh boy, you took me way too seriously. It was supposed to be a joke.

  150. Re:Can someone explain how to write games in qbasi by CableModemSniper · · Score: 1

    man SCREEN. Actually that doesn't work, but look up the SCREEN command. And the CIRCLE command and the LINE command. and PUT and GET for serious stuff. ah sweet sweet BASIC.

    --
    Why not fork?
  151. best QB book I used by KingPrad · · Score: 1
    I think Qbasic by Example was the best I ever used. It's a large book and was fairly expensive for a young boy at the time, but it had tons of examples in it and was a lot of fun to play with. A very good reference book.

    There is something to the people who will say "QBasic is old, learn java (or python or C++ or whatever)" because there are a lot of really nice scripting languages out now. I myself have fallen in love with Python after coming from QBasic and disliking C and C++. I'm still glad I learned on QBasic, despite the disparaging and snobby comments by people about it. You could put together neat programs quickly and easily with few bugs. Python and Ruby are like that today but infinitely faster, more powerful, and up to date.

    Have fun with QB if you decide to go that way and then move onto something more modern. Definitely get Qbasic by Example

    --
    Stop the Slashdot Effect! Don't read the articles!
  152. Please don't do this by Arker · · Score: 1

    Really, don't ever do this.

    There is no way more certain to cripple a budding programmers capability than to get them involved with BASIC in any of its variants. It's evil, brain damage inducing stuff.

    There are plenty of good languages for beginners that won't rot their minds. Delphi. Python. Smalltalk. Just please, please, please, no BASIC.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
    1. Re:Please don't do this by eatdave13 · · Score: 1

      Damn right. I first learned QBasic, then I went on to QuickBasic, then Visual Basic.

      *shudder*

      It took me 3 tries and about 9 months to learn C++. I'm OK now, but even looking at Basic now gives me the creeps.

      --
      "Verbing weirds language." -- Calvin
  153. No you're not by rve · · Score: 1

    If a business had to hire a programmer or two to write/maintain their software, it would cost them at least twice as much per year in wages alone.

  154. it was my first language... by Anonymous Coward · · Score: 0

    Or at least what got me into programming - they taught it in my "Computer Applications" class. Simple, yes, ugly, maybe, but it did the trick.

  155. Re:Check Euphoria by Anonymous Coward · · Score: 0

    Hi, Just say no to complex programming languages!! use Euphoria!! check its webpage: Euphoria

  156. About this post by emeraldWEAPON18 · · Score: 1

    Did this post get lost in the Slashdot bin and it has finally somehow showed up numerous years later?!?

  157. Get 4.5 by Forkenhoppen · · Score: 3, Interesting

    If you get QuickBasic 4.5, it comes with a reference book. This book kicks mucho ass. Any other book on QBasic or QuickBasic is simply redundant, because that reference book had anything and everything you ever needed or wanted to know about the language.

    And it's a good read. I remember a track meet I went to in elementary school, where I spent at least half the time reading that book..

    Incidentally, QuickBasic 4.5 has amazing online documentation. Anything and everything about the language is documented in there. Very useful.

    If I were you, I'd go looking around for a used copy of QuickBasic 4.5, and make sure you get the ref manual with it. It's definitely a worthwhile investment, for someone who's just learning, and for anyone who wants to actually do something with QuickBasic.

    For those of you who are wondering "why the heck would he choose qbasic," let me just say this in qbasic's defense. It really is still the best language out there for the average beginning programmer. QBasic's included with all the early Microsoft OSes, so it's on all the old hand-me-downs from yesterday. And it's fun.

    I'll always have a soft spot in my heart for QB. I've used Borland Pascal, which was amazing, but flawed in it's graphics. (BGI was a pain in the ass; everybody wrote their own graphics lib instead.) By comparison, QB's elegant..

    SCREEN 13
    CIRCLE 100, 100, 50, 3 ..was so much closer to the metal.

    Ah, QB.. *sigh*... You were the perfect language, at the time..

    1. Re:Get 4.5 by Sigma+7 · · Score: 1
      (BGI was a pain in the ass; everybody wrote their own graphics lib instead.)


      Aside from the fact that you needed a seperate BGI driver for each video card mode (VESA wasn't included and had to be found seperatly), what was wrong with BGI? I admit that it was a bit difficult at first, but I never encountered any problems caused by a lack of understanding nor found it excessivly hard to use.

      I only written my own personal graphics library because the programming book that I was using preferred the Microsoft C compiter and created a graphics library of its own. (I might also add that there were flaws in the book as well - used processor cycle delays instead of real-time delays. This caused some demos to render at 1 Frame Per Minute.)

      Besides, the complexity of BGI is neglegable compared to programming a Windows application in C. Trust me on this one - I've used both.
    2. Re:Get 4.5 by duffbeer · · Score: 1

      Ahh, and it was such a step up from the C64 basic that I cut my teeth on.

      I PEEK you! I POKE you! Move sprite, move!

      But the programming manual was the best. Great form factor, huge spiral so it would lay open. And unlike every LOC for C64 ever, it was NOT IN ALL CAPS.

      --
      "This wound is beyond my ability to heal. We need Elvis medicine!"
    3. Re:Get 4.5 by eastern · · Score: 1

      How nice Microsoft was before it grew up.

    4. Re:Get 4.5 by degerrit1 · · Score: 1

      Right on. Despite already being outdated by the time I bought it, the reference book included with QuickBasic 4.5 is wonderful and easy to read. If you're shelling out money on BASIC you might as well buy this.
      No regrets.

      Well, on the book anyway.
      I bought QuickBasic to compile and finish writing a Qbasic program I had been writing to keep track of football statistics. By the time the program was done, it was so big it wouldn't compile! The only way to run it was inside QuickBasic, although I later 'ported' it back to QBasic because that was much more common. Pretty daft. I still wonder if there is some way to compile that program... actually I wonder if I still have the source somewhere.

    5. Re:Get 4.5 by Old+Wolf · · Score: 1

      The earlier MS OS's had things like BASICA, BASICJA, and then a bit later, GWBASIC.
      QBASIC came with the later range of pre-Win95 DOS releases.

    6. Re:Get 4.5 by Forkenhoppen · · Score: 1

      True, but I seriously doubt you're going to see a hand-me-down computer, at this day in age, with anything less than MS-DOS 5.0 installed on it.

  158. thats cuz CDROMS didn't exist. by SQLz · · Score: 1

    When people were coding qbasic, the CDROM did not exist. They are just trying to give you a more accurate feel for the language.

  159. Re:Can someone explain how to write games in qbasi by asscroft · · Score: 1

    wow! thanks for all the responses. sweet. gonna do some Basic this weekend. (god, did I just say that?). thanks again.

    --
    because I have been enjoined by this Holy Office to abandon the false opinion which maintains that the Sun is the centre
  160. Re:The inevitable Dijkstra quote... Sigh... by Kernel+Corndog · · Score: 1

    This quote originally appeared in "Selected Writings on Computing: A Personal Perspective" circa 1982 I believe.

    While I haven't read this whole paper and can't say absolutely for sure what the context was, I can conjecture he didn't like the control structure of the language. Dijkstra is pretty well known for his stance on how GOTO statements are very bad. I'm not sure how many programming languages he approved of but I know COBOL and BASIC were 2 that he abhorred and Lisp was probably in the top favored.

    I would definitely choose Lisp over Basic anyday, along with most of the other recently popular half-reimplementations of Lisp. Likewise I would choose a time honored and proven good programming book like _Structure and Interpretation of Computer Programs_ over the one being reviewed.

  161. survey says...XXX your wrong. by SQLz · · Score: 1

    what about? Perl: print $a+$b; PHP: print $a+$b; C printf("%i",a+b); Those don't look too tough to me.

  162. QBASIC? by Javagator · · Score: 1

    If you are new to programming I would recommend using Java (for free) or C# (about a hundred bucks but with a dream IDE). Either of these languages will easy the path to more manly languages, such as C++ later.

  163. QBASIC: good for the programmer's thought process by Anonymous Coward · · Score: 0

    when i started programming, the only language i had available was ROM BASIC on an 8088 PC...i moved from there to GW and there to QBASIC, i believe i was about 11 or 12 at the time. while QBASIC satisfied my needs for those few years - programming games and PC speaker keyboards, i quickly realized i needed to learn a new language...and i did - C. all i can say is that QBASIC is so dissimilar to any other language out there, that it made it more difficult to learn C, which was a much better starting point from which i learned pascal, perl, java, etc.

    i think the best thing about QBASIC is that it gets you to think in a programming state of mind - you know, loops, arrays, and whatnot...so it helps you learn to think and solve problems programmatically...and it makes it easy in the process. but don't grow too fond of the syntax, because there isn't much else like it out there.

    and finally, it doesn't matter what language you start on, the important thing is that you start at all...as you learn more, you'll learn what languages are best for what jobs and if need be, you can learn them as you go along. everyone's gotta start somewhere. just be glad you have a hard drive to save your progs to (*cough* ROM BASIC with 2 low density 5 1/4s *cough*).

  164. Re:printf what? by __past__ · · Score: 1
    Indeed. That's why, at some point, all sane programmers end up using the unmatched power of Common Lisp.

    (PROG ()
    10 (PRINT "HELLO")
    20 (GO 10))

  165. Dummies books about Ninnle are redundant by Anonymous Coward · · Score: 0

    I know that many people are waiting for the appearance of Ninnle Linux for Dummies. Sadly, this will never happen...because it's redundant. Ninnle is already so intuitive that a manual or guide simply is not needed. Hell, the last release of Ninnle had already dumped the man pages!

  166. Engineers paradise more like. by sg_oneill · · Score: 2, Funny

    It most certainly is not redundant.

    One line.........

    10 OPEN "COM1:" as #1

    explains it all. For RS232 work, QBASIC is gold standard for me.... For exerything else.. Forth baby!!!!

    --
    Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
  167. Lazy people should be discouraged by offline · · Score: 1

    I know it's commonly held that people are all equal, etc... But i'd like to weigh in on the idea that lazy people should be encouraged to program. In fact, i'd like to weigh in on it so heavily that the idea is crushed to the ground, never to be restored. Frankly, the idea that lazy people should have their hands held through a programming book is one of the reasons MCSE's are swarming over the land like a plague of locusts.

    What the computer science and IT worlds need isn't more programmers, it's a stricter filtering of the lazy ones. Lazy coders leave in buffer overflows and fail to check for vulnerabilities in their code, thereby leaving us the mess we presently have in the computer software world today.

    So, no. Code examples, while not necessarily a bad thing, are not mandatory for a good book.

    So there.

    --

    C
    --
    Democracy would work just fine if people weren't so goddamned stupid.

  168. Don't make a MMORPG in 1993 with Qbasic by CrazyJim0 · · Score: 1

    I tried it

    The problem was that back then, Qbasic didn't support window sockets, or I woulda pulled it off.

  169. Returning Parameters by Jennifer+E.+Elaan · · Score: 1

    Just pass parameters by reference. You can then modify the parameter from inside the function. It's been a long while since I wrote in that language though.

  170. Re: but, but, but... by op51n · · Score: 1

    It doesn't make it any less easy to learn to do!

  171. Porting Qbasic to C/C++ is trivial by CrazyJim0 · · Score: 1

    I did it with sick amounts of code... Even had to deal with converting 16bit integers to 32 :P

    Irony that I just put this page up today

    Also my game is called Intergalactic Bounty Hunter, and it seems a company at E3 is releasing one under the same name. I'm not the kind of guy that sues though.

  172. Re:printf what? by TheAncientHacker · · Score: 1

    Or the ever elegant APL

    'HELLO WORLD'

  173. heh heh heh...but seriously... by WebCowboy · · Score: 1

    In my experience, only a (surprisingly small) minority of clients care at all about what programming language was used to implement their systems.

    When they do, it has absoluely NOTHING to do with the merits of the language. The ONLY reason I've ever been given when a certain language was a part of the project requirements was because that is what their in-house staff knew and they wanted the option to be able to maintain/change/debug the application themselves. The fact that I was required to use VB 5 (with MS Access 95 files as the back end!) to develop a relatively complicated multi-user, networked client-server system at one time underscores that point.

    The system in question may have had a humble beginning in 1990 as a Quick BASIC app that fit a specific niche very well. If it still works well in a DOS console window I'm guessing the customer doesn't want your company to wipe the slate clean and subject them to all new, untested and quite probably much less stable code than they currently have.

    I remember those simpler times--DOS 3.3 or 5 and apps you installed simply by copying a single .COM or .EXE file (or at most a single directory of a few files). They were easy to maintain and NEVER suffered catastrophic failures like Windows has been known to do. The system requirements to run the app are likely modest to the extreme (ie. your clients can use those 386s until they turn to dust).

    I'm betting it's the most reliable application any of your clients have, and as such they would gladly give their left nuts for it over the typical glitchy fare foisted upon them from other vendors. Unfortunately for them, they are doomed to become victims of obsolescense when they must run the app on a new version of Windows that no longer offers DOS compatibility. I'd recommend you push your employer to start porting to VB 6 now (the most modern option that offers the least disruption of source code that I can think of--VB6 swallows a surprising amount old BASIC code--line numbers and all!). When the time comes that DOS code wont run anymore that'll buy you a few more years of usefulness.

    FYI--Windows NT, 2k and XP are no more compatible with DOS than Linux is. Those OSes have an integrated DOS/Win16 emulator akin to 'dosemu' in Linux. When you run an old DOS or Win 3.x program you aren't really executing it directly--Windows detected the 16-bit EXE and transparently launches the WOWEXEC.EXE DOS emulator to run it (AKA the "Windows on Windows" execution subsystem or some such thing). I'm sure most /.ers know this but some long-time casual MS users think I'm feeeding them a line of crap...

    1. Re:heh heh heh...but seriously... by cr@ckwhore · · Score: 1

      In my experience, only a (surprisingly small) minority of clients care at all about what programming language was used to implement their systems.

      Usually that true, except when the application is barely able to run on any reasonably modern system because support for the language/platform was dropped many years ago.

      --
      Skiers and Riders -- http://www.snowjournal.com
  174. Wait a minute... by Kadagan+AU · · Score: 1

    I'm confused. You seem to contradict yourself quite often. First off you say
    I'm new to the world of programming
    And then you follow it up with
    I've read countless books and online tutorials on QBASIC, C++, PHP, and other various languages
    Now something doesn't seem to add up here.... Either you spend WAY too much time reading programming books, but never actually *use* that knowledge, or one of the statements isn't really true. You also say
    So, what good can I say about the book? Not much
    And you closely follow that with
    [...]it can be useful to experienced programmers [snip]. It goes deeply into data structures, arrays, and databases. There are many helpful features[...]
    Something seems strange here... You're talking yourself in circles... Are you a politician?

    --
    This space for rent, inquire within.
  175. Re:printf what? by TheAncientHacker · · Score: 1

    Compared with the arcane C

    #include

    main()
    {
    printf ("HELLO WORLD\n");
    }

  176. Old review, but stirs up some nostalgia by antis0c · · Score: 3, Interesting

    QBASIC was my very first introduction into programming. So long ago, I was on my 286 with MSDOS 5. Couldn't do a whole lot with my computer, it was purchased like so many computers with the intent by my parents to type homework for school, and a hidden agenda to play games for myself.

    Of course, I wasn't playing a whole lot of cool games on my 286 with a 10 meg harddrive, and 1 meg of RAM. So I just played around with MSDOS, tried to figure out how it worked, how programs worked. I started just editing .exe files, wondering what the hell all that garbage meant. For the longest time I thought that there was some actual logic to t he garbage I could interprete and use. After a few weeks though, I learned about source code, compiling, etc. I started playing with QBASIC, but the bundled one with MSDOS 5 would only run the applications, not compile them to native bytecode. Wasn't long, I nabbed a copy of QuickBasic from a friend, and I was compiling little role playing games and other applications.

    I took a Pascal class in 9th grade, and quickly found my calling. Not 2 weeks into the class I was learning how to write x86 assembly using the asm { } calls in Pascal, and inline() code as well. I had cool text fading effects and smooth scrolling, etc. And no, I wasn't learning it from the teacher, they were still on println, I was learning a good bit on my own. Turbo Pascal 7 had a pretty decent help system. I used Pascal quite a bit, especially in the BBS scene, as it was the programming language of choice for BBS software and doors, Telegard, Renegade, Iniquity, Oblivion/2, TriBBS, all written in Pascal. By this time I had moved from MSDOS 5 to OS/2 Warp 3. I was running a telnet BBS software using some of dink's software to create the TCPIP->Fossil emulation. Those were fun times, before the dot coms were stealing money from investors and before we had big government enacting foolish laws.

    I then came across Linux. It was a 1.x version, one of the early Red Hat distributions. Just like today, it was crap. I quickly picked up the SAMs (or maybe QUE) Slackware book that had a CD of the distro on it. I found myself a platform I could start learning C on. Once I got into Linux, a whole new world opened. C, shell scripting, Perl, eventually PHP, I started into Java, and so on and so forth. And the learning never stops. Good times, good times.. Now I have to worry if something I program will be used by terrorists and I'm going to end up in jail for "aiding" terrorists, facilitating the spread of MP3s, or other Copyrighted programs. I miss those days.

    --

    ..There's a-dooin's a-transpirin'
    1. Re:Old review, but stirs up some nostalgia by Anonymous Coward · · Score: 0

      "I then came across Linux. It was a 1.x version, one of the early Red Hat distributions. Just like today, it was crap. I quickly picked up the SAMs (or maybe QUE) Slackware book that had a CD of the distro on it. I found myself a platform I could start learning C on. Once I got into Linux, a whole new world opened. C, shell scripting, Perl, eventually PHP, I started into Java, and so on and so forth. And the learning never stops. Good times, good times.. Now I have to worry if something I program will be used by terrorists and I'm going to end up in jail for "aiding" terrorists, facilitating the spread of MP3s, or other Copyrighted programs. I miss those days."

      Oh, grow up. Do you think it was necessary to pull in a reference to Ashcroft-tyranny in the autobiography of your so-called "personal technical development", one which, quite frankly, wasn't very interesting?

  177. Other BASICs by Anonymous Coward · · Score: 0

    Quite frankly, I suspect that if your needs are sufficiently constrained some BASIC dialects would lead very rapid development of code/applications. It's one possible tool that may be useful. Though languages such as Python are often suggested as a good starting place, it really becomes difficult to ship a simple single binary to friends. A balance must be struck between power and logic of a language with the interface to the everyday user....Well, something like that.

    A few BASICs that I keep an eye on include,

    BCX (BASIC to C translator)
    BlitzBasic
    PureBasic

    Then there are products like,

    IBASICs making inroads...

    A more established (and overpriced) BASIC can be found in PowerBASIC.

    I don't actually programme in BASIC but it's an interesting distraction. I fully expect that time provided I will take advantage of one of the above languages in the future. It's less hassle than maintaining a C/C++ installation plus a whack of libraries.

  178. Timothy needs to visit BN.com by Treebeard+the+Ent · · Score: 1

    You can purchase the QBASIC Programming for Dummies from bn.com.Amazon.com.

    BTW. Why is Slashdot posting book reviews for out of print books... Wait for a re-release

    --
    Never argue with an idiot. They will just bring you down to their level and beat you with experience.
    1. Re:Timothy needs to visit BN.com by Treebeard+the+Ent · · Score: 1

      Slashdot truncated half of my post...

      It was supposed to say:

      You can purchase the QBASIC Programming for Dummies from bn.com.

      You cannot purchase this from BN.com. It clearly says that it is not available. And the same goes for Amazon.com.

      However you can purchase 1 used copy, but you're not really buying it from BN.com

      --
      Never argue with an idiot. They will just bring you down to their level and beat you with experience.
  179. Um, correction... by Jennifer+E.+Elaan · · Score: 1
    Do you mean function return values? Use FUNCTION instead of SUB.

    Back in the day I even learned how to do OOP in QBasic.

    1. Re:Um, correction... by clintp · · Score: 1

      Functions can return one value, subs don't return a value at all.

      If you want to return *multiple* values from a function, you have to use the pass-by-reference capability and have the function modify its arguments.

      As a style thing, I use functions when I want to return one parameter and subs if I'm going to modify several variables. That way a function that modifies it's caller's values doesn't surprise me, nor do I have to decide which of the return values the function should actually return, and which it should modify through it's arguments.

      If people want to write bad code with lots of globals they can do that in any language.

      --
      Get off my lawn.
  180. Java as starting point by fizbin · · Score: 1

    Are you serious? When I think "programming newbie", I think of someone who is having difficulty realizing that instructions are executed sequentially, one after the other, and that a variable's value will disappear if you overwrite it.[*] I remember getting very frustrated trying to explain to one of my college roommates how the value of a variable could change over time. (The model of a variable as a box that holds a value, and not merely a placeholder for a value, is not always as easy to explain as you might think; he was a bit confused that "a := a + 1" didn't cause an infinite loop)

    And you want to burden these people with a java environment? With a language that doesn't even have an interactive toplevel?

    The read-eval loop that my first basic (on the TI/99 4A) started up with was something I never really appreciated until I watched someone else trying to learn to program purely through writing programs and compiling them. The mind really needs to have a chance to use and experiment with a concept to get it to sink in. For the fundamental concepts behind most programming languages, I really feel that this mandates an interactive toplevel; this is something no java environment I've ever seen offers. (As an aside: is there a nice beanshell plugin for Eclipse?)

    This applies both to those learning to program on their own and to those learning as part of a formal class. Trying to learn the basics of programming without an interactive toplevel is a bit like trying to learn how to drive without ever walking first - you'd get so caught up in shifting gears and pushing pedals that you'd never get to figure out basic concepts like not getting lost when you can't see the house anymore.

    [*] Yeah, yeah, some languages have control flow that doesn't follow this model, but I've never heard any of those proposed as first computer languages either. (Though I do think that my roommate might have done better starting out in Haskell than Pascal)

    1. Re:Java as starting point by blowhole · · Score: 1

      Hmm, you bring up an interesting point about the need for an interactive toplevel. On the one hand I can see how it might be useful for tackling syntax-related issues. But for anything else, what's the point? How useful is it for teaching anything more than how the PRINT statement works? Or that LET A = A + 1 will increment the variable? These are all things that you can explain in minutes to anyone with enough natural talent to competently grasp programming concepts. Your college roommate seems not to match that description (no disrespect, some people just aren't good programmers).

      I guess I never really programmed in an environment with an ITL (unless you count the Immediate window in QBASIC). In fact I don't think I really was exposed to one until we wrote a meta-circular evaluator for Scheme my first semester at university. Oh wait, I think we did a little bit of LOGO in elementary school. That's the thing with the turtle, right? I admit that in the third grade I would not have been able to make the turtle draw a box without an ITL... :)

      I think a naturally talented programming newbie will have no problem learning on Java. Let them have fun in main() for a while, then turn up the heat and get to the real stuff.

      But let me reiterate that I don't think anyone can learn Java on their own as a newbie!

      --
      "Ask me about Loom"
  181. I am so impressed! by Anonymous Coward · · Score: 0
    A slashdot book review that (a) wasn't written by the author of the book or a "friend" of the author and (b) actually didn't like the book.

    See, in book reviews, that's what I really want. I don't want fucknuts who read the back of the cover, and the table of contents, and flip through the book looking for cool pictures, then say "this is a good resource". I want people who can say "Do not buy this book, it sucks".

    Mind you, I have no interest in qbasic, but maybe this will spark a new era in truthfullness.

    Thank you.

  182. Python is Garbage for Programming.. by Anonymous Coward · · Score: 0

    Python is fine for scripting, but its constrained syntax was enough to turn me off. I've learned all the following languages: Assembly, C, C++, Java, VB, SAS, and JCL (HTML is not a language, inspite of the acronym).

    Python forces a particular structure and is so damn narrow in so many senses. Pascal uses characters in very nonstandard ways and is, too wordy. It's too out of touch. Pascal compilers like Borland's--especially Delphi/Kylix--are very technically compitent. They compile tight and fast like C/C++ and their object componants are highly versatile, but that UGLY syntax just drives me nuts.

    BASIC does not compile tightly and has never been acused on being fast (Python is also quite slow). But BASIC is a context dependent language which makes it far more natural a grammar for humans ot use. BASIC is very well suited for high-level programming such as end-user business applications.

    JAVA lacks in many useful features of C++, such as the ability to break objects where they logically make sense, resulting in much smaller and faster applications. However, JAVA does clean up lots of the little gotcha's on C++ that makes programming and debugging faster and easier. The Boost library to C++ (soon to be the next standard) largely corrects this deficiency, among others.

    C has all kinds of little problems by itself--particularly in terms of security. However, people find it so much easier to get used to than C++. C++ strongly suggests a top-down design approach to writing software and most coders really feel a lot more comfortable with procedural formats....such as first do this, then do that, etc.. from the bottom up.

    PERL is much faster than Python and is an exceptionally rich language. Nothing matches it in terms of what it supports and ways in which to do things. But PERL is very hard to debug or read. It's easy to accidentally create bugs because such minute little things can change the meaning of what you are writing.

    I really think C++ with Boost should be a systems language and BASIC should be the applications language. Other languages like SAS are best for things like data processing and/or statistical work. But the subsets of the languages that make these things possible are very small and could easily be added into a language like BASIC.

    Particularly--no language currently available seems to properly address the area of data processing. PERL is exceptionally powerful, SAS is *more* practical at it, but both make the tasks overly complex.

    Matthew (matthew@tedder.com)

    1. Re:Python is Garbage for Programming.. by ae · · Score: 1
      HTML is not a language, inspite of the acronym.

      It's a language alright, just not a programming language. It's a markup language.

      --
      Blog Ho
    2. Re:Python is Garbage for Programming.. by gfranken · · Score: 1

      Ruby has much of the power of Perl without the syntactical obfuscation.

    3. Re:Python is Garbage for Programming.. by jericho4.0 · · Score: 1

      I think, Mr. AC, that pythons 'constrained syntax' is exactly what makes it a great first language. There might be 'more than one way to do it' in many other languages, but when your learning to code, you don't need all that confusion.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    4. Re:Python is Garbage for Programming.. by Anonymous Coward · · Score: 0
      Yup. I spent a while looking for a new language to jump to for when C is too big a stick to hit something with, and I eventually ended up with only a few choices, Perl and Ruby being my two top runners. What made Ruby so cool to learn was the availability of a complete definition of the standard classes that comes with Ruby via a very helpful community. I personally believe that Ruby would be better off forcing a strict syntax like Javascript's, to compete with Perl's /print uc reverse "This is a goat";/ and other assorted ways to make life really complicated. I also tend to dislike indented languages, so I was suprised that I liked using Ruby.

      That said, I use Perl more often than Ruby when I need to do something because of CPAN.

      Also, for reference, these are the languages I looked at, and why I didn't land on them in my language search:
      • Ocaml: The syntax is butt-ugly, and it seems arbitrarily difficult to do things that should be easy. Any intuition gained from C-like languages will be useless here.
      • Python: I hate looking at/typing indented languages.
      • Ada: I haven't found easy documentation on how to install gcc 2.81 then patch gnat into it on a system with another gcc version. I haven't yet gained the 31337 ski11z to know what I might break during this process, and since Ada is an indented language with syntax I really don't like, I wasn't motivated to pursue it. I understand, however, that Ada has some superb features that make it better than C for applications that can't ever crash and comparable running times. I'll probably eventually get gnat installed and learn Ada.
      • Java: It runs too slow. I know Java already, but I never use it for anything. Everytime I sit down to do something in Java, I feel like I'm throwing away my time. Also, the standard library is far, far too bloated, and digging through the ancestry of some classes is a royal pain in the ass.
      • C++: It's a lot like C, but with more bullshit. If I need a low-level language, I can use C. If I need a high-level language, I can use Perl or Ruby. I've learned some C++ too, and that quote that C++ is "an octopus made by nailing extra legs onto a dog" seems very true.
      • Lisp: Again, I dislike the syntax. Too many parenthesis. Also again, I understand that Lisp has some nice features that make it very useful.
      One resource I used during my research was the language shootout here.
  183. If it does the job... by KalvinB · · Score: 1

    Why not use it?

    Ben

  184. Do NOT learn C++ by beldraen · · Score: 1
    From a person who has actually WORKED in the industry for twenty years, let me make a few points. As far as the industry is concerned, a language the achieves the desired goals in the easiest format wins. There is a reason why financial institutions run on Cobol: C++ doesn't not have jack to Cobol's built in indexing system for files. Data processing is lightning fast for minuplation of data. PL/I is still in use because of its clean procedural style and manipulation of memory without error prone coded type casting. I am absolutedly amazed that anyone would seriously consider programming a GUI C++. The framework required just to get an application running is idiotic. Finally, the attitude that "programmers absolutely have to know how to work with memory" is the Unix mentality that has held on strong for decades. The simple truth is that direct memory management is NOT necessary for 99% applications and when it is it can always be abstracted away into a procedure/object. I have personally written tools that allowed junior programmers to program things way beyond their design abilities because instead of taking the attitude that they had better learn how to do things, I abstrated the system for them. I then made a simple framework and explained what was needed to get it to work, but NOT how it worked. They produced a lot of useful code.

    Finally, VisualBASIC is a wonderful language that is designed for building applications, not tweeking every bit of code. I have done high-performance databases, TCP/IP software, etc in HOURS. The excellent aspect of VB is that you abstract to events and can test is piece as needed. Before anyone says, "but VB doesn't have pointers! I need pointers!" The answer is: it most certainly DOES have them, but the whole system is hidden in handles, the way it should be. There is absoluted ZERO reason to use a pointer directly with an offset in an application. I gave up pointers years ago when figured out that 99% of bugs come from them. I use the language's built-in features for resolving structures and my software doesn't crash..

    BASIC is the best place to start with programing because you can introduce basic features of all languages. The trick is that you have to have a firm hand on teaching good programming practice. The most amusing thing is that code programming practice is the furthest thing from C/C++ programmers minds. All they care about is "look, I can do that on ONE LINE, though.."

    --
    Bel, the mostly sane.. "Of course I can't see anything! I'm standing on the shoulders of idiots." -- Me
    1. Re:Do NOT learn C++ by Arandir · · Score: 1

      Finally, the attitude that "programmers absolutely have to know how to work with memory" is the Unix mentality that has held on strong for decades.

      An electronics engineer needs to know about resistance, capacitance, inductance and all the other nasty low level. So why shouldn't a software engineer not need to know about memory?

      A systems administrator doesn't need to know about memory in order to write a shell script to generate login stats. A web "programmer" doesn't need to know about memory in order to shove some stuff through xslt. But I expect a software developer to know as much about how the software works as an automotive technician knows how my ignition system works.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    2. Re:Do NOT learn C++ by asscroft · · Score: 1

      I learned basic, then messed around with perl-sorta, then VB6, then other scripting languages like vbs and cold fusion, then C, then C++. It wasn't until I took C that everything else I had learned finally started to make sense. Learning C improved by visual basic by a million times, because I now knew what it was doing behind the scenes. Learning VB first is a good way to get simple apps built, but a really bad way to gain any understanding of Computer Science. Truth is C isn't that hard to learn, and it makes VB a lot easier. Also, doing anything useful without some knowledge of data structures is difficult. All I learned in VB class was arrays. I took Data Structures and learned about trees and linked lists and queues and stacks and then with the knowledge of how to do all that in C, I went and figured out how to fake it in VB. Now I was able to do lots of good stuff in VB. I suppose somoene will write back saying VB.Net is truly just as powerful as C++ in the new .Net framework. I haven't tried, but it sounds nice.

      --
      because I have been enjoined by this Holy Office to abandon the false opinion which maintains that the Sun is the centre
    3. Re:Do NOT learn C++ by Jonner · · Score: 1

      QBASIC may be OK to start with, but I wouldn't wish a traditional BASIC, like GWBASIC on anyone. I shudder when I remember the spaghetti I wrote using IFs and GOTOs. I had been programming for fun for several years in GWBASIC and Epson BASIC (on an ancient CPM-80 laptop) when I discovered Pascal.

      As soon as I grasped the concepts of structured programming (Pascal's forté) I was immediately disgusted with BASIC's lack of control structures. It didn't even have functions or local variables of any kind. Despite being a higher level, "safe" language, it was much more primitive than C.

      When I looked at some QBASIC code a few years later, I realized it was a very different beast from its forbears. It has control structures and functions.

    4. Re:Do NOT learn C++ by Anonymous Coward · · Score: 0

      "..instead of taking the attitude that they had better learn how to do things, I abstrated the system for them. I then made a simple framework and explained what was needed to get it to work, but NOT how it worked. They produced a lot of useful code."

      Ah, so you're not only an idiot, you're a smug idiot looking out for job security. I respect that. No, not your idiocy, but your cutthroat attitude in ensuring that management won't fire you and promote one of your minions at three quarters of your salary. ;)

      "I have done high-performance databases, TCP/IP software, etc in HOURS."

      TCP/IP? 'HOURS'? Funny, doesn't take me that long with good ol' C.

      As for high-performance databases, stop giving yourself airs. Embedding a bit of SQL isn't the same as creating a 'high-performance database' - and if anyone believes this guy actually created actual database software using Visual Basic, I've got one that was written in Perl that's even better. As long as you have Intel's new Unobtanium V 5 THz processor. ;P

      "There is absoluted ZERO reason to use a pointer directly with an offset in an application. I gave up pointers years ago when figured out that 99% of bugs come from them. I use the language's built-in features for resolving structures and my software doesn't crash.."

      Oh, I agree there. Pointers cause crashes all the time. Or, at least they did, ten years ago, when I was learning C. Pointers are a very simple concept; if you can't figure them out, I'd say it's time for a new profession.

      "BASIC is the best place to start with programing because you can introduce basic features of all languages."

      So.. Instead of teaching them the basic features of all languages in a language that they'll actually use, you'll make them jump through additional hoops. I hope you aren't responsible for any user friendliness work.

      "The most amusing thing is that code programming practice is the furthest thing from C/C++ programmers minds. All they care about is "look, I can do that on ONE LINE, though..""

      The most amusing thing about people like you is that they think their tens of lines of code are better than a single line.

      The more lines of code you write, the more bugs will slip through your fingers, Vader.

    5. Re:Do NOT learn C++ by beldraen · · Score: 1

      I've got news for you: not everyone wants or can be the expert programmer. I used to argue "if people would just learn how to use pointers then everything would be fine." It doesn't work that way. You cannot dictate to people how much they are going to learn nor to management what others need to learn. Been there, done that, doesn't work. In a perfect world, we'd all learn the power tools and move along. In fact, it was because I expected people to learn simple things like pointers that decreased my job security. Management had the correct attitude, if the people do not want to train and you can find a way to make them as effective, then do it. It's smug people like you who think your doing people a favor by forcing them to work to the point of incompetence. "Pointers are a very simple concept; if you can't figure them out, I'd say it's time for a new profession." Screw you. I've got friends who are happy doing what they do and they'll never figure pointers out.

      I'm not going get into the sarcasm of database technology. It wasn't SQL, it ran a billion plus records and did reports across them in a hundredth of second, and no-- it did not make up results.

      You're damn right I think ten lines of code is better. It's DEBUGABLE and followable. Code is for humans, not computers. In all the software I have written, I've gotten the compliment that they can understand what I have written and what I was trying to do. It is the single line mentality that generates bugs; buffer overflows, stack faults, untraceable values, etc. We had this argument at work, FYI. So, we monitored the two camps for number of bugs that showed up. Our team's mantra was "White space is good!" Use all the comments, multiple lines you can. Never do more than one thing per line. At the end of three months of production work the error rate was over fifteen-times higher in "but we can do it efficiently all on one line" camp.

      Back to the point of the article, though. BASIC allows training and it is not the be-all and end-all. It is, however, an excellent place to start and to give people the opportunity to see many different things that they may come across. You, my friend, are an apologetic. Different people have different skills and to bluntly treat people all the same and then apologize that the system is just that complex and some people aren't going to get it is just wrong.

      --
      Bel, the mostly sane.. "Of course I can't see anything! I'm standing on the shoulders of idiots." -- Me
    6. Re:Do NOT learn C++ by blix5 · · Score: 1

      I agree -- VB is an excellent environment because it offers tremendous abstraction.

      For example, being able to pop up a message box on screen with just 1 line of code is ideal.
      Of course, knowing what's going on behind the scenes, and what API functions are really responsible for that message box is important.
      VB abstracts the Windows API, in the same manner that Visual C++ uses MFC to abstract the API.

      As for the pointers in C++, I can understand how they could be a serious roadblock to a newb to the language, but they really are useful. Try passing a large class/structure as an argument to a function, and you stand a pretty good chance of pissing off the stack.

      Most problems with the use of pointers come from the *misuse* of pointers.
      No offense intended, but I honestly don't know how any C/C++ developer can be employed if he/she doesn't have a firm grasp of pointers. That's kinda like a Network Admin not understanding the concept of tcp/udp ports.

      Finally, I agree with you that VBA (VB is the develoment environment; VBA is the actual language) is a great language to learn programming. No matter what language is suggested, someone is always going to oppose it. :P

    7. Re:Do NOT learn C++ by beldraen · · Score: 1
      I'm in the mood tonight to respond. FYI, I'm 30, I've long since graduated from programming to design, and no I did not make the numbers up. I'll leave you to understand how to cull since you've obviously would rather insult me than ask how it could possibly be done. I bet if you've bought a used car within the last five years you've even used the database without even knowing about it. We actually had to put in a timer that artificially shows retrieving information from the database taking five seconds because we got tired of people calling up and complaining that it wasn't possible to do reports that quickly. They should know! They ran FoxPro or MS Access! *Laugh* Interesting to note, on a side note, that Oracle 9 not too long ago released the technique in their system, but they've not really taken advantage of it, yet. I'm still waiting for the click of the light to turn on. Sometimes, my son, it is just as important in a system to what it is you *don't* do, as it is what you *do* do..

      But, if I'm going to be as melodramatic as you in return, then I'll have to say, "*sigh* Programmers.. when will they ever peek their heads up beyond their code and twinkies and their own little toys." You guys are so linear and fall so easily into single-loop learning. If you've not seen the technique before, it must be impossible if you cannot immediately see how it could work. It's attitudes like that gets the computer industry in a mess.

      Oh, and yes, the code is for humans. If you ever graduate to design you'll understand the importance of true power in the real world--the ability to make others be more productive. With your logic it should be a requirement to understand all material science of a car in order to let a driver use one so they can make, replace or mend any part that could go wrong. The high-level concepts and completeness are the only main concern so that the few can enable the many. This is exactly why you don't have the foggiest clue *how* they chose the crumple zones on your car. A well designed functional design will always offset tweaking of coding. BASIC can teach all of those concepts without issue. But, if you knew design you would have realized that your CPU argument doesn't hold water because the issue is really how to handle the I/O bottleneck, which is asynchronous. So, your 1 CPU per record doesn't even work because you don't understand how buffering works-- it is possible to have a well below 1 CPU per record count rate, but I digress. Any company worth their salt will terminate you if no one but you can follow the code. But, given your references to school I'm guessing you're 22 and in school still (having just patted yourself on the back for using the wrong math). I'm actually back in school getting a business degree. Been there, done your job, and dealt with your kind. Rather flame than learn. I understand the mess the world is in it is because programmers think they can design and if it doesn't meet their criteria you blast instead of ask. Design is hard work and takes a great deal of effort and knowledge to balance competing criteria. But, my software doesn't crash, it doesn't explode, its lightning fast and is easily maintainable. Not by magic, but design. If you actually want to learn, pick up "The Inmates Are Running the Asylum."

      Reading your profile shows a profane attitude to the world. Personally, I think you've got a lot of anger problems you need to work on. Bringing up Microsoft only shows that like to troll. You have an irrational hatred you're trying to project onto me. Good luck, son.

      --
      Bel, the mostly sane.. "Of course I can't see anything! I'm standing on the shoulders of idiots." -- Me
    8. Re:Do NOT learn C++ by Jerk+City+Troll · · Score: 0, Flamebait

      FYI, I'm 30, I've long since graduated from programming to design, and no I did not make the numbers up.

      That's funny because you said you have 20 years of work experience in the industry. So you worked for 6 years illegally or you're John Carmack, but that's impossible since you hate low-level stuff.

      I'll leave you to understand how to cull since you've obviously would rather insult me than ask how it could possibly be done.

      Ah, but you said that you "ran" 1,000,000,000+ records in 1/100 seconds. I very generously gave your "run" 1 cycle per record... now you try to tack this on. Since you don't care how things work intenerally, you must assume that culling is a noop. It's not. Try agian. Perhaps you could explain to me in detail how this is done. Describe your algorithm. Give an analysis of its complexity. How do you overcome the bottlenecks? Desecribe what a "run" is on a reecord. I understand caching can be used to improve IO performance, but that has nothing to do with how fast the operation itself is performed. Whether or not you read from a buffer or a disk, any given operation will take n time. It's not as if a buffer makes something a noop! Care to lend us your insight?

      With your logic it should be a requirement to understand all material science of a car in order to let a driver use one so they can make, replace or mend any part that could go wrong.

      Uh, no. With my logic, it would be a requirement to understand material science to engineer a car. The user is analogous to the driver. I agree, the user need not know about how the computer works because they are not programming it.

      But, if you knew design you would have realized that your CPU argument doesn't hold water because the issue is really how to handle the I/O bottleneck, which is asynchronous. So, your 1 CPU per record doesn't even work because you don't understand how buffering works-- it is possible to have a well below 1 CPU per record count rate, but I digress.

      This makes no absolutely no sense and you failed to comprehend the argument. First of all, I said cycle, not record. There's a big difference. I never suggested 1billion CPUs were necessary to process 1billion records. Let me break this down and explain it to you again.

      Your claim: 1,000,000,000 records processed in 1/100 seconds.

      Let's assume 1 CPU cycle is required to process each record. For simplicity sake, we are not going to take into account any processor time required to read the records regardless of the source, memory, disk, or any other magic buffer. The reason we are disregarding this is becaue clearly, any operation to read data, regardless of its source, takes additional time. If you take IO into account, your claim is not even remotely possible. We will only concentrate on the actual "processing" of a record. Even the processing of the record is arbitrary in this argument. Any kind of practical record manipulation would likely involve many cycles. Incidentally, to examine a record to determine if it can be culled also requires some CPU time.

      Now, let's do some very complex math. 1,000,000,000 records at 1 CPU cycle per record in 1/100 seconds would require a CPU to perform 1,000,000,000 * 100 cycles per second. That would be 100,000,000,000 cycles per second, or 100GHz.

      If we take into account practical operations on records (involving many more cycles), reading them from disk and/or memory, the CPU would clearly have to execute far more instructions. I am still disregarding IO bottlenecks for your benefit. If it takes 1 CPU cycle to process and 1 CPU cycle to read, again assuming that IO takes zero time, then we now require a 200GHz processor. This is true even if the CPU is a specialized processor that performs the operation on each record and IO in 1 cycle each.

      Now if you had a cluster of 100 systems running our

  185. Is this a joke? by Kymermosst · · Score: 1

    Does anyone use QBASIC anymore? I didn't think M$ even provided it anymore.

    What's the point of learning an ancient, MS-DOS based language when one could be busy learning something useful like C or Java?

    --
    "Alcohol, Tobacco, Firearms, and Explosives" should be a convenience store, not a government agency.
  186. Re:Can someone explain how to write games in qbasi by JerryKnight · · Score: 1

    As sarcastic as the comments might have been, they are right. The first big thing to do was SCREEN 12 for 640x480x16 or SCREEN 13 for 320x240x256, unless you use a SVGA library for QB4.5. Actually 4.5 was the best for games unless you did all kinds of weird hacks like in Gorilla.bas or Nibbles.bas. Most of my games were in 4.5.

    If you are serious for nostalgia's sake or whatever, I still have my zip of qb4.5 as well as some progs I wrote in those days, such as my asteroids clone (~500 lines) and lunar lander (~250 lines).

    Ah, the memories.

    --

    Catapultam habeo. Nisi omnem pecuniam tuam mihi dabis, ad tuum caput saxum immane mittam.
  187. QBasic? by talks_to_birds · · Score: 1
    QBasic?

    My last exposure to QBasic was in about 1996 or 1997, teaching a programming class to fourth graders.

    Is today April 1?

    Is this guy serious?

    t_t_b

    --
    I'm on PJ's "enemies" list! Are you?
  188. QBASIC by Anonymous Coward · · Score: 0

    I used to use that to turn the DOS screen blue on my old 286. Those were the days.

  189. What a strange review... by raytracer · · Score: 1

    It begins..

    I'm new to the world of programming, and, having had luck with the Dummies series before, thought this the best place to start off.
    and continues...
    I've read countless books and online tutorials on QBASIC, C++, PHP, and other various languages.

    These two statements aren't precisely contradictory, but they do seem to be statements that imply opposite ends of the knowledge spectrum.

    Ultimately the review has little to say other than as a book for dummies, they seemed to have overestimated the skills and knowledge of at least one dummy. How useful this is as a review is questionable.

    I'll leave off the obvious joke about the missing Is in the title.

  190. books for dummies by butane_bob2003 · · Score: 1

    All of the 'for dummies' books are crap. They discourage thinking and are weak on detail. I guess that works for dummies though... Programming in general is not for dummies, if you are really a dummie and have an IQ of 10, dont quit your day job. You have a better chance at advancement as a dishwasher. There are enough dummies out there writing code as it is.

    --


    TallGreen CMS hosting
  191. Re:banana by BigFootApe · · Score: 1

    Great. Now you made me want to go play Rampage.

  192. editor is wordstar clone by Anonymous Coward · · Score: 0

    The qbasic and edit editors from DOS are a clone of WordStar, as was the editor that came with TurboPascal 3.0, and probably Delphi for that matter.

    One nice thing about unix is the ability to choose ones editor independantly from ones toolchain, shell, browser, email client, ... I wish this ability existed at all levels instead of being sprinkled here and there.

  193. QBASIC.... by bsdparasite · · Score: 1

    BASIC -- Beginner's All-purpose Symbolic Instruction Code.
    1. It's for beginners, please don't use it for anything beyond that.
    2. It's really all-purpose, so don't use it for high performance / interesting applications
    3. Symbolic -- you don't understand a word of it 10 days down the road
    4. Instruction Code -- A slightly evolved version of Assembly
    How is anyone even using this??

  194. First Languages by khdegraaf · · Score: 1
    Are to me somewhat in the same category as first loves. Unforgettable, exciting, nostalgic, something that clouds your perspective for life, as you compare each subsequent to your first and most exciting worlds of discovery. My first programming experience was all in Assembly language and I did it in my head and on paper, as I didn't have the money for anything else. My first crush was all in my head too. My second language was Basic, fooling around on TRS-80's at Radio Shack, and of course the fun excursion into Fortran at the local University where the input method was the trusty old punch deck. I won't elaborate too much on the parallel failed romance, but let's just say I was happy to move on. My favorite first languages were when I learned C and Lisp using the Software Toolwork's products for a Heathkit H-89 I built myself. That was truly an unforgettable experience, and what truly formed me for life. Learning both at once and exploring all of the possibilities was something just magical at 17. Regrettably, there was nothing parallel to that in my love life.

    Of course as a result of that, I used C and Lisp at college. Got a job at Microsoft working on QuickBasic when I graduated, and was one of two developers to create QBasic by tweaking QuickBasic 4.0, and crippling it so it was slower and wouldn't compete. I mostly worked on the editor and the UI at that time, and one of the purposes of QBasic was to replace the editor if called with QBasic /Edit (that is what Edit.com did). But inevitably, I still have a bit of a soft spot for QuickBasic and its descendent VB. I know it has flaws, and as a language, it isn't as fun or as powerful as C or Lisp, but it was fun, it was easy, and I was young. And that is a moment of joy and my past I won't let any ideology or philosophy take away from me.

  195. In the name of heaven by dapf73 · · Score: 1

    In the name of heaven, why would you like to learn Qbasic?! Isn'tthe sole thought a little morbid?

    --
    Quidquid latine dictum sit, altum viditur
  196. And GOTO? by Derkec · · Score: 1
    "I've noticed that the best way to capture a reader's attention (and explain the most) is to start off with PRINT, INPUT, IF...THEN and GOTO"


    What? Why would you be reccomending the teaching of Goto? Teach Sub routines or functions. They aren't much more complicated and get you closer to better programming. We've known that GOTO was a bad idea for over 25 years. Yikes!


    I don't want to hear about Knuth supporting GOTO. It was a specialized case and still questionable.

  197. Forgot the comma... by PetoskeyGuy · · Score: 2, Funny

    QBASIC, Programming for Dummies

  198. My Experience... by N473 · · Score: 1

    Actually, when as a kid I transistioned from BASICA (DOS 3.33) to QuickBASIC 4.5, that was when I started using SUBs and FUNCTIONs. I was able to reuse a lot of code and the layout of my programs made a lot more sence to my young mind. I already had the MS BASIC compiler for BASICA so it was a requirement for me that QB 4.5 had a compiler. I also loved the View Subs screen in QB as it let you quickly jump to what you were working on.

    As to learning it, I used the help file, it is pretty much everything you need. I also had the BASIC binder that came with DOS 2.11 to fall back on (remember how much documentation used to come with an OS?).

    Sincerly,
    N473, AKA BAS (already exceded my 2 posts for that acct :( )

    1. Re:My Experience... by kisrael · · Score: 1

      Oh yeah, come to think of it I did too (use functions etc in QBasic) I kind of get it mixed up, mostly I used BASIC on the Atari 8-bits and the C=64, the PC stuff came later for me.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
  199. I love you, man. by Anonymous Coward · · Score: 0

    That is so - so - so - nerdy and cool!

  200. QBASIC... by Anonymous Coward · · Score: 0

    "It is practically impossible to teach good programming style to students that have had prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration."
    -- Dijkstra

    Ripped from linux's fortune cookies :)

  201. Book good you stupid by SirLanse · · Score: 0

    It is butt holes like this that think coding is easy. How about rocket science for dummies? "Duh I cant understand it so it must be wrong" or Dilbert's "I dont know what you do so it must be easy" Just step away from the computer and hire a professional.

  202. Do yourself a HUGE favor by Chromodromic · · Score: 1

    Learning a first language is also learning a model by which to understand your machine. How the language handles memory, function declarations and calls, API calls--these are all ways of 'understanding' your system that will shape your view of languages and computers for quite a while, since this will be your first exposure to them.

    My dad brought home an IBM PC six months after they first came out. I'm 37 now and I've been programming ever since that time, BASIC being shipped with the system and therefore being the first environment I was able to lay my grubby hands on. BASIC taught me a lot, and within a few months I'd written my first program with which to generate characters, complete random names, for my D&D games. Yes, I know how amazingly geeky that makes me sound. So I'm a geek. Get over it.

    For all it taught me though, there were limits to where it could go. I think that still holds true today. And while it could be argued that rapid success is made possible through BASIC, I think that's also true for some other, much more modern, languages that are in wide use today and which contain all of the capabilities and ease-of-learning as BASIC, but which expand on that by being able to provide robust capabilities for the new programmer who may choose to go in any direction he/she wishes.

    I don't use Python very much, because I have so much invested elsewhere, but I can say that if I were to make an initial recommendation, or start over again with something now, that would probably be it.

    Virtues? Python is free, comes with command-line and GUI tools, and runs on a ton of platforms. It has powerful OOP capabilities if you're attracted to that or find you have use for it, but can also employ some basic features of FP languages (like Lisp or Haskell) and functional approaches if you want to try that. It's got a squeaky clean syntax, is easy to understand, has an interactive environment, and a load of libraries available to it. As far as learning it, if you can't find all the many, many uber-tons of free, well written materials available on the Web, then there are fine inexpensive books out on it. It's a solid performer than can run on the server, as an application platform, and, through SDL, can even be used to program some pretty impressive games.

    Crap, it even has a cool name, "PYTHON". And there's a great community, too.

    Drawbacks? Um ... Well ... I can't really think of any standalone drawbacks. If you want to distribute your programs you have to make sure the end user has the Python runtime. I don't even know if that's a drawback. By comparison, it falls short in places: It's not as fast as C++, it doesn't have CPAN or the raw string-handling or other neat capabilities of Perl, blah, blah. But this is minor.

    And this is coming from someone who rarely uses it. Like I said, it doesn't often come up for me. But I wouldn't mind a bit if it did. And if I were to learn programming all over again from scratch, and I didn't know what to choose or where to begin, I would hope someone would point me to Python.

    I know this doesn't completely relate to QBasic. But when I saw the title of the book I was surprised it was even still around ...

    Just my .02.

    --
    Chr0m0Dr0m!C
  203. Re:The inevitable Dijkstra quote... Sigh... by Jonner · · Score: 1

    I know exactly what Dijkstra meant, since I did learn BASIC first. I don't think I'm permanently damaged, but only because I realized the extremely bad programming style I'd developed as soon as I learned a decent language (Pascal).

    The problem with BASIC (not Q or Visual, but the traditional ones, like GW) was that they lacked almost all useful control structures and modularization tools. They had FOR loops and GOTOs, and GOSUBs (fancy GOTOs) for flow control. There were no flexible looping structures, conditional structures, functions, or local variables. Unless one was extremely careful, one's program would spaghettify quickly.

  204. Everyone?? by fm6 · · Score: 1
    You know, flame all you want but we all know everyone started in this programming language.
    Say what? You mean every programmer started out hacking interpreted DOS programs? There were no programmers before DOS was invented? Nobody ever started out with Turbo Pascal? People continued to start out with QBasic even after Windows took over and MS stopped providing QBasic by default? Well, OK.
  205. Absolute Beginner's Guide to QBASIC by Anthracks · · Score: 2, Informative

    When I first started learning to program QBASIC, I too had the Dummies book and found it nearly worthless. I actually ended up accidentally leaving it on a plane and didn't even care :). Afterward a friend recommended the "Absolute Beginner's Guide to QBASIC" which is now out of print and hard to find, but if you locate it it's an awesome tool for learning the language.

    --
    Rock over London, Rock on Chicago. Wheaties: Breakfast of Champions.
  206. Good god man! by Anonymous Coward · · Score: 0

    What are you doing? Put the book down and get yourself a copy of K&R.

  207. Nibbles and Gorillas by Anonymous Coward · · Score: 0

    Those files were included with Dos 6.22 and were pre-written .BAS files. Gorillas and nibbles both kicked the llama's ass.

  208. One of my favorite games written in PowerBASIC by ThePyro · · Score: 1

    One of my all-time favorite strategy games, VGA Planets Version 4 (some of you may remember the older versions from the BBS days), is written in PowerBASIC, I believe. I'm actually playing in two games right now. PowerBASIC seems to be a powerful enough tool - the GUI for this game is quite functional, game design & preference issues aside.

    Give it a spin if incredibly complicated turn-based sci-fi wargames are your thing :)

    1. Re:One of my favorite games written in PowerBASIC by Anonymous Coward · · Score: 0

      One of my all-time favorite strategy games, VGA Planets Version 4

      Thanks, but I try to avoid games that have references to the graphics architecture they use in their title.

  209. QBasic? Newer? by Metuchen · · Score: 1

    QBasic hasn't changed one little bit since about 1994. That's nearly 10 years. For this reason, a newer book probably wouldn't be any better. My recommendation: buy a book on algorithms, and book which covering the keywords etc. of the QBasic language. The cool thing about algorithms is that they are language-agnostic. Once you have learned the algorithms, translating that into code is a simple matter when you have a language referance in front of you.

    --
    # They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. --Fran
  210. Don't Forget QBX by aquariac · · Score: 1
    My first programming job was inhouse database apps in QBX, the compiled version of quickbasic, which was actually pretty robust. Almost no bugs and very fast. We wrote a few subroutines in C/C++ and assembly that had to be quick or access the BIOS. QBX generated plain old object code files that could be linked to anything and made it very friendly to a mixed language environemnt. IIRC the database library we used with it was called DBLib and gave us direct access to dBSASE DBF and NDX files.

    Since we ran on DOS I wrote a character-mode UI in QBX that worked quite well, previous to that it was all sequences of INPUT statements. Our users (employees) were ecstatic to be able to GO BACK and change something..

    Still, glad I'll never have to do that again. more info on QBX

  211. DosBox by hackwrench · · Score: 1

    you could also try DOSBox

  212. QBASIC by Anonymous Coward · · Score: 0

    qbasic is cool, but here's something better: www.BAStoC.com

    It's a site offering support, code samples, etc. for a product called QB2C.

    BAStoC.com is a *very* new website (although qb2c has been around a few years) and is short on bandwidth, so try not to /. it. =)

    It basically converts BASIC to C code that you can compile with GCC on any Linux, BSD, OS X machine.

    It's a lot cooler than PHP and PERL because you get a compiled binary that runs as fast as C because it is C! You can also use C in-line, so it's the best of both worlds. I write 90% of my code in QB and connect to MySQL or PGSQL with in-line C.

    This way I can give clients a compiled binary and not worry about them stiffing me. Sure, they can leave with the binary, but good luck making changes! =)

  213. Re:Redundant???-Back in my youth by Anonymous Coward · · Score: 0

    "And yes, I still believe in teaching assembly..."

    Hey! believe in teaching assembly too. Lincoln logs, Tinker toys, Erector sets, Pail and shovel.

  214. Been There, Did It by cmholm · · Score: 1

    After years of schooling in the archania of COBOL, FORTRAN 77, and Pascal, I ended up coding embedded software for missiles in hex. Boy, was I ever in control.

    Nowadays it's all web services in Java, and prayer is my debugger.

    --
    Luke, help me take this mask off ... Just for once, let me butterfly kiss you with my own eyes.
  215. QuickBASIC 4.5 question by CaptainPhoton · · Score: 1

    I suggest grabbing a copy of QuickBASIC 4.5. It has a great help system and lets you build an EXE.

    QuickBASIC knowledge is sometimes very handy. I've seen many QuickBASIC programs in manufacturing used for controlling GPIB instrumentation, etc. Nowadays it's difficult to find programmers who can maintain this code.

    I've always wondered, is it possible to implement any type of interprocess communication between an Windows App and a QBASIC app in the DOS Window?

  216. Rapid-Q is good too by bruns · · Score: 1

    http://www.basicguru.com

    I use Rapid-Q BASIC instead and it works quite well. Can design apps and have them ready in a tenth the time it would take me in C/C++.

    Best part is that its completely free and is available for multiple platforms too.

    --
    Brielle
  217. A much better QBasic for Dummies book by cyranoVR · · Score: 1

    After a false start with Teach Yourself Java in 21 Days *shudder* I got into programming with Beginning Programming for Dummies (Wallace Wang - 1999 Edition).

    The book introduces a lot of great programming topics using QBasic - mainly because QBasic was freely available with every Windows 98 distribution. It's the lowest common denominator of MS programming. Not sure if this is the case with Windows XP (seeing as XP isn't DOS, probably not).

    The best part about the book is that the author places snippets of C and Java code throughout the book - so you can get an idea of where you're headed.

    Of course, what it doesn't do is teach you how to program anything more than example programs - no "serious" applications. But why would you want to in QBasic? On the other hand, there seems to be a small but active community of QBasic programmers on the Net.

    Anyway, you can pick up a used copy real cheep at half.com (I'm keeping mine tho :)

  218. Don't judge a game by its title by ThePyro · · Score: 1

    I'll admit, the title sounds dated. But that's because the first version of the game came out when VGA graphics were uncommon - shareware games, from the likes of Apogee and Epic Megagames, were still running amuck with EGA stuff. The game has come a long way from there, but the name stuck.

    I bet there's more than a handfull of people here that still play rouge-likes (Nethack, Angband, etc...) and will vouch for the fact that a great game doesn't have to have great graphics.

    Anyway, this is getting a bit off topic... The purpose of my original post was to give a good example of an app written in PowerBasic. So... there you go.

  219. DON'T DO IT by Valar · · Score: 1

    Basic, just like cobol, cripples the mind. I think the only difficulty I ever had with C was that I had learned BASIC first.

  220. oho by rossarian · · Score: 1

    QBASIC For Dummies?

    Yes. Yes it is.

  221. FreeDOS Rules! by Anonymous Coward · · Score: 0

    Looks like somebody else needs to take themselves less seriously. I also suspect that it may be bastard QBasic, not legitmate at all- your mama programs in GW Basic, punk

    1. Re:FreeDOS Rules! by Anonymous Coward · · Score: 0

      You're an idiot. QuickBasic supports line numbers.

  222. It's amazing... by Flying+Nosehair · · Score: 1

    I find it amazing how much blame has been piled on QBasic. It was my first programming language, and I first started learning it when I was 9. The book I used never even mentioned GOTOs except in its list of commands at the back of the book. I didn't learn how to write spaghetti code. Personally, I find the GOTO command useful at times, but I've never written spaghetti code. The book I used was so wonderful that it was a good stepping stone for me when I started learning C at age 13. I highly recommend QBasic; you just have to get the proper instruction. Unfortunately, the book Learn Basic Now is almost undoubtedly out of print, and it's a real shame. QBasic Gameshop might have actually been the best product Microsoft ever released considering how bad its products are nowadays. I know it's possible to start learning from a "real" language like C because people could only learn machine language at first, but perhaps it is better for some people to learn more gradually.

    1. Re:It's amazing... by afroborg · · Score: 1

      Yes but the difference here is the words "The book I used"

      Most of us that learned to use QBasic didn't have a book... just the online help (OK so I learned C64 Basic first... but only a little bit...)

      --
      my sig could kick your sig's arse...
  223. So do I... by r6144 · · Score: 2, Interesting
    When I bought my first 386 in 1994 I can only program in Qbasic. I programmed a lot, and it is very interesting.

    But BASIC is really awkward if you want to write structured, maintainable large programs. The largest Qbasic program I have ever written during the one or two years was about 5kB in source code.

    Then I learned Pascal at school, and got hold of a copy of Turbo Pascal 5.5. In a month I switch to Pascal exclusively. Anyway, the programs look cleaner (well, clean for a kid's code, still much uglier than most OSS code or Borland's examples) and doing pretty graphics is just as easy. What's more, it is a compiled language, so it is a ton faster than Qbasic, and the Turbo Pascal compiler really lives up to its name, about 500-1000 lines/second even on a 386DX/40. I wrote quite a few 20kB+ (in source) programs doing various actually useful things. The biggest one is a complex RPG-like game, which is about 70kB in source code.

    C was a hard language to learn by oneself, and although I spent quite a lot of time trying, I couldn't quite grasp it until it was taught in college (about 1999). Also, in DOS it is pretty easy to lock up the machine by using pointers incorrectly, which is scary, while in Pascal pointers are only occasionally necessary and there is range checking and stack checking, so bad things don't happen that often. However, comparing to C, Pascal's syntax looks awkward and verbose. In fact, C is also quite verbose, but the verbosity is about telling the machine the details about what to do, while Pascal's verbosity such as BEGIN and END doesn't mean anything. Also, when using complex data structures points should be used anyway, and Pascal's syntax IS awkward (type PFoo = ^TFoo...). So, since 1999, when I finally grokked C, has MSVC on Windows 95 and GCC on Linux, I dropped Pascal almost entirely.

    In the last four years most of my programming are done in C, and most of the code is quite clean. I learned C++ too, but I didn't use it much because OOP was never really necessary for me, and I like Java better anyway (C++ has so many pitfalls, hides low-level details and makes debugging of pointer errors difficult, and there's too many ways to do something). I have tried Smalltalk, Ocaml, Lisp, Perl, Python too, but mostly just for small programs. For a long-time C programmer, It is hard to find a compelling reason to use something other than C (and Java) for a medium-sized project.

    1. Re:So do I... by halivar · · Score: 1

      Hrmmm... but Turbo Pascal and Turbo C++ (the forerunning compilers at the time, IMO) were both $200 a pop. For a grade-school kid, this was inaccessible.

      That's why it took me six years to move up to Pascal. By that time, the longest program I'd written was a top-down Zelda clone that was 20,000 lines long (I've been looking for it, btw)!

      Of course, my very first Pascal project was porting the game to Pascal, and I learned a lot in the process, like indentation.

      Anyhow, a beginner language should not depend on features, or "correct technique," or even usefulness. The key to a beginner language is: how soon and how easily can they make pretty pictures? I'm telling you, so many CS students today have no passion for what they do because they never, ever had fun with it. For those of us who grew up on QBasic, we know that programming can, in fact, be fun. That's why I spent all my proms at home with QBasic.

  224. BASIC by arevos · · Score: 1

    BASIC is to programming as SQL is to databases.

  225. Oh, the horror! by kumokasumi · · Score: 1

    Please, learn Python. I know far too many people that started with BASIC that reflexively fall back on "goto" as the way to solve a problem. *twitch*
    Though I started with BWBASIC, before graduating to Pascal and C. I just picked Python up recently; it's very easy to learn.

  226. WARNING GOATSE LINK by Anonymous Coward · · Score: 0

    parent contains a goatse link (disguised) please disragard