Slashdot Mirror


BASIC Computer Language Turns 40

5 REM nam37 codes
10 PRINT "In 1963 two Dartmouth College math professors had a radical"
20 PRINT "idea - create a computer language muscular enough to harness"
30 PRINT "the power of the period's computers, yet simple enough that even"
40 PRINT "the school's janitors could use it."
50 END

178 of 1,042 comments (clear)

  1. missing line by squarefish · · Score: 5, Funny

    GOTO 10

    --
    Creationists are a lot like zombies. Slow, but powerful and numerous. And they all want to eat our brains.
    1. Re:missing line by Peridriga · · Score: 5, Funny

      shouldn't that be:

      10 PRINT "First Post"
      20 GOTO 10

    2. Re:missing line by CougarCat · · Score: 5, Funny

      10 print "BASIC? Boy does that ring a..." 20 print CHR$(7) 30 goto 10

    3. Re:missing line by Triumph+The+Insult+C · · Score: 2, Funny

      50 IF STORY_SUBMITTED_PREVIOUSLY = 1 THEN GOTO editors
      60 END
      editors: GOTO 10

      --
      vodka, straight up, thank you!
    4. Re:missing line by CRCulver · · Score: 3, Informative

      While I agree with the parent poster that programming shouldn't be fun again, please take a look at his posting history and notice that all his posts are the same, some lines that are barely on-topic, and then a final paragraph, each time slightly reworded, that exhorts readers to write to their congressmen. It is unfortunate that such attempts for karma-whoring are consistently modded-up.

    5. Re:missing line by rsidd · · Score: 2, Insightful
      Congratulations on the well-written troll. Some people may have taken you seriously until the congressman bit. Some people may have taken that seriously too. Anyway,

      And in some ways, the lack of simplicity of environments like Python is harmful too. Much of the fun of programming was learning how to do amazing things at a relatively low level. Now languages are so complex, and libraries so relied upon, I'd venture to say most programmers do not understand how their programs will run, that something as simple as a change of data structure might make their program run 10,000% faster. Hashing? Sorting? Let the interpreter do it. That stuff's "too hard".

      Yes, like we all understand what a 10 PRINT "HELLO" actually does behind the scenes.

    6. Re:missing line by ajs318 · · Score: 3, Informative

      On a Spectrum or BBC micro, you will get a "no such variable" error -- the British BASIC dialects tended to prefer to crash out rather than silently assign 0 to variables on first reading. Although, "X = X + 1" will still work without predefining X, because the interpreter creates a variable X as soon as it sees it on the left-hand side of an assignment. Spectrum BASIC expected every statement to start with a keyword (verb), accessed by pressing a letter key, and so had to introduce "LET" for assignments -- "X = 1" would have to be written "LET X = 1" on the Spectrum because if you pressed X when a keyword was expected, you would get CLEAR.

      --
      Je fume. Tu fumes. Nous fûmes!
    7. Re:missing line by Anonymous Coward · · Score: 2, Funny

      10 print "BASIC? Boy does that ring a..." 20 print CHR$(7) 30 goto 10

      Ah! The magic "how to get kicked out of a Radio Shack" code!

    8. Re:missing line by Triumph+The+Insult+C · · Score: 2, Funny

      only on slashdot would a joke get critiqued like this =)

      --
      vodka, straight up, thank you!
  2. A Poem! by American+AC+in+Paris · · Score: 5, Funny
    10 PRINT "This is a"
    20 PRINT "Haiku program"
    30 GOTO 10
    --

    Obliteracy: Words with explosions

    1. Re:A Poem! by glenebob · · Score: 2, Insightful

      OMG the mods are smokin' it today, that's funny as hell!

    2. Re:A Poem! by mph · · Score: 4, Informative
      Mod parent down, a Haiku is 575 not 343 (is program 3 or 4? If 4 then 353, either way it's wrong)
      Mod yourself down. You forgot to pronounce the line numbers.
    3. Re:A Poem! by mlyle · · Score: 4, Informative

      10 PRINT "This is a"
      20 PRINT "Haiku program"
      30 GOTO 10

      Ten print this is a (5)
      twen-ty print hai ku pro gram (7)
      thir-ty go to ten (5)

    4. Re:A Poem! by Chiasmus_ · · Score: 4, Interesting

      Depends who you ask. Some think that in English, they should be 3-5-3 instead.

      No kidding. 17 syllables is a lot of room to maneuver in English... far, far less in Japanese.

      Ever try watching anime with both the English subtitle and the English dubbing turned on? A Japanese character will say something subtitled, e.g., "I'm cold" and they'll have to dub in something like, e.g., "I feel cold. It's cold in this room!" just to make the syllable count come close.

      --
      "Beware he who would deny you access to information, for in his heart he deems himself your master."
    5. Re:A Poem! by YomikoReadman · · Score: 4, Funny

      10 PRINT "Not haiku" 20 PRINT "Instead, Senryu" 30 PRINT GOTO 10

      --
      I have no regrets, this is the only path.
      My whole life has been "UNLIMITED BLADE WORKS"
    6. Re:A Poem! by squidfood · · Score: 5, Funny

      Problem finally solved!...

      10 GOTO 30
      20 REM ???
      30 PRINT "PROFIT!"

    7. Re:A Poem! by Pieroxy · · Score: 4, Funny

      On a slightly offtopic note, I think slashcode should allow us to mod down our own posts. I mean, when I'm trolling or flaming, I do it knowingly (most of the time at least). If I could already mod myself down, it would be beneficial so that the moderators are not disturbed by my post. They would save their mod points to mod up interesting content instead of modding down garbage.

    8. Re:A Poem! by kale77in · · Score: 2, Interesting

      That only *produces* a 5-7 poem, however. Where's your 'Haiku program' that ALSO outputs a Haiku? Hmmm? Well?

    9. Re:A Poem! by Dejitaru+Neko · · Score: 2, Insightful

      Interestingly, this post is modded up, while another one from two minutes earlier is modded down.

      --
      Nyo nyo, the Neko Boy has spoken.
    10. Re:A Poem! by Dejitaru+Neko · · Score: 5, Funny

      Pu-ro-gu-ra-mu. Five syllables. :P

      --
      Nyo nyo, the Neko Boy has spoken.
    11. Re:A Poem! by Alkaiser · · Score: 2, Interesting

      Hi? Informal? Would be "Ossu". (Pronounced "oas".) "Hi" also works. Most of the other forms of greeting incorporate other infomation, like time, etc.

      Thank you is just, "Arigato".

      --
      Netjak.com independent reviews of domestic & import video ga
    12. Re:A Poem! by Pharmboy · · Score: 4, Funny

      Interestingly, this post is modded up, while another one from two minutes earlier is modded down.

      Just goes to show you, like comedy, its all in the timing. ;)

      --
      Tequila: It's not just for breakfast anymore!
  3. They had a dream by Xel'Naga · · Score: 5, Funny

    Obviously they failed, and so they created BASIC instead.

    1. Re:They had a dream by Lane.exe · · Score: 5, Funny
      But without BASIC would we have QBASIC and that nifty gorilla-banana-chunking program?

      --
      IAALS.
    2. Re:They had a dream by Bigman · · Score: 2, Interesting

      Actually it was DONKEY.BAS.

      --
      *--BigMan--- Time flies like an arrow.. but personally I prefer a nice glass of wine!
  4. And now we have ... by mcx101 · · Score: 5, Funny

    ... BASIC's much acclaimed successor, Visual Basic ;-)

    --
    My operat~1 system unders~1 long filena~1 , does yours?
    1. Re:And now we have ... by nacturation · · Score: 5, Funny

      I tried Audible Basic, but it wasn't very good. Tactile Basic wasn't too bad, but please... please, for the sake of the children, stay away from Olfactory Basic.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  5. I miss the simple life by castlec · · Score: 2, Interesting

    10 I miss basic on TI-80 calcs.
    20 Programming in basic was my favorite thing to do in math class
    30 my freshman year.

    --
    When I tell an object to delete this, am I killing it or telling it to kill me?
    1. Re:I miss the simple life by nomadic · · Score: 3, Funny

      ILLEGAL FUNCTION CALL

    2. Re:I miss the simple life by castlec · · Score: 2, Funny

      yeah, i know, i tried to reply to the post, calling myself an idiot. apparently i'm even too stupid to reply to a post :o)

      --
      When I tell an object to delete this, am I killing it or telling it to kill me?
  6. Janitors are programmers too! by stienman · · Score: 5, Funny

    yet simple enough that even the school's janitors could use it

    And that, children, is where the seeds of garbage collection were sowed.

    -Adam

    1. re: janitors are programmers too! by ed.han · · Score: 2, Funny

      was that the impetus for dumpster diving? [j/k]

      ed

  7. 5 REM Testing.. by pirodude · · Score: 4, Funny

    10 PRINT "I hearby declare..."
    20 PRINT "that all comments in this story"
    30 PRINT "be typed in basic"
    40 END

    1. Re:5 REM Testing.. by Anonymous Coward · · Score: 5, Funny

      10 REM "In that case, they should be comments."
      20 END

    2. Re:5 REM Testing.. by jared_hanson · · Score: 5, Funny

      System.out.println("10 PRINT \"Hell\"");
      System.out.println("GOTO 10");

      --
      -- Fighting mediocrity one bad post at a time.
    3. Re:5 REM Testing.. by Tackhead · · Score: 5, Funny
      > 10 PRINT "I hearby declare..."
      > 20 PRINT "that all comments in this story"
      > 30 PRINT "be typed in basic"
      > 40 END

      1 PRINT "FUCK YOU"<BR>
      2 GOTO 1<BR>
      3 REM ITS BEEN 20 YEARS SINCE I DID THAT TO A VIC-20<BR>
      4 REM AND THEY STILL DONT LET ME IN THAT MALL
    4. Re:5 REM Testing.. by funkhauser · · Score: 2, Informative
      SYNTAX ERROR
    5. Re:5 REM Testing.. by Anonymous Coward · · Score: 2, Insightful

      I've heard it said that Perl is the Visual Basic of the Unix world...

  8. Best Headline Ever by FatHogByTheAss · · Score: 2, Insightful

    Really. Well done!

    --

    --
    You sure got a purty mouth...

    1. Re:Best Headline Ever by Pranjal · · Score: 3, Informative

      RTFA. It's a direct rip-off from the article.

  9. School Janitors by FlatBlack · · Score: 5, Insightful

    Ooo. Me Grandpa was a custodian and a very smart man. Watch your mouth. I work for a school and the janitors here are smart folks too. Most of all, they treat the lowly tech guy with respect in spite of his job and the fact that he lives in his parents basement and has never touched a girl (not a real girl anyway).

    1. Re:School Janitors by Da+VinMan · · Score: 2, Insightful

      The little people in the world, who lead pointless, empty, meaningless lives.

      Just in case you come back to read this AC troll, I think your quote above actually applies to you. Having a humble job doesn't mean the person with that job is pathetic. It doesn't even follow that it's probable.

      On the other hand, if you're in a good job, with nice things, and are relatively successful and you feel the need to put down such people, then you are truly the pathetic person worthy of much pity.

      Really, get a clue.

      --
      Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
  10. Re:ahem by spotteddog · · Score: 2, Funny

    Obviously their arithmatic algorithm was flawed

    --
    . there used to be a sig here.....
  11. From the Jargon File by idiot900 · · Score: 4, Interesting
    Alright, I'll commence the BASIC-bashing by quoting from the Jargon File:


    BASIC

    [acronym, from Beginner's All-purpose Symbolic Instruction Code] n. A programming language, originally designed for Dartmouth's experimental timesharing system in the early 1960s, which has since become the leading cause of brain-damage in proto-hackers. This is another case (like Pascal) of the cascading lossage that happens when a language deliberately designed as an educational toy gets taken too seriously. A novice can write short BASIC programs (on the order of 10--20 lines) very easily; writing anything longer is (a) very painful, and (b) encourages bad habits that will make it harder to use more powerful languages well. This wouldn't be so bad if historical accidents hadn't made BASIC so common on low-end micros. As it is, it ruins thousands of potential wizards a year.
    1. Re:From the Jargon File by Hexact · · Score: 2, Interesting

      I used GWBasic to write an organization chart program back in 85. By the end, I had to strip a line of comment for each line of programming I was adding.

      All that to make it fit into 64k.

      Very painful indeed.

      BTW. it was on a Zenith Heath clone. I think it ran at 6Mhz. A real speed deamon compared to the original PC which ran at 4.77Mhz.

      Clem.

    2. Re:From the Jargon File by sonicattack · · Score: 2, Funny

      It could still be worse... (from the Fortune database):

      THE LESSER-KNOWN PROGRAMMING LANGUAGES #10: SIMPLE

      SIMPLE is an acronym for Sheer Idiot's Monopurpose Programming Language
      Environment. This language, developed at the Hanover College for
      Technological Misfits, was designed to make it impossible to write code
      with errors in it. The statements are, therefore, confined to BEGIN,
      END and STOP. No matter how you arrange the statements, you can't make
      a syntax error. Programs written in SIMPLE do nothing useful. Thus
      they achieve the results of programs written in other languages without
      the tedious, frustrating process of testing and debugging.

    3. Re:From the Jargon File by richg74 · · Score: 2, Interesting
      I think the worst program I ever saw was a BASIC program, written for an HP mini by another grad student. It was intended to sort the contents of a file. It did this by (a) using temporary workspace six times the size of the input file, and (b) destroying the input file as it went. Printed out (on a Teletype, this was the early 1970s), it was several feet long, and completely incomprehensible. But it could sort a 500-line input file in under an hour!

      The guy that wrote this masterpiece had great difficulty finding someone to help him debug it. This was partially owing to the characteristics of the program, but mostly because his personal hygeine meant no one was willing to be in the same room unless all the windows were open, and it was January in Chicago.

  12. Re:ahem by pete-classic · · Score: 2, Funny

    It is notoriously easy to create off-by-one bugs in BASIC :-(

    -Peter

  13. Re:ahem by bee-yotch · · Score: 5, Informative

    they started it in '63, they didn't finish it till '64. rtfa

  14. AAAaaaaghhh by Doesn't_Comment_Code · · Score: 2, Interesting

    Damn I hated numbering each line of code!

    And when you had to add something and have uneven spacing of line numbers... Oh it just drives the type A personality in me nuts!

    The only good part about line numbers was how easy it made it to write GOTO statements.

    --

    Slashdot Syndrome: the sudden, extreme urge to correct someone in order to validate one's self.
    1. Re:AAAaaaaghhh by drivers · · Score: 2, Informative

      Damn I hated numbering each line of code!

      And when you had to add something and have uneven spacing of line numbers... Oh it just drives the type A personality in me nuts!


      Ah, but AUTO numbers the lines for you. You get a new number each time you hit enter. AUTO [n] starts at line [n].

      RENUM renumbers all the lines with a consistent spacing, including the GOTOs, GOSUBs, etc.

      I can't believe I still remember that PC-DOS BASICA stuff.

    2. Re:AAAaaaaghhh by tepples · · Score: 3, Interesting

      10 LET M$ = "Microsoft"

      And when you had to add something and have uneven spacing of line numbers

      Of course, that's why many micro BASIC dialects had a renumbering program available.

    3. Re:AAAaaaaghhh by tverbeek · · Score: 2, Interesting
      You know, you didn't have to use numbers. Say for example, this would compile fine:

      "Compile"? In BASIC's heyday, it was almost always interpretted. The line numbers were essential because programs were usually typed interactively, line by line. Need to insert a command between lines 50 and 60? Simply type "55 PRINT NAME$" (or whatever) and the new command is inserted.

      By the way, some BASIC systems (I don't recall which of the several I used... TRS-80, Atari, DEC, GW-BASIC) had the ability to renumber your lines for you, in case you ran out of integers in a particular range.

      --
      http://alternatives.rzero.com/
  15. Re:ahem by jonnosan · · Score: 3, Informative

    RTFA - 1963 is when they had the idea. it took till May 1, 1964 to finish it.

  16. And then came VB by John+Starks · · Score: 5, Insightful

    Then VB came, and a language was created that was muscular enough to script Word macro viruses, but simple enough to enfuriate good programmers (I mean, really, no short circuit boolean operators? It makes me weep.)

    1. Re:And then came VB by dasmegabyte · · Score: 2, Interesting

      Oh yeah? Wait until you see VB.NET. That makes me want to Weep AndAlso Scream OrElse Not IsNothing(MyCSharpSkills)

      "Nothing" drives me up a wall, it's goddamn null you assholes! As do modifiers like Shared (aka static), Overridable (aka virtual), Shadows (aka new), MyBase, Me and MustOverride (aka abstract). In fact, were it not for these inscruitably obnoxious naming conventions, VB.NET would be a pretty awesome language. Sadly, it falls into the same trap as the user interface of XP: trying to solve usability issues by using more (and bigger) words. Hey guys, if you don't understand the concept behind an internal method, calling it a "Friend" method isn't going to help. At best, all you're doing is confusing those of us who already know what an internal method is (and think of a friend method as something completely different!)

      --
      Hey freaks: now you're ju
    2. Re:And then came VB by Doctor+Faustus · · Score: 2, Insightful

      "AndAlso" and "OrElse" were compromises dragged out of MicroSoft after VB.Net beta 1 was out. Originally, the regular "And" and "Or" operators were going to be short-circuiting boolean operators (they were actually bitwise in earlier MS BASICs), but that was going to cause too much trouble in the porting wizard.

      I don't think the "Is Nothing" part is different in VB.Net than in classic VB. The "Is" operator compares the pointer values in the object reference variables. If "A Is B" returns true, that means the variable A and the variable B refer to the same object, while if "A = B" returns true, that means the default functions return the same value. "Nothing" is simply a constant object reference value. You could use "A = null" instead of "A Is Nothing", but that would lead to Java's "A.equals(B)" nonsense.

      Finally, dude, if you just don't like the keyword choices in VB.Net, just use C#; they're two different shells over the same system.

  17. Obligatory Dijkstra quote by Kaa · · Score: 5, Funny

    "Learning BASIC causes permanent brain damage." -- E.Dijkstra

    --

    Kaa
    Kaa's Law: In any sufficiently large group of people most are idiots.
    1. Re:Obligatory Dijkstra quote by maximilln · · Score: 2, Interesting

      I've found the quote many times.

      Are there any arguments to justify the statement?

      --
      +++ATHZ 99:5:80
    2. Re:Obligatory Dijkstra quote by Old+Wolf · · Score: 2, Interesting

      This is the same Dijkstra who advocated that programming should only be done by people with a degree in pure mathematics

    3. Re:Obligatory Dijkstra quote by amRadioHed · · Score: 2, Funny
      How could Dijkstra _know_ something like this without ever having gotten deep into BASIC himself (thus incurring the brain damage he talks about)?
      Dijkstra was very smart. He could easily learn enough VB to destroy 3/4 of his brain and still be savey enought to see how bad it really is.
      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    4. Re:Obligatory Dijkstra quote by DerekLyons · · Score: 2, Insightful
      Are there any arguments to justify the statement?
      No. It exists mainly to let the wizards feel good about writing in increasingly esoteric lanquages designed mostly to fulfill academic theories, (the whole C family).

      The quote and the jargon file entry also shows that the writers and speakers thereof never saw some of the later, and much more powerful BASIC's. (QBasic (which was the professional version of Quick Basic, no mean lanquage itself. Don't confuse it with the Qbasic that shipped with later versions of DOS.), Power basic, etc...)

    5. Re:Obligatory Dijkstra quote by Sj0 · · Score: 2, Informative

      Quickbasic was the bigger brother. qbasic was v1.1 which shipped with Dos 5.0+. Quickbasic went on until it was renamed Professional Development System 7.0, then later Visual Basic for DOS 1.0. That was the last version made.

      http://www.qbxl.net/

      I'm a monster, you see. That's how I know all this. :P

      --
      It's been a long time.
  18. Nostolgia by AKAImBatman · · Score: 4, Funny

    Ok, who remembers the Star Trek game from Dartmouth? You know, the one where you got to enter coordinates to move the ship to, then fire photons and phasers at Klingons? You could even consult the library computer! Failing that, who remembers coding the "trench" game?

    | * |
    | * |
    | * |
    | * |
    |* |
    | |
    | |
    *BOOM* YOU CRASHED. TRY AGAIN? [Y/N]

    1. Re:Nostolgia by AKAImBatman · · Score: 5, Informative

      You wish is my command. Here's the source code plus there's a PALM version at the bottom of the list. In case you want to type it in yourself, SmallBASIC accepts traditional BASIC syntax. Someone event did a SmallBASIC port of Super Star Trek for you!

  19. Re:ahem by deck · · Score: 5, Funny

    10 PRINT "Concived: 1963"
    20 PRINT "Born: 1964"
    30 END

  20. Edsger Dijkstra? Does not like it by AtariAmarok · · Score: 5, Interesting
    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. -- Edsger Dijkstra/

    What it really means is that the programmers won't program exactly the way Dij wants them to do. It is not "good" or "bad": just different. Programming should not be a straitjacket: the more options and the more different ways to do thing, the better. Those who think that there is no place for anything like a GOTO should look at html.

    --
    Don't blame Durga. I voted for Centauri.
    1. Re:Edsger Dijkstra? Does not like it by RinkRat · · Score: 2, Funny
      Oy, Feeding the Troll, I know.

      No, Dijkstra has it right; there are styles one should use and styles one should not. BASIC forces you to use the latter. This must later be beaten out of you if you are to become proficient.

      Your seeming moral ambiguity about the styles one can use spring from a personal coping mechanism attemptimg to rationalize your bad habits as valid. They are not.

      Or something.

      --
      RinkRat
    2. Re:Edsger Dijkstra? Does not like it by cybermace5 · · Score: 2, Funny

      Hey, I have a great idea! Add an extension to C/C++ so you can put BASIC snippets inline. This would infuriate more than enough people, making it a worthwhile effort.

      --
      ...
    3. Re:Edsger Dijkstra? Does not like it by DarkAurora · · Score: 2, Informative

      HTML is not a programming language. It's a Markup Language. HTML itself does nothing but display text in a pretty way and provide links.

  21. Re:Spinning in his grave by LostCluster · · Score: 2, Informative

    VB is a good tool for prototyping and simple stuff where it excels.

    VB is a power tool... if you use it correctly you can get a simple program done faster than you could in C. If you use it incorrectly, you end up with a memory hog application that could have been written better in C.

  22. Jave derived from BASIC??? by the+morgawr · · Score: 2, Interesting
    How is that so? Was B derived from basic? I'm pretty sure it wasn't. Smalltalk maybe? I thought the flow went like this:

    1. B (short for Bell, where it was written)
    2. C
    3. Objective-C (C with some smalltalk stuff added)
    4. Java
    --
    The policy of the United States is worse than bad---it is insane. -- Ludwig von Mises, Economic Policy(1959)
    1. Re:Jave derived from BASIC??? by Anonymous Coward · · Score: 2, Informative

      How is that so? Was B derived from basic? I'm pretty sure it wasn't. Smalltalk maybe? I thought the flow went like this:

      1. B (short for Bell, where it was written)
      2. C
      3. Objective-C (C with some smalltalk stuff added)
      4. Java


      B isn't short for "Bell", it was an abbreviated version of BCPL, hence the name. C came after B, which raised the question of which language would succeed C-- P or D?

    2. Re:Jave derived from BASIC??? by dasmegabyte · · Score: 2, Informative

      Uh, the progression is never this simple, man. Yes, syntactically, Java borrows from C and C++ heavily. But it's never so simple as X then Y then Z. Java borrows from everything -- inheriting from Object looks a lot like Objective-C, but calling instance methods looks a lot more like C++. And the concept of the Virtual Machine has a lot more in common with VB than it does with compiled, self executing, self managed languages.

      Similarily, C# borrows from both Java and C. It's not the end point of either. In fact, since people are still writing -- and revising -- C, Obj C, C++, Java, C#, BASIC and Visual Basic, you can't say any of them BECOME any of the others. They're each of them still their own thing.

      --
      Hey freaks: now you're ju
  23. Ah, computers. by wookyhoo · · Score: 2, Insightful

    Now we have languages that are hard enough for gurus to read half the time, and others that are so wonderful and elegant that I believe janitors of today could learn and use quite easily.

    I remember using my first computer at age 5 and playing around with BASIC, and I could do a reasonable amount with it. Lets be glad though that most of us have moved on :>

  24. Ah, the memories... by Phoenix-kun · · Score: 2, Interesting

    I wrote my very first program in Basic on an 8K PDP-8/I computer ("Hello World!") back in 1975. We had to toggle in the bootstrap instructions using the toggle switches, load the OS from a paper tape and then finally the Basic application off the DECtape drive. I was just amazed at the possibilities and would come in on my own time just to write silly little programs.

    --
    Phoenix
    1. Re:Ah, the memories... by markana · · Score: 2, Interesting

      I want to moderate this +1 Nostalgic...

      You were lucky to have a DECtape - I was doing the same thing on an 8/I at the same time (74-75), and have to live with just an ASR-33 paper tape. I think I can do the RIM Loader switch sequence by muscle-memory... :-)

      It was much better moving to the PDP-11 with RSTS/e.

    2. Re:Ah, the memories... by Hans+Lehmann · · Score: 2, Interesting
      Let's see a show of hands, everyone. Don't be afraid to admit it. How many of you wrote your very first program in Basic?

      Mine was in the early 70's, on a ASR-33 Teletype in my high school math class that was connected via dial-up connection to some mainframe at Penn State.

      Ten characters per second on a roll of paper. with a spiffy paper-tape punch hanging on the side.

      --
      09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
  25. Re:WHY! WON'T! IT! DIE! by Theatetus · · Score: 5, Informative
    I've heard it claimed that BASIC was "invented" by Microsoft

    Microsoft certainly doesn't claim that.

    or that they own it

    Nor do they claim that

    or that their first product was a BASIC interpreter

    They do claim that, because it's true.

    What's the connection between MS and BASIC?

    BASIC was always the applications and scripting language at Microsoft. For a long time, DOS and the early Windows shipped with a free basic interpreter (sadly, those days are over).

    Visual Basic remains one of Microsoft's flagship products. It's philosophy is similar to the original BASIC philosophy: you shouldn't have to be a comp sci graduate to write computer programs. Whether VB succeeds in that regard is another question, but it's what they intended.

    BASIC is still Microsoft's language for application automation (think Visual Basic for Applications), Web development (ASP with VBScript), and as a tool control language for gluing together objects written in lower level languages. In a sense, some form of BASIC fills the roles in Windows that Scheme, Perl, and TCL occupy in UNIX.

    --
    All's true that is mistrusted
  26. Re:WHY! WON'T! IT! DIE! by SmackCrackandPot · · Score: 2, Informative

    In the early days of the IBM PC and PC clones (1986), Microsoft supplied MS-BASIC which came free with MS-DOS.

    This was at the same time as Borland came out with Turbo Pascal, so there really wasn't any incentive to learn MS-BASIC. Especially as computers were beginning to be networked to UNIX servers.

  27. Re:ahem by nycsubway · · Score: 5, Funny

    That is because array indexes start at 1 instead of zero. So it's really 41 years if you start from year one.

  28. Dijkstra said it best ... by zonix · · Score: 4, Informative

    "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." -- Professor Edsger Dijkstra

    Oh yeah and "Goto considered harmful" too, of course.

    RIP buddy. :-)

    z
    --
    What would an EWOULDBLOCK block, if an EWOULDBLOCK could block would? -- me
    1. Re:Dijkstra said it best ... by poot_rootbeer · · Score: 5, Insightful

      "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." -- Professor Edsger Dijkstra

      Okay, now all the professional coders whose first programming experience was in BASIC on a VIC-20, Apple II, or TRS-80, raise your hands... man, there seems to be a lot of us, huh.

      Oh yeah and "Goto considered harmful" too, of course.

      GOTO is essential -- all processors use it at their lowest levels (it goes by the name JMP in assembly language, though.)

      All other types of branching or looping are just syntactic sugar.

  29. Ah, the fun I had with QBasic... by BeneathTheVeil · · Score: 4, Interesting

    This brings me back... the first language I ever learned to code in was C++... but before that, I had learned Qbasic. ;)

    I think it was the limited nature of the language which kept me interested in it for so long. Those DOS memory limits were fun... coding a 2D RPG, and trying to stay within around 450KB, so it would run on most people's DOS machines. It was a challenge, I tell you... and trying to keep the code neat, and tidy... also a fun challenge.

    To this day, I'm still amazed at some of the things which people were able to do with QBasic, and QuickBasic... fast raycasters, 3d polygon game engines, even voxel engines! ...but I think, the biggest fad was making console style RPGs. I'd like to think that I had a small hand in starting that fad, with a little Qbasic RPG demo I released in 1997. Some of you may have played it, it was called "Lianne in... the Dark Crown". Yes, fun times... fun times indeed.

    I think, I'll go looking for all those old Qbasic games. They may not have been much, but they were fun to play.

  30. Using a language vs. knowing what to use it for by leoaugust · · Score: 2, Insightful
    yet simple enough that even the school's janitors could use it
    Using the language is one thing, knowing what to use it for is another. I know of many many "programmers" who know the programming language's syntax and can write basic programs, but ask them to program something creative or program something creatively and they fail miserably.

    --
    To see a world in a grain of sand, and then to step back and see the beach where the sand lies ...
  31. My life's language arc by HarveyBirdman · · Score: 2, Interesting
    Apple II Basic

    Atari Basic

    6502 Assembler

    Fortran

    Action!

    Deep Blue C

    Pascal

    Metrowerks C

    GNU C

    Perl (just enough to make my Unix life easier)

    Java

    GNU C++

    Visual Basic

    RealBasic

    Have I come full circle? By the time I got to C++ and VB, I was mainly programming for work, but RB has made programming fun again, and I have launched a couple personal projects for the first time in years.

    Gold bonus points if you know what Action! was.

    --
    --- Ban humanity.
  32. BASIC got me going by kdekorte · · Score: 4, Insightful

    Well I'm glad BASIC exists because I probably would not have started programming without it. Can you imagine trying to learn C or something like that when you are 13 (circa 1984) and have no other programmer friends and no internet or BBS to get sample code from. Also C and Pascal compilers cost big money back then. Borland's Turbo Pascal was probably the other big hobby language back the as well. It probably damaged my skills, but I think I have overcome most of the damage.

    And Windows 3.1 never would have been as accepted as it was if not for VB 1.0. I think VB was probably the thing that got a lot of people on Windows because programming Windows in C at that point was very complicated for the home hobbiest.

    1. Re:BASIC got me going by surgeonsmate · · Score: 3, Insightful
      Well I'm glad BASIC exists because I probably would not have started programming without it. Can you imagine trying to learn C or something like that when you are 13 (circa 1984) and have no other programmer friends and no internet or BBS to get sample code from.

      Happy Birthday BASIC but where is the pathway to any flavour of the language now?

      Once upon a time BASIC came as a free part of the computer box. A lot of boxes, you turned them on and there was BASIC. To do anything at all, you had to learn BASIC, and so a lot of people did.

      But nowadays, all you do is point and click. Visual Basic isn't free. Maybe you can get into VBA through Word, but I can't see too many 13YOs going that route.

      I'd have to say that eventually BASIC will wither and die through lack of new blood. Sure it will take a while until all those programmers who learnt their stuff in the 80s die out, but die out they will.

    2. Re:BASIC got me going by cocotoni · · Score: 2, Informative

      And then, there is the free (as in no monetary exchange takes place) download of .NOT framework, with compilers for VB .NET, C#, J# and JScript .NET.

      Console application can be done without much fuss in notepad, if you care, and with a lot of trial and error tests, even a Windows.Forms application can be written.

      If you want a better IDE environment... well there is C#Builder from Borland, which is a free (as above) download for non-comercial use. There is also free (as in GPL) IDE for both C# and VB.NET called #develop (http://www.icsharpcode.net/OpenSource/SD/) but I have no experience with it.

      Fact is, kids these days have a world of options at their fingertips. Now, if only the programming could be made as interesting for them as it was for me some 20 odd years ago when I wrote 10 PRINT "Blah Blah" for the first time.

  33. It feels like elementary school again by nocomment · · Score: 4, Funny

    10 ? "CmdrTaco and Kathleen stting in a tree K-I-S-S-I-N-G";
    15 ? CHR$(7)
    20 goto 10

    --
    /* oops I accidentally made a comment, sorry */
    /* http://allyourbasearebelongto.us */
  34. Re:WHY! WON'T! IT! DIE! by Anonymous Coward · · Score: 2, Funny

    WHY! WON'T! IT! DIE!

    probably because someone stuck a "goto 10" before the "end"

  35. The Janitors Liberation Organization by Lust · · Score: 4, Insightful

    Hey, stop using janitors as some lowest-common-denominator! Rather "The language was so simple even programmers could use it."

    The JLO

    1. Re:The Janitors Liberation Organization by plopez · · Score: 2, Interesting

      A friend of mine went to college and got an Economics degree. He then dropped out and became a buddhist hippie for a few years before landing a job as a janitor at another uni. One of the side benefits of the job was that they paid for 1 class each semester for the employees.

      He started taking classes and 5-6 years later got a Phd. in entomology. We like to joke around 'If this Phd. thing doesn't pay off you can always fall back on your experience in the janitorial field...'

      The lesson: NEVER underestimate a janitor....

      --
      putting the 'B' in LGBTQ+
    2. Re:The Janitors Liberation Organization by SirWhoopass · · Score: 2, Interesting

      In the Mechanical Engineering department at the U of MN, we had a janitor who was also a computer geek. He'd always strike up a conversation with the sysadmins. He was an early linux adopter.

      When some of the workstations got switched to linux, some of the profs would bitch. They'd claim that it was too hard and too difficult to learn.

      The standard response was, "Huh. The janitor uses linux, he has no problems." That really shut the profs up.

  36. Re:WHY! WON'T! IT! DIE! by LostCluster · · Score: 2, Interesting

    BASIC was always the applications and scripting language at Microsoft. For a long time, DOS and the early Windows shipped with a free basic interpreter (sadly, those days are over).

    However, all Microsoft Office programs that support Macros do ship with Visual Basic for Applications... with which you can write simple-interface BASIC programs. I've used it on several occasions in cases where I wished I had VB on a machine for a short scrappy program...

  37. REM Thank You For Bad Habits by Eberlin · · Score: 5, Interesting

    Ah yes, BASIC. I remember it distinctly as it's what I used for the longest time. Didn't have to declare your variables, had to contend with line numbers (that renum thing came in very handy), and of course the ever-popular GOTO statements.

    Eventually I evolved onto qbasic with its functions and subs and (gasp) no line numbers! Then there's VB and VBA. The most fun I've had with those are the shell calls.

    On machines that are so locked down that you can't even traverse directories let alone get a shell prompt, you run your form of BASIC, and do basic shells through it or even shell to cmd.exe or command.com -- at one point, I had a really lamed out, simple, featureless, just for fun version of netcat that executed shell commands, piped it to a text file, and had the text file's contents sent through the network. (this with VB's socket stuff). If nothing else, it was a good way to make fake Novell login prompts in the mid 90's. ;-)

    In the end, not a lot of people will be taken seriously for knowing BASIC, but since it was the first language I used, I appreciated the retro code.

  38. a BASIC error by M0nkfish · · Score: 5, Funny

    10 PRINT "Happy Birthday to you"
    11 PRINT "Happy Birthday to you"
    12 PRINT "Happy Birthday dear BASIC"
    13 END

    Dammit... Missed out a line. Now I remember why I should always increment line numbers by 10.

    1. Re:a BASIC error by Nate+Eldredge · · Score: 2, Informative

      There's still hope. Remember RENUM?

    2. Re:a BASIC error by TomV · · Score: 4, Funny

      how about the 'more structured for no adequate reason' edition?:

      10 gosub 60
      20 gosub 60
      30 print "happy birthday dear BASIC"
      40 gosub 60
      50 end
      60 print "happy birthday to you"
      70 return

      (tested in MS Office XP VBA, will not work in vb.net as gosub has now gonesub and will not return)

  39. Re:WHY! WON'T! IT! DIE! by LWATCDR · · Score: 2, Informative

    Way back when a young man nammed Bill Gates wrote a version of basic for the one of if not the first computer that a normal or maybe not so normal person could buy the Altair. That was the start of Microsoft. Microsoft pretty much made a living selling basic to all the major computer makers of the day. Commodore, Kaypro, Osborne, Tandy, and I think Apple. I think atari had it's own version of basic.
    Latter when IBM was going to get into the home computer market with there PC they went to Microsoft to buy basic from them. In fact if you have an old IBM PC and do not have any drives in it and power it up it will run basic from ROM.
    While buying basic IBM got sold MS-DOS and the rest is history.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  40. Why BASIC was good by unfortunateson · · Score: 4, Insightful

    Today's VB and similar derivatives bears so little resemblance to Dartmouth BASIC that it's hardly the same language. If it wasn't for FOR/NEXT and DIM, you might not recognize it at all.

    But the old line-oriented BASIC had some advantages in the bad, old days:
    1) Interactive editing is difficult to do on a teletype -- many schools only had a hardcopy terminal to a timeshare service. Being able to drop a line in the middle, or retype a single statement really really helped learn what was going on, without having to re-send the entire program. Even with a primitive CRT, full-screen text editors were of poor quality -- dropping in statements helped to debug and fix features.

    2) Later, it was ubiquitous: You could write the same abusive repeating naughty-word program at a Radio Shack, an Apple Dealer, or a department store selling Commodore PETs.

    3) It beat COBOL or FORTRAN. The only thing with BASICs interactivity might be FORTH -- imagine if we'd been saddled with page-delimited, stack-based code in all our micros. It's a lot harder to learn, but would have helped modularity and library development.

    --
    Design for Use, not Construction!
  41. Re:WHY! WON'T! IT! DIE! by pete-classic · · Score: 2, Interesting

    MicroSoft's (heh) first (or at least very early) product was, indeed, a BASIC interpreter.

    IIRC the first PCs shipped with MS BASIC on ROM, which loaded if no boot disk was present. Hence "No ROM BASIC" messages once that mis-feature was removed from later PCs.

    -Peter

  42. The debate is also 40 years old. by Spicerun · · Score: 2, Insightful

    I see the debate between the Basic vrs. Anti-Basic camps is also 40 years old and as strong as ever.

  43. Consumers vs. Creators by landoltjp · · Score: 5, Interesting
    "On some level I think it's sad that it went away," he said. "People went from being creators of software to consumers."

    I must admit that I share his lament. The programmer-to-user ratio got considerably worse as the ubiquity of computers increased.

    When I got my first computer (comment hoping skip the 'geek pissing match'), the majority of other people with computers were using them to write programs. As the PCs (now workstations) got adopted (then coopted) by 'business' for them to do their thing, the computer became a 'tool'. I never stopped programming, but all my non-geek friends started to get in on the computer-owning game. Most of them couldn't write a line of BASIC with a gun to their head, even though they have the capacity to do so, but gosh, they all thought they were just whizz-bang computer users! *sigh*

    As a colleague of mine (and a really amazing programmer) once said: "Accessibility is the yellow brick road to mediocrity"

  44. insensitive clods by michaelndn · · Score: 4, Insightful

    lay off the janitors!

  45. Since when can you play sounds with JavaScript? by Theatetus · · Score: 2, Interesting

    No, I meant Java. There are lots of people who are not professional programmers who use Java, particularly to write applets for web pages. I brought up two common things those applets do, play sounds and rotate images.

    First year comp sci classes often use Java as their language. There's no sharp distinction (to the beginning programmer) between the language and the libraries and APIs. Sun marketed the free SDK towards individual home users. I was pointing out that in those senses (alleged ease of learning and free and widely available development kit), it's like BASIC. Syntactically, it's not at all like BASIC; it's a grandchild of Algol through-and-through.

    --
    All's true that is mistrusted
  46. Re:ahem by silvaran · · Score: 4, Funny

    10 PRINT "Concived: 1963"
    20 PRINT "Born: 1964"
    30 END

    25 PRINT "Spell checked: Never"
    RUN

  47. Re:Spinning in his grave by ThogScully · · Score: 4, Insightful

    That's a very obvious statement. You basically said that a bad program written in one language could have been written better in the other language. But any program written badly in any language is going to be better when written better, regardless of language.

    The comparison I believe the original post was making was between a good VB app and a good C app and between those, I'm guessing the C one would be better.
    -N

    --
    I've nothing to say here...
  48. Re:Spinning in his grave by Pranjal · · Score: 2, Informative

    Thomas Kurtz is still alive. Unfortunately John Kemeny is not.

  49. That was a great help file by rebelcool · · Score: 2, Interesting

    I oft referenced that ASCII table well into the late 90s :)

    I learned the majority of basic programming just by following the hyperlinks in the help file. Almost every function came with a useful example program.

    The whole help system in q/quickbasic was very well done. You could point and click on a function and bring up its help entry IIRC.

    --

    -

  50. 60 PROFIT! by dpilot · · Score: 3, Funny

    Syntax Error "PROFIT!"
    -------------------^
    Command Not Found "PROFIT"

    --
    The living have better things to do than to continue hating the dead.
  51. Re:WHY! WON'T! IT! DIE! by joeykiller · · Score: 4, Informative
    BASIC was always the applications and scripting language at Microsoft. For a long time, DOS and the early Windows shipped with a free basic interpreter (sadly, those days are over).
    Actually, they're not. Every copy of Windows XP, and probably Windows 2000 and ME and maybe even 98, ships with the Windows Scripting Host. One of the languages supported by WSH is VBScript ("Visual Basic Script").

    VBScript is surprisingly capable. Read more about it here.

  52. Memories of First Programming by 4of12 · · Score: 2, Informative

    ...of typing in BASIC programs on a Teletype with a large roll (yes, just like bathroom towels) of yellow newsprint on a Data General Nova.

    And, to write and read my program - paper tape!

    In those days, having a machine do math for you, math that would otherwise be tedious crunching by hand, gave me a sense of wonder and power.

    --
    "Provided by the management for your protection."
  53. Maximum Program Length by c0d3r · · Score: 2, Funny

    Belive it or not back in the dos 2.x with basica / gwbasic i was writing a chess program and hit the maximum line number. its 32k lines from line number 1 with each line incremented by 1. It simply told me "Out of memory"

  54. Re:Dijkstra said it best ...not by panurge · · Score: 5, Interesting
    Edsger Dijkstra is all too typical of the arrogant academics who gave rise to Shaw's comment "Those who can, do, those who can't, teach. He's like the academic fanboys who argue that PostgreSQL is a real RDBMS, MySQL can't really be used for anything serious.

    Don't believe it, kids. If your brain hasn't been ruined by age 7, you can unlearn any bad habits you pick up. His remark is of a stupidity level equal to "if you learn French at school, you won't be able to learn German."

    As a matter of fact, not only did I once inherit a program that someone had written - well - on a BBC micro that was a pleasure to maintain, I once myself had to write a quick and dirty assembler for an obscure microprocessor in HP Basic, having no other resources available in a crisis. Despite which I have never once had the urge to use labels in C.

    --
    Panurge has posted for the last time. Thanks for the positive moderations.
  55. Damn! by alazar · · Score: 2, Funny

    I miss line numbers and GOTO

    --
    True friends are hard to come by... I need more money. - Calvin
  56. Or.... by AtariAmarok · · Score: 2, Insightful
    "Now in programming languages the use of GOTO usually means that the programmer didn't really think about reasonable controlling structures and it tends to generate nondeterministic-for-practical-purposes behaviour"

    Or the programmer did think about it, and the use of the GOTO (or equivalent "jump over here!" coding tool) caused no problems in regards to these issues.

    --
    Don't blame Durga. I voted for Centauri.
  57. Obligatory AYBABTU by elrick_the_brave · · Score: 2, Funny

    5 REM AYBABTU NEVERENDING
    10 PRINT "In A.D. 2101"
    20 PRINT "War was beginning."
    30 PRINT "Captain: What happen ?"
    40 PRINT "Mechanic: Somebody set up us the bomb."
    50 PRINT "Operator: We get signal."
    60 PRINT "Captain: What !"
    70 PRINT "Operator: Main screen turn on."
    80 PRINT "Captain: It's You !!"
    90 PRINT "Cats: How are you gentlemen !!"
    100 PRINT "Cats: All your base are belong to us."
    110 PRINT "Cats: You are on the way to destruction."
    120 PRINT "Captain: What you say !!"
    130 PRINT "Cats: You have no chance to survive make your time."
    140 PRINT "Cats: HA HA HA HA ...."
    150 PRINT "Captain: Take off every 'zig' !!"
    160 PRINT "Captain: You know what you doing."
    170 PRINT "Captain: Move 'zig'."
    180 PRINT "Captain: For great justice."
    190 GOTO 5

    --
    (1st sig) If this were a snappy sig, you'd be reading it right now. (2nd sig) I'm a karma whore. >Insert FUD here
  58. And lo...... by crivens · · Score: 3, Funny

    And lo, thousands of people suddenly decided to call themselves excellent programmers!

  59. REALbasic by Anonymous Coward · · Score: 2, Interesting
    And now, 40 years later, the easiest way to write apps for Linux (which, coincidentally, also run on Mac OS Classic, Mac OS X, and Windows) is a product called REALbasic.

    It's not your father's BASIC. It's a great RAD environment, with a language much more heavily influenced by Python than BASIC. You can write plugins in C/C++ to make the things that need to run super fast run super fast.

    My company uses this product to build products that generate several hundred thousand in revenue per year. Our tools budget is under thousand dollars per year, mostly spent on REALbasic.

  60. Re:WHY! WON'T! IT! DIE! by linuxtelephony · · Score: 2, Funny

    Odd, I thought it was because BillG only knew how to write in Basic, so the company had to keep a basic product alive so he could do some programming too.

    --
    . 62,400 repetitions make one truth -- Brave New World, Aldous Huxley
  61. shouldn't that be... by Chuck+Bucket · · Score: 3, Funny

    45 IF $ARTICLE="BASIC" GOSUB 60
    60 PRINT "COOL! I USED TO PROGRAM ON MY APPLE //e IN APPLE BASIC! I COULD MAKE BAD GRAPHICS AND ASCII ART ALL DAY WITH MY 80 COLUMN EXPANSION CARD!"
    70 GOTO 50

    CVS

  62. BASIC turns forty... by JayJay.br · · Score: 3, Insightful

    ...yet most of its story got lost in write-errors on unreliable cassette tape recorders attached to thousands of ZX SPECTRUMs.

    Forgive me, it must be that brain damage everybody's talking about around here.

    And yes, my code sucks. Even in BASIC. And that was 15 years ago.

  63. BASIC Sex Ed by Throtex · · Score: 5, Funny

    Don't forget to PEEK before you POKE!

  64. The old days were better for beginners. by Theovon · · Score: 5, Insightful

    Computers died for me the day the stopped shipping them with built-in BASIC.

    Seriously, though. The computers of the 80's were great for learning programming on. Not that BASIC is a good teaching language, but it was accessible and simple.

    Modern computers have too many features that you want serious programmers to have access to (complicating languages), and modern languages have all sorts of safety, structure, and OO features that are great for serious programmers but also complicate things for beginners.

    Breaking into programming is much harder than it used to be.

  65. Whow... by Anonymous Coward · · Score: 3, Funny

    I didn't know you could insert hyperlinks into BASIC programs... Guess I missed that last update. =P

  66. Put it a different way... by darkonc · · Score: 2, Interesting

    #!/usr/bin/perl
    # REM nam37 codes
    X10: print "In 1963 two Dartmouth College math professors had a radical ";
    X20: print "idea - create a computer language muscular enough to harness ";
    X30: print "the power of the period's computers, yet simple enough that even ";
    X40: print "the school's janitors could use it.\n";
    X50: end

    # (don't ask me why I did this...)

    --
    Sometimes boldness is in fashion. Sometimes only the brave will be bold.
  67. Re:WHY! WON'T! IT! DIE! by bigberk · · Score: 2, Funny

    I think Microsoft's BASIC was GW-BASIC, which I was told stands for Gates, William (Bill)

  68. Re:Today we use Bash by Jorkapp · · Score: 4, Funny

    At first I was considering having my sig in BASIC:

    10 PRINT "Jorkapp is a Programmer"
    20 GOTO 10

    but it was too - Basic. IMO, my sig in C is more 1337.

    --
    Frink: Nice try floyd, but you were designed for scrubbing, and scrubbing is what you shall do.
  69. Re:WHY! WON'T! IT! DIE! by dasmegabyte · · Score: 2, Informative
    Windows shipped with a free basic interpreter (sadly, those days are over)

    Au contraire. Open Notepad. Type in:
    Dim message
    message = "Hello World!"
    WScript.Echo message
    Save it as Hello.vbs. Then, double click on it. Your program will be loaded and interpreted by the Windows Scripting Host, a batch processing system that's been available for Windows since 1998 and installed by default as of 1999. It allocates a variable called message, assigns the string "Hello World!" to that variable, and then passes the Variable to a static function of the globally available object WScript, which echos the message to the screen.

    This works in ME and 2k, might work in XP as well (though hopefully they locked it down). VBScript is just one language used by WSH (JScript is another, and plug ins exist for Perl, Python, Ruby, etc). WSH offers programs written in these languages access to any and all COM objects, which gives access to most Windows functionality. It's goddamn powerful...which is why it's used by such deadly viruses.
    --
    Hey freaks: now you're ju
  70. 10 PRINT "3-2-1 Contact Got Me Started with BASIC" by Sigh+Phi · · Score: 4, Interesting

    I was introduced to BASIC first on a friend's Apple IIe and subsequently on my own first computer, an original Macintosh.

    First programs included the standard:

    10 print "Enter your name: "
    20 input NAME$
    30 print NAME$ " is a doofus."
    40 goto 30

    About that time, I started getting 3-2-1 Contact Magazine, a science and nature periodical written for kids who had grown out of Sesame Street and The Electric Company. In the back of every issue was the "BASIC Training" feature, which had simple games and programs for a variety of platforms. The IBM versions were usually the only ones I could use; Apple IIe and Commodore 64 PEEK and POKE calls were meaningless in Mac MS-BASIC.

    But later, BASIC facilitated an (extremely sketchy) introduction to the Macintosh toolbox. MS-BASIC on the mac had built-in pseudo toolbox calls so that you could change fonts, draw graphics primitives and buttons. I ended up writing a grade tracking program that was a snare of interwoven GOTOs and GOSUBs.

    I breezed through two years of programming courses in high school and learned C in my own time. Looking back, I'm a little ticked off that my HS didn't offer "real" computer science with Pascal or C or any sort of AP treatment.

    Then I learned Perl. Now I do websites. I've forgotten most of BASIC. I have been told this is a good thing. But sometimes (actually, lately, more and more) I have to deal with VBScript and I see "LEFT" and "MID" and I think "what the hell is this crap?"

    Ah, memories.

  71. I feel sorry for all the BASIC bashers by exp(pi*sqrt(163)) · · Score: 4, Insightful

    A real programmer can extract useful work from anything from a pile of matchboxes to a state of the art cluster without bitching.

    --
    Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
    1. Re:I feel sorry for all the BASIC bashers by diamondsw · · Score: 2, Insightful

      However, if he has better alternatives (which the bashers are assuming is the case), then he is a fool for extracting work from a less efficient tool.

      --
      I don't know what kind of crack I was on, but I suspect it was decaf.
    2. Re:I feel sorry for all the BASIC bashers by exp(pi*sqrt(163)) · · Score: 2, Insightful

      Efficiency! Please! My first computer had a BASIC interpreter in 4K of ROM used only 1K of RAM. I think it's the BASIC programmers of the late seventies and early eighties who should be giving the lessons in efficiency.

      --
      Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
  72. Re:Troll? Moi? by anethema · · Score: 3, Informative

    GOTO's make spaghetti code. It is very hard to trace through, especially if the code is uncommented. If you end up with a bug, you will have a very hard time trying to trace through your GOTO's to find it.

    Loops and functions keep things neet, organized and structured (assuming a half-competant programmer)

    This isnt a point of view thing. Some things are confusing and some arent, thats just the way it is.

    Try maintaining code full of goto's. Good luck.

    --


    It's easier to fight for one's principles than to live up to them.
  73. Re:Troll? Moi? by forgetmenot · · Score: 4, Insightful

    You don't maintain your own programs then, do you?

    I've had to maintain programs written by developers who, like you apparently, separated out the maintainability aspects from their concept of "well-written" code.

    Well written code does not mean written fast - it means the next guy down the line, after you've moved on and forgotten about it, can easily follow the logic and make changes with minimal effort. GOTO's almost never facilitate this. Please trust your peers on this - it's been debated often enough and long enough by those in the know that it's no longer a subject for reasonable debate. In fact, defending the use of GOTO usually shows one of two things:
    1) Inexperience -or-
    2) Old Age (meaning the behaviour is so ingrained one simply can't comprehend anything different).

    Of course, I'm assuming you have the option to not use GOTO. If the language you use has no control structors other than Jumps and Labels, then obviously you have no choice. But I would argue that even if that's the case, you're probably using an old language for one of two reasons:
    1) Not experienced with anything else -or-
    2) Too old and stubborn to move on to anything else (meaning the behviour is so ingrained that you probably sit alone in the corner pumping out Cobol not even aware that you were laid off months ago and replaced by the Janitor who took a crash course in Javascript). ;)

  74. Re:Today we use Bash by shawn99452 · · Score: 3, Informative

    Your sig in C will also run out of stack space and crash very quickly.

  75. Good enough at the time by psetzer · · Score: 3, Insightful

    Basic wasn't meant to be the end-all be-all computer language. It was a toy language with a very specific purpose in mind, and if everyone remembered it as that, things would be fine. The creators of Basic wrote a book a few years back writing about the design of Basic, and why they made it the way it is. It was meant to be used with a teletype to allow programming while on a computer, allowing quicker debugging and testing than ever before. In order to allow it to be compiled quickly, it had extremely simple syntax. If we just left things at that, there never would have been any controversy.

    --
    "Anyone who attempts to generate random numbers by deterministic means is living in a state of sin." -- John von Neumann
  76. It is a poor musician who blames his instrument... by CarrionBird · · Score: 4, Insightful

    Nothing stopping you from using structure in BASIC but your own mind.

    --
    Free Mac Mini Yeah, it's
  77. 1K Adventure by UdoKeir · · Score: 5, Funny

    This one used to tie people up for a few minutes...

    10 PRINT "You are in a cave."
    20 PRINT "Go N, S, E OR W?"
    30 INPUT A$
    40 GOTO 10

  78. In defence of BASIC by BlightThePower · · Score: 5, Insightful
    Yes, BASIC fosters bad programming habits. However, this isn't really the point. Let me explain why.

    1. When I and many other people started out with computers, BASIC was the only game in town. Yes, there was assembler and other languages, but its easy to forget these days that information was hard to come by pre-web and indeed, for children who don't have the disposable income for specialist magazine subscriptions. Libraries typically had a couple of computer books, but these would be non-specific description books (that no longer exist as genre really) explaining that a computer had ROM, RAM and you could hook it up to a printer and a VDU! etc. etc. They had hand-drawn "screenshots" of space invaders and pac-man. BASIC was easy enough that we could get started without being put off. On Slashdot its easy to be intellectually macho, but theres a lot to be said for a low learning curve that encouraged you ever onward.

    2. BASIC today. Well, its probably not for serious programmers. However, what is often forgotten here is that not everyone who programs is a professional programmer. Or wants to be. For very simple programs, GOTO is no sin. At least when the alternative is no program at all and, say, organising data in a text file by hand or "manually" in Excel or something. Bad habits are not a problem here, because one is never going to go on to have to write mission critical software in C or whatever. I know there are modern scripting languages that are perhaps just as easy to use, but you might be surprised how many people you might have thought have difficulty programming a VCR will break out QBASIC or VB when they need 20 line quicky knocking together and the programmers are "busy until further notice". Its easy to belittle this from a position of knowledge and authority, but relatively speaking these people are your friends in a landscape of PHBs that think programs just happen.

    So in conclusion, BASIC is often better than nothing. That might sound like feint praise, but like I say, for the non-specialist that can be quite a valuable thing. Computer programming for the masses. Mock it at your peril.

    --
    Plays violent online games as: Nerfherder76
  79. Re:Look at all these posts. by IWannaBeAnAC · · Score: 5, Funny
    Here's a clue kiddies
    Haiku in English is dumb
    Add last line next time

    ;)

  80. Re:It is a poor musician who blames his instrument by WWWWolf · · Score: 2, Insightful

    Remember, that was about old BASIC dialects, not the embraced-and-extended-for-the-love-of-god-and-good -of-the-mankind Microsoft dialects.

    Yeah, it's possible to do OO coding in Commodore 64 BASIC v2 if you do it right. *sigh*

    Still, writing structured programs would be very cool if BASIC interpreters of those days would have supported things like return values, local variables and subroutine arguments... (You can GOSUB 2390 all you want, just don't expect the language to pass data around.)

  81. Re:Troll? Moi? by JavaLord · · Score: 5, Interesting

    GOTO's make spaghetti code. It is very hard to trace through, especially if the code is uncommented.

    Ever tried to sift through someone's OOP program that is poorly documented and methods are badly named? It's just as bad. Ever seen a method that calls six others methods in different objects in it's body which are all overloaded 5 or 6 times? Bad/Sloppy programming spans all languages and isn't confined to a goto statement.

    How about poorly named method signatures? For example

    String getNumber(String x, int i, boolean q, vector a)

    I've seen crap like this before from programmers.

    Try maintaining code full of goto's. Good luck.

    No it's not the best thing in the world to do, but if it's well documented it's not as bad as you make it out to be. I started out in basic when I was 7, and I work now as a Java programmer. I would gladly take well commented code with GOTO's over poorly done OOP code.

  82. I'm a janitor! by njord · · Score: 3, Funny

    You insensitive clod!

  83. sig by dustman · · Score: 2, Funny
    I was trying to figure out where your sig is from.
    ```si`k``s.H``s.e``s.l``s.l``s.o``s.``s.w``s.o`` s. r`` s.l``s.d``s.!``sri``si``si``si``si``si``si``si``si `ki
    I am somewhat into programming language theory, and I have seen the pages of alternative languages... It looks to me like the "Hello World" program in one of the languages that just uses the primitive combinators.

    But, what is funny: I paste it into google, and it says:
    Did you mean: ```si`ks.H``s.e``s.l``s.l``s.o``ss.w``s.o``s. r`` s.l``s.d``s.!``sri``si``si``si``si``si``si``si``si `ki
    Heh... did I mean to use somewhat random-looking string of characters A, or did I really want somewhat random-looking string of characters B?
  84. QBasic by Professr3 · · Score: 2, Interesting

    If you're looking for a good version to play around with, check out QBasic 4.5 or 7.1 (off abandonware sites). It can use assembly libraries for graphics and stuff... I once wrote a windows clone using the DirectQB libraries. It can compile to .COM or .EXE too!

  85. Re:Today we use Bash by ajs318 · · Score: 5, Informative
    Better to use something like
    int main() { /* i wish this thing would indent properly */
    for (1;1;1) { /* will loop forever */
    printf("ajs318 is a better programmer than Jorkapp\n");
    };
    };
    Repeatedly calling main() from within main() probably would overflow the stack. It's the equivalent of using GOSUB in BASIC when you meant GOTO -- GOSUBs and function calls have to remember where they were called from, which is what a stack is used for. If the compiler you were using was tolerant enough that you could declare void main(), then it would last about twice as long before crashing and burning, due to not having to temporarily remember an integer it's later going to have to throw away.
    --
    Je fume. Tu fumes. Nous fûmes!
  86. BASIC? That's too newfangled for me! by wcrowe · · Score: 5, Funny
    11 FORMAT(1X,"I'M SO OLD THAT MY")
    12 FORMAT(1X,"FIRST PROGRAMMING LANGUAGE")
    13 FORMAT(1X,"WAS NOT BASIC")
    WRITE(1,11)
    WRITE(1,12)
    WRITE(1,13)

    99 STOP
    END
    --
    Proverbs 21:19
  87. My first BASIC project by bshroyer · · Score: 4, Funny

    I was one of four students in a pilot program in 4th grade (1980) wherein we learned BASIC programming (Apple II) and "New Math" (don't even get me started.)

    After learning the basics, I started my first project - a random text generator. I wanted to see if, left to its own devices, the Apple II would eventually reproduce the works of Shakespeare. Or at least, produce a few dirty words on its own.

    I spent two days coding (never having used a keyboard before, typing was arduous)
    The program went like this:

    10 A=INT(RND(1)*30) +1
    20 REM
    30 IF A=1 THEN $B="A"
    40 IF A=2 THEN $B="B"
    ...

    340 IF A=30 THEN $B="."
    350 PRINT $B;
    360 GOTO 10

    If I recall, there was no "copy" or "paste" function in the boot ROM AppleII BASIC. Typing this was hell on my 9-year-old fingers.
    The good news is, the program worked. The bad news is, after I'd finished it, the teacher showed me how to cut 29 lines out of my program using the $CHR() function. I wanted to shoot him.

    All in all, BASIC served me well. It's a great intro programming language for pre-teens.

    --
    The cure for cancer is coming: Reovirus
  88. My favorite basic program... by Xaroth · · Score: 2, Funny

    10 POKE RND(9999),RND(9999)
    20 GOTO 10

    You never knew what it would do! Sometimes nothing, sometimes it'd play music, sometimes it'd draw pictures! It was great!

  89. Re:Look at all these posts. by Anne_Nonymous · · Score: 2, Insightful

    >> Haiku in English is dumb.

    Yes, but it has huge comedic potential.

  90. Learn to count! by joel.neely · · Score: 4, Informative

    The program's source is the haiku, not its output.

  91. Re:Now we know when it was born... by Patrik_AKA_RedX · · Score: 2, Insightful

    Sorry to destroy your dream, but Basic is very alive and isn't going to die very soon. Check out Bascom for example.
    And as computers keep getting faster, soon Qbasic will run just as fast on a P8 2THz as assembly on a 486DX 66MHz.

  92. Arithmetic goto's by johnjaydk · · Score: 2, Interesting
    You don't know what debugging is until you've tried debugging a program with arithmetic goto's:

    50 goto x*100+1000

    And of course x is a float not an integer. Ahh those were the days...

    This technique of course requires very carefull line numbering of different parts of the code but it's wicked fast and defies any attempt at reverse engineering.

    --
    TCAP-Abort
  93. Bah. Scheme is better for haikus. by BitwizeGHC · · Score: 2

    (define (cube-of (x))
    (* x (* x (* x 1))))

    (+ (cube-of 2) 9)

    Evaluate that to get the number of syllables in a haiku. ^_^

    --
    N4st0r, trixx0r h0bb1tz0rz! Th3y st0l3 0ur pr3c10uzz!
  94. Re:Dijkstra said it best ...not by GlassHeart · · Score: 2, Insightful
    Edsger Dijkstra is all too typical of the arrogant academics who gave rise to Shaw's comment "Those who can, do, those who can't, teach."

    I disagree. Dijkstra is credited with numerous important fundamental algorithms, so he most certain "can". This isn't to say that he isn't arrogant, or that there aren't arrogant professors who "can't". This is to say there are those who are arrogant, and "can".

    I have no problems at all with you criticizing various things he said or stood for. Just because he is smart enough to discover algorithms doesn't mean that he is beyond reproach. However, to say he "can't" I'm tempted to ask what you have done for computer science.

  95. Before we dismiss BASIC as a simple language by alphakappa · · Score: 5, Insightful

    That is its biggest strength.

    I remember how I got into programming in school - we had these BBC computers which could run BASIC. The language was simple enough for me to understand and intuitive enough for me to actually like programming. (Before that I had seen an aunt learn COBOL and the very look of the language frightened me)

    Sure, BASIC is not as advanced as C, BASIC uses GOTO statements, BASIC (not QBASIC though) uses archaic line numbers (but still not as archaic as the Fortran 77 tradition of having to write everything after 7 spaces), but BASIC is the best tool to introduce an enthusiastic person to the world of programming. See this example: In BASIC you would show the person:
    10 PRINT "Hello World"
    20 END

    Bingo, the person magically sees his first program work. Try the same thing with C:
    #include
    int main(){
    printf("Hello World\n");
    return 0;
    }

    See how much more you have to explain? Ever tried to explain stdio.h and int main to someone? :-) Once you introduce a kid to the concepts of do loops, for loops and if..then statements, it is so much easier to learn a complicated language like C. It's a pity you don't have QBASIC shipping with Windows machines any more. Vbscripting is not at the same intuitive level.

    --
    "When the only tool you own is a hammer, every problem begins to resemble a nail." - Abraham Maslow (1908-1970)
    1. Re:Before we dismiss BASIC as a simple language by Repton · · Score: 3, Insightful

      Yeah, my uni teaches Java to first years. Java is a nice language (and the uni programmers put together a library to hide most of the exception handling) ... but your first program looks like this:

      public static void main(String[] args) {
      System.out.println("Hello world!");
      }

      We were basically taught to type "public static void main string args" as an invocation that we would (hopefully) come to understand more in later weeks...

      --
      Repton.
      They say that only an experienced wizard can do the tengu shuffle.
  96. Never forget what BASIC stands for... by Rick+Genter · · Score: 2, Informative

    Beginner's

    All-purpose

    Symbolic

    Instruction

    Code

    Note the emphasis on Beginner's.

    Served me quite well in high school...<sigh/>

    --
    Don't underestimate the power of The Source
  97. Office Max, Casio Basic Calc $5 by hiroshi912681 · · Score: 3, Interesting
    last week, Office Max had a sale on these Casio graphing calculators (usually about $80) for $5. I picked up one, naturally. I should've picked up more. You never know when you'll run into some problem that BASIC could easily solve. Unfortunately, I haven't figured out how to convert minutes to hours:minutes format with it... for the program I'm working on.

    When I vacationed in Canada a few years ago, I took my TI-83 to convert currency and measurements for me. But, I found an even bigger need during the trip... converting CDN$ per litre of "petrol" to USD per gallon of gas. Things made a lot more sense at the pump.

  98. Re:Dijkstra said it best ...not by MythMoth · · Score: 2, Insightful

    Dijkstra was in a good position to be arrogant.

    He "did" as well as taught - you might like to read up on him a bit before putting your foot in your mouth.

    And, incidentally, good teachers are worth a thousand "arrogant" programmers who think they know better.

    D.

    --
    --- These are not words: wierd, genious, rediculous
  99. Re:Today we use Bash by mog007 · · Score: 2, Informative

    Bah... a real coder's infinite for loop doesn't have ANY numbers.

    for (;;)
    printf("STOP MEEEEEEEEE\n");

  100. Re:Look at all these posts. by screwballicus · · Score: 3, Interesting

    But none will offer anything but the verbatim dronings of their professors, which they seem to feel are gods. Forgive my condescending chuckle.

    I think you'll find that literary critical academics are well aware of the preferences of certain languages for certain poetic techniques.

    Hexameter (six stress verse) is considered wonderful in French early modern poetry, and almost always terrible in English early modern poetry (Sidney uses it, but his hexameter isn't given particularly great credit).

    Quantitative measure is considered to have worked wonderfully in classical Greek, but is accepted as essentially impossible in English (Coleridge semi-successfully attempted it in Christabel).

    A Petrarchan sonnet's composition in English is an exercise in frustration and a Shakespearean sonnet's structure in Italian uncomfortably abrupt.

  101. Unfortunately... by cr0sh · · Score: 2, Insightful
    ...you can only write your code on Windows and Mac, then cross-compile to Linux - there isn't a native Linux/X REALbasic environment available (yet - and I haven't seen any movement in that direction, either).

    I believe the lack of a good version of the BASIC language is what is holding back Linux in a small manner. Microsoft, by making it easy to customise their regular applications (via VBScript) and write new applications (via VB), allowed companies and individuals to quickly roll out software for both profit and fun. Until Linux has this ability, we will continue to be a second-level player in many circles.

    Fortunately, we do have a couple of languages that allow (after a sort) RAD software development - Perl, Python, and Tcl/Tk are all excellent languages for today's business application development. However, they lack the GUI IDE that has made VB what it is - the ability to rapidly slap together a form and some code behind controls, compile and run with a single click - and BAM! - an instant GUI application! Furthermore, none of these languages (ok, the exception would likely be Python) are as easy to learn as BASIC, and Python only wins out because it looks and feels a lot like BASIC in many respects.

    I just don't understand the hatred people have of BASIC - it's a language syntax, people! I have often wondered how hard it would be to make a simplified version of BASIC that could be easily parsed/converted by Perl to C, then compiled with gcc (basically, it would be C, but with a lot of BASIC "look" to it). GOTO's were banished a long, long time ago. BASIC could easily be object-oriented - it's just a syntax.

    Something makes me think people dislike BASIC because of the idea that it would make them less of programmers by using it (f'd up pyschology or something, I think) or knowing it. All it would do is make them faster programmers - as long as it compiles down to native, why not make the syntax of the language as simple as possible, provided it gets the job done. BASIC can do this!

    Finally, there are some "good" BASIC's out there for Linux - one is XBasic, the other is Blassic. XBasic is a form of BASIC that looks and acts like a cross between VB, C and QBasic - fairly fast, compiles to native, and open-source (GPL, I believe) to boot!

    Blassic is what could be called "classic BASIC" - fairly easy to port stuff from GWBASIC and some QBasic over to it. It is done pretty well (though the documentation could use some work/updating - I put out an update a long time ago while playing with it) - it is interpreted, but it runs very fast on today's systems, plus it has some extra features old BASICs didn't. Search for both of these with Google - I think you will be surprised at what is out there!

    --
    Reason is the Path to God - Anon
  102. If Not for BASIC... by reallocate · · Score: 2, Insightful

    ...the PC revolution would have been a lot less revolutionary, if it happened at all.

    The simple, limited, but comprehensible BASIC found in all those Apples, Commodores, Ataris, TI's, etc., showed people that even they could control a computer.

    BASIC is about putting ordinary people in charge of their computers, not corporations...or crusading free software elitists whose idea of "ordinary people" are 1982 MIT graduates.

    --
    -- Slashdot: When Public Access TV Says "No"
  103. GNU Basic by R.+M.+Stallman · · Score: 2, Informative

    I would like to draw Slashdot readers' attention to the GNU/Liberty Basic Compiler Collection as a free alternative to proprietary implementations.

    --
    You can read more about the GNU project at http://www.gnu.org/.
  104. Re:Today we use Bash by BigMattG · · Score: 2, Informative

    Recent versions of GCC are actually smart about
    simple cases of tail recursion and are probably
    smart enough to expand the call into a loop.

  105. Stupid computer trick... by Foo2rama · · Score: 2, Funny

    Man i forgot about basic.. it is annoying that I can still write in it. 10 rem piss of teacher 20 for x= 1 to 10000 30 if x = 10000 then goto 60 40 next x 50 goto 20 60 ? (apple g) 70 goto 60 in applesoft basic apple g was a beep and ? was shorthand for print. I would write this at the end of class turn off the monitor and sometime during the next class period the computer would start beeping constantle.. wow I am a dork...

    --


    ---In a time of Chimpanzees I was a Monkey.
  106. Windows NT, CMD + QBASIC by os2fan · · Score: 5, Interesting
    All versions of OS/2 and Windows NT/2K/XP ships with a copy of qbasic 1.0, while DOS 6, and windoze ME/9x ship with qbasic 1.1.

    All of these can be started as an editor, eg QBASIC / EDCOM

    On the other hand, only vers 1.1 can read the dos help file HELP.HLP.

    Amusingly, Windows understands what a QHELP file is, that if you click on a quickbasic help file, it says 'this is a DOS help file', whereas any other help file (eg 4dos.hlp), it says "unknown format".

    In any case, basic shipped with msdos, because in older times, computers had a rom-basic in their bios.

    GWBASIC is a standalone emulator for graphical workstations (ie workstations that replaced the rom-basic with video memory).

    BASIC in its raw form continues to affect the way that COMMAND.COM and CMD.EXE work. For example, if one does a test, and it is false, the rest of the line is skipped. In the sample below, we see two statements, separated by an &. If one makes the if statement, one gets neither command, while if the statement is true, both work.

    if "1"=="1" echo 1 & echo 2
    One can implement a die style command by this, or by replacing echo with set, pass a parameter to a subroutine.
    if (condition) echo something & goto :end
    In any case, it's dodgy.
    --
    OS/2 - because choice is a terrible thing to waste.
  107. So, they are the guilty ones! by daem0n1x · · Score: 2, Insightful

    Because of those bastards, now I'm being forced to program in VB (sigh)!

  108. Re:Today we use Bash by cosmo7 · · Score: 4, Funny

    I've never understood why you use a for loop for something like that and not a "while (1)". Can someone clue me in?

    while(1) sounds like the Queen talking.

  109. Re:Today we use Bash by ignavus · · Score: 2, Informative

    Why write "for (1;1;1)" ?

    According to K&R, it is perfectly OK to leave out any - or all - of the expressions inside the "for" loop header, and they themselves use "for (;;)" to implement an infinite loop. It means "loop without any initial action, without any test after each iteration, and without any action after each iteration".

    A "while(foo)" loop is exactly the same as "for (;foo;)". "for" loops are very versatile.

    --
    I am anarch of all I survey.
  110. 1001 Things by arunkv · · Score: 2, Interesting

    When I was playing around with BASIC a long time ago, besides the details GWBASIC manuals from Microsoft, the other book that I really enjoyed was 1001 Things To Do With Your IBM PC. That book described so many things that could be done with BASIC. Best of all, it was not a listing of complete programs but rather tools and program snippets combined with ideas for building cool programs.

  111. C64 by maggern · · Score: 2, Funny

    Remembering that me and my brother sometime around 1988 (we were 10 years) typed a program from the manual into our commandore 64. In basic naturally.

    The program was pretty long (or at least we felt so) but after a while we were finally finished!

    But we couldn't figure out how to start it. We checked the manual like a 100 times, but didn't find any solution. So eventually, we had to turn it off...bummer!

    Later we learned that we just should've typed in the command "Run". :-/

  112. Just not true by walterbyrd · · Score: 2, Informative

    Compiled BASIC, with functions, procedures, case structures, record types, local variables, etc. has been around about 25 years.

    You can write a program in MS-BASIC that's as well structured as any other language.

    If done correctly, BASIC is a remarkably readable language. And just about any BASIC created in the last 20 years has the features of FORTRAN and COBOL.

  113. The BASIC of our age by kris · · Score: 2, Interesting

    The is the 21st century. The BASIC of our age is PHP.

    Many people are making their first ventures into the world of programming by renaming a .html file to .php and carefully inserting their first PHP tag into it. "Hello, world" often is or for many.

    Any not just young people - buy webspace, get PHP is the standard now over here, and why not try it, if it is so simple.

    Rasmus, Zeev and Andy, they really deserve much good karma for creating the language that made web programming accessible to so many.