Go Back   Science Forums > Physical Sciences Forums > Computer Science and Technology
Reply
 
LinkBack Thread Tools
Old 04-28-2005   #1 (permalink)
Buffy's Avatar
Resident Slayer

Administrator

Location:
Sunnydale, CA
 
Buffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond repute
 



Not Ranked  0 score     
Basic: Programming Language or Corrupting Influence

Its been a little over 40 years since Basic was first inflicted upon the computer world as an "easy" way for mortals to learn programming thanks to John Kemeny and Tom Kurtz at Dartmouth. While designed long before anyone knew anything important about how to design programming languages, it has gone on to become probably the most widely used programming language in history.

Some consider Basic an atrocity going back to Edsger Dijkstra's "Goto Considered Harmful", his oft referenced diatribe on Basic to the ACM in 1968, and most "computer scientists" to this day are horrified that anyone would consider using it for anything

It had a huge second chance though by virtue of the fact that Microsoft included it in the DOS operating system, and later pushed it heavily with VisualBasic, and even Borland, which was founded on trying to get people to use Pascal, broke down and produced a TurboBasic. While the language has changed dramatically to be more inline with structured programming techniques (line numbers long ago disappeared), it still has many weaknesses from a programming language theory stand point. In recent years even Microsoft has tried to move its users away from Basic to its C# language, and has met with such an uproar from the huge number of companies (even very large ones) that depend on VisualBasic.

Resolved: Basic has its flaws, but its okay to program in. Discuss.

("Note to self: Next time, duck." <ducks/> )

Cheers,
Buffy


----------------
"If you do not agree with anything I say, I'll not only retract it, but deny under oath that I ever said it!"
__________________________________________________ ______________-- Tom Lehrer

"No Robbie, not Europe!"


Forum Administrator
Hypography Science Forums - Science for Boys and Girls! Its not for nothing that we hang out here.
Reply With Quote
Old 04-28-2005   #2 (permalink)
pgrmdave's Avatar
Existing

Administrator

Location:
New Jersey
 
pgrmdave is a splendid one to beholdpgrmdave is a splendid one to beholdpgrmdave is a splendid one to beholdpgrmdave is a splendid one to beholdpgrmdave is a splendid one to beholdpgrmdave is a splendid one to behold
Send a message via AIM to pgrmdave
 



Not Ranked  0 score     
Re: Basic: Programming Language or Corrupting Influence

My first computer language was qbasic, which I learned in fifth grade looking over my brother's shoulder as he did his programming assignments for high school. I remember just playing around with it for hours, trying to program my RPG...I was never able to get the combat system working well enough.


----------------
Hypography Forum Administrator
Reply With Quote
Old 04-28-2005   #3 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
Re: Basic: Programming Language or Corrupting Influence

I often think about this, as a matter of fact. I started off with BASIC on a Sinclair ZX-81 back in 1983 or something, then moved on to the Spectrum before I got my first PC in 1986 (a double 360K floppy/no harddrive 8088 thingy).

But the Spectrum was interesting because it had a ROM filled with assembly code. Basically, you could write tiny programs in assembly which used the premade stuff (the same things you called in BASIC, except taking up less space and not needing compilation). So while BASIC was good for learning simple program flow - and getting comfortable with how a computer behaves - assembly was for me a much more interesting language.

On the PC I did some 8086 assembly, which resembled Z80 assemly quite well if I remember right, except there was no ROM filled with goodies so I ahd to make all the libraries myself. So when I discovered Pascal a new world opened up...it had the ability to build functions and a skeleton object-oriented program.

But I lost interest in programming after I decided to study music full time, so I didn't touch a computer (for programming) between 1989-1995. Then suddenly I began developing websites.

While it's good to have programming experience when you create websites (flow, objects, etc) I think it is really a huge step backwards to work with basic HTML and CSS. I have never had the time to properly learn, say, C++ or Java (or even C# now) to create my own components and stuff, but I have worked with ColdFusion since 1995 and also a brief stint at ASP plus some very rudimentary PHP.

While web application programming is fun, it is not nearly as fun as programming in "real" programming languages.

But, er, the point. I think Basic is a Good Thing. It is easy to learn, it is fun to work with, and it can be deployed on a vast amount of desktops - now with .NET integration Basic is even more useful for those not interested in C++ etc.

I think it has some major drawbacks, though - if I'm not mistaken programs written in Visual Basic will only work on Windows, and only certain flavors, whereas C++ programs, for example, can be compiled for any platform.


----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Old 04-28-2005   #4 (permalink)
Rincewind's Avatar
Questioning


Location:
melbourne.au (or near enough to)
 
Rincewind is a jewel in the roughRincewind is a jewel in the roughRincewind is a jewel in the rough
 



Not Ranked  0 score     
Re: Basic: Programming Language or Corrupting Influence

I learnt to program in basic (Commodore Basic, that is) on a Vic20, then a Commodore 64. Because it's such an easy language to follow, and probably because I never really need to program anything really complex (except HTML, but I use HTML for that), I still use it on the PC for quick-n-dirty programs.

I've used Liberty Basic for this for quite a few years -- still works with WinXP.
Reply With Quote
Old 04-28-2005   #5 (permalink)
Turtle's Avatar
Percipient

Platinum Subscription
Sponsor

 



Not Ranked  0 score     
Exclamation Re: Basic: Programming Language or Corrupting Influence

___I began my programming with Basic on a double 5 1/4" floppy 8088 machine I got through a home-study computer course. It was GWBasic, sometimes refered to as 'Gee Whiz' Basic.
___I began using it to run math experiments, particularly cellular automata, & as my programs grew I hit the wall; the dreaded 64K code barrier. The solution I found was the Borland product Buff mentioned, TurboBasic. I didn't know it was supposed to ease me into Pascal (I did once take a course in Pascal), but it did break the 64K code barrier and it is a compiled Basic, not assembled. One keystroke generates an .exe file.
___I still use it because I am as simple as it. My manual for TurboBasic burned up though in a house fire & I once went to the famed Powells Books in Portland but to no avail. I get by only by having old programs to review as to proper syntax etc.
___I don't know how that all falls out on the corruption issue; I leave that for you all to discern.


----------------
semantics is not always just pedantic quibbling. ~ douglas r. hofstadter

Last edited by Turtle; 04-28-2005 at 02:33 PM.. Reason: pour speeling & hasty posty
Reply With Quote
Old 04-28-2005   #6 (permalink)
C1ay's Avatar
¿42?

Administrator
Senior Editor
Editor

Location:
33.78N 84.66W
 
C1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond reputeC1ay has a reputation beyond repute
 



Not Ranked  0 score     
Re: Basic: Programming Language or Corrupting Influence

Quote:
Originally Posted by Tormod
I often think about this, as a matter of fact. I started off with BASIC on a Sinclair ZX-81...
Me too. I liked the fact that so many of the keywords were just a shifted keystroke instead of having to type out the whole keyword. I liked doing machine code on that machine as well and it made much better use of the 1kb of memory the machine came with and my 2kb expansion cartridge


----------------
Clay

Editor and Forum Administrator
stego anyone?
Add yourself to Hypography's Frappr.
"There are only 10 kinds of people in the world --
.....Those who understand binary, and those who don't."
"Draw no conclusions before their time."
Reply With Quote
Old 04-28-2005   #7 (permalink)
Turtle's Avatar
Percipient

Platinum Subscription
Sponsor

 



Not Ranked  0 score     
Talking Re: Basic: Programming Language or Corrupting Influence

___2KB expansion! What in the name of Basic do you need all that for? GETE
___Sadly, I never could get up to speed on machine language try as I might.
___Another feature of TurboBasic was the expanded array variable capability, eg. multidemsional arrays.


----------------
semantics is not always just pedantic quibbling. ~ douglas r. hofstadter
Reply With Quote
Old 04-29-2005   #8 (permalink)
Qfwfq's Avatar
Exhausted Gondolier

Administrator

Location:
Floating On An Ocean Of Hydrogen
 
Qfwfq has a reputation beyond reputeQfwfq has a reputation beyond reputeQfwfq has a reputation beyond reputeQfwfq has a reputation beyond reputeQfwfq has a reputation beyond reputeQfwfq has a reputation beyond reputeQfwfq has a reputation beyond reputeQfwfq has a reputation beyond repute
 



Not Ranked  0 score     
Re: Basic: Programming Language or Corrupting Influence

Gret idea for a topic, Buffy!

My CB: I began using the BASIC of any machine I could get my hands on starting late '70s. Meantime I had obtained a TI-57 and I had found a hypersimple circuit design for the 8060 (SC/MP II) processor with a single-cycle mode and no ROM of any sort, just a 256 byte RAM chip! While I was designing a PCB layout for that, with hex IO on the same board, I also started a point to point wiring of it with just a row of 8 LEDs and 8 + 1 buttons but I only had a coarse wire to use; despite my fine tip 16 W iron I couldn't get the RAM in. I couldn't run an actual program on it but I could form a byte and click cycle and display results by executing an out cycle. My PCB layout turned out to big, as metallized holes are too expensive to have made for hobby purposes I had made it wide, the all-on-one-board choice made it worse. Very silly, young I was...

I finally ordered my ZX80 just as they got the 81 in production and they sent me that. It seemed great despite a few shortcomings. I also did stuff in Z80 assembly, including things for jobs where I also used early MS-BASIC. I later got the Spectrum 48K and what a great BASIC it had! It was very mathematically concieved, unlike other BASICs of the time it was highly expression flexible. No side effects as in C but conditions were expressions worth 0 or 1, you could write
IF anythingnumerical THEN, you could write GOTO 168 * sin x + ln glob and control would go to the next line number, build your very own 'switch' or whatever your wildest imagination could contrive!!!

Since around 2K I've had to use VB6, ugh, the only neat thing I found about it, it still has not only Goto but...

even Gosub!!!!!


A crude thing, of course, but I do believe that in procedural languages it would occasionaly be handy to have procedures inside procedures, maintaining scope. I think PASCAL does but I've never learnt it. C/C++ fiction:
Code:
int function(char* str, Class c){
   void proc(int a){
      str = a<5 ? "blah, blah" : "globble globble!!!";
   }
   stuff;
   proc(c.getPlunk());
   morestuff;
   proc(n + b);
   otherstuff;
}
Quote:
Originally Posted by Tormod
I think Basic is a Good Thing. It is easy to learn, it is fun to work with
Yup, but once you get good at C/C++ you wouldn't do without them, even Coffee although the others are better.

Quote:
Originally Posted by Tormod
Visual Basic will only work on Windows, and only certain flavors, whereas C++ programs, for example, can be compiled for any platform.
True and not true...

VB is essentially Win32 and meant for Win32.

C++ is good for any platform that supports it, you can use it with only standard libraries and a minimal caution and it'll be essentially cross-platform. You can also use it with specific stuff. If you write C code for Win32, it'll only compile and run where you have Win32 i. e. on windows or with layers such as Mainsoft's one for Unix.

Last edited by Qfwfq; 04-29-2005 at 05:02 AM.. Reason: touch-ups
Reply With Quote
Old 04-29-2005   #9 (permalink)
alexander's Avatar
Dedicated Smart-ass

Senior Moderator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
Re: Basic: Programming Language or Corrupting Influence

You know what i really miss in these new languages? goto, where in the world did goto go? it was so awesome, and unlike many claims goto makes some of the code easier to read (when used propperly)....


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Reply With Quote
Old 04-29-2005   #10 (permalink)
alexander's Avatar
Dedicated Smart-ass

Senior Moderator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
Re: Basic: Programming Language or Corrupting Influence

oh and by the way, i think that basic is not a language that should still be teached to people how to program in... i think that Python should take its place, mainly because Python was made to teach people how to propperly program, indent code, right structure... etc


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
language system?! Tim_Lou Philosophy Forums 96 01-13-2005 04:16 PM

» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 27.27%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 45.45%
5 Votes
I'm too macho to think a guy is sexy - 27.27%
3 Votes
Total Votes: 11
You may not vote on this poll.


All times are GMT -8. The time now is 07:36 AM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network