Welcome to Dream.In.Code
Getting Help is Easy!

Join 109,716 Programmers for FREE! Ask your question and get quick answers from experts. There are 2,148 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Is QBASIC still a viable language?

2 Pages V  1 2 >  
Reply to this topicStart new topic

Is QBASIC still a viable language?

kaufman
post 16 Jun, 2007 - 11:27 AM
Post #1


New D.I.C Head

Group Icon
Joined: 29 Apr, 2007
Posts: 37



Dream Kudos: 25
My Contributions


Well i love the language and im just wondering if its up-to-date
and if its a good language to learn for a begginer
User is offlineProfile CardPM

Go to the top of the page


William_Wilson
post 16 Jun, 2007 - 11:31 AM
Post #2


lost in compilation

Group Icon
Joined: 23 Dec, 2005
Posts: 3,564



Dream Kudos: 3275

Expert In: Java, C, Javascript

My Contributions


i cn't think of any realistic use for Qbasic these days, but it is a language none the less. It can teach you loops and such, but i would think C, C++ or Java would be a better starting language, as it will allow you to expand into objects etc.
User is offlineProfile CardPM

Go to the top of the page

NickDMax
post 16 Jun, 2007 - 11:52 PM
Post #3


2B||!2B

Group Icon
Joined: 18 Feb, 2007
Posts: 2,756



Thanked 34 times

Dream Kudos: 525
My Contributions


Let me start by saying that I love Qbasic, I have TONS of qbasic programs that I have written over the years. I believe that QBasic was a great place to learn programming.

The key there is "was". Qbasic is not a great platform since the advent of windows XP. There are many little bugs that occur due to interaction with windows. Not being a GUI oriented language has its drawbacks as well. Although it is technically possible to write a windows program in qbasic -- not that there would be too much qbasic to the program -- the days of MSDOS programing have all but come to an end.

There are still some uses for qbasic as it allows for rapid development of simple programs in a rather easy to use IDE. I think its largest base is probably in scientific computing (one would think they would use state-of-the art tools like MatLab/Mathematica/Java/C++ but I have run across lots of data crunching in Qbasic).

There are some positives to learning in QBasic. One thing is that graphics programming in qbasic is rather low-level and so it can be helpful in learning concepts without having to learn all the overhead of DirectX or OpenGL. Some would say that it is easier to learn DirectX/OpenGL then learn how to program the VGA card and write graphics routines, and I guess they would be right, but there is a lot to be said for learning how things work at the lower end.
User is offlineProfile CardPM

Go to the top of the page

kaufman
post 17 Jun, 2007 - 10:10 AM
Post #4


New D.I.C Head

Group Icon
Joined: 29 Apr, 2007
Posts: 37



Dream Kudos: 25
My Contributions


well, i guess your right. too bad, oh well.

but i do have a question

is it ok to just sort of play around with other languages when your
trying to learn another?

This post has been edited by kaufman: 17 Jun, 2007 - 10:12 AM
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 17 Jun, 2007 - 10:30 AM
Post #5


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,785



Thanked 17 times

Dream Kudos: 25
My Contributions


Absolutely...the more the merrier. Just have to keep them straight! smile.gif
User is online!Profile CardPM

Go to the top of the page

NickDMax
post 17 Jun, 2007 - 11:30 AM
Post #6


2B||!2B

Group Icon
Joined: 18 Feb, 2007
Posts: 2,756



Thanked 34 times

Dream Kudos: 525
My Contributions


Like anything else there are good points and bad points. I think the good out weighs the bad.

By seeing how different languages implement or deal with different control structures and data structures you get a better understanding of how to use them. Another benefit is that you learn not to depend on language specific features until you need to. It can be hard for a VB programmer to move over to say C++ or Java because they think in terms of VB which has a rather sloppy object orientated model. So, while you will still want to pick different languages for different features of that language, you learn to think of them as "features" of the language, and not "how its done."

The biggest draw back for me has been the tendency to add semicolons to the end of lines in languages that don't use that. Or, alternatively, to forget to add them in languages that do.

I say: always look at a things from as many different angles and views as you can get. Just know your own limits. Don't try to master 5 languages at once. In my opinion, to master a language you need to know other languages and understand different paradigms, but you need to work in that language more than any other. Learn to implement or simulate the features and advantages of other languages within your language of choice. To do this you need to understand what people are doing in the other languages, but you need to deeply understand your own. -- once you master one language in a given paradigm it is easy to master others. (though mastering languages in another paradigm may actually be a little harder since you have taught yourself how to think in terms of one paradigm -- so for example learning a procedural language like C or VB, and then moving to a functional language can be difficult. Moving to a nondeterministic paradigm (from either a functional, or procedural paradigm) is so totally alien that you almost have to start from scratch).
User is offlineProfile CardPM

Go to the top of the page

born2c0de
post 17 Jun, 2007 - 11:18 PM
Post #7


printf("I'm a %XR",195936478);

Group Icon
Joined: 26 Nov, 2004
Posts: 3,757



Thanked 20 times

Dream Kudos: 2800

Expert In: C, C++, VB, VB.NET, C#, Java, x86 Assembly, Win32 API, Reversing

My Contributions


I agree with NickDMax.
QBASIC and GWBASIC were my first Programming Languages and I don't regret studying them at all.

It's a great place to start but don't waste your time mastering the language.
As NickDMax said, its practical use is almost zero.

So learn the Loop Structures, Arrays and File Handling Methods and then move to something else.
Knowledge of QBASIC helps a lot in VB since the syntax and code constructs are similar.
User is offlineProfile CardPM

Go to the top of the page

winstonmuller@hotmail.com
post 19 Jun, 2007 - 12:31 AM
Post #8


New D.I.C Head

*
Joined: 25 Apr, 2007
Posts: 6


My Contributions


I started with vb6, which is a great language for beginners, but started .net as well, not much later, and i know there are free compilers and environments for both. I've found learning two languages almost simultaneously, quite beneficial.
User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 19 Jun, 2007 - 05:07 AM
Post #9


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 4,950



Thanked 27 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


Q: Is QBasic a viable language?
A: If you still run an OS that comes with it installed.... yes.
User is offlineProfile CardPM

Go to the top of the page

static-dragon
post 12 Jul, 2007 - 01:48 PM
Post #10


New D.I.C Head

*
Joined: 10 Jul, 2007
Posts: 43


My Contributions


I agree with everyone else. Try learning C or C++. I have various resources at home for QBASIC 4.0, but I never use them.
User is offlineProfile CardPM

Go to the top of the page

shadow18
post 20 Jul, 2007 - 12:59 PM
Post #11


New D.I.C Head

*
Joined: 12 May, 2007
Posts: 5


My Contributions


I started WIth QBASIC on a Windows Xp Platform, but i still did it. It was PRetty fun.
User is offlineProfile CardPM

Go to the top of the page

Louisda16th
post 20 Jul, 2007 - 08:48 PM
Post #12


DIC Maniac

Group Icon
Joined: 3 Aug, 2006
Posts: 1,790



Thanked 1 times

Dream Kudos: 755
My Contributions


I think QBASIC is great language to start with. Even though its not useful to write software, it makes a comfortable start for programming and gives you a strong foundation. Shifting to other languages then doesn't become much of a problem (all thats left is learning programming methodologies such as OOP, Event Driven Models and so on, syntax of the other languages, etc..).
And Yes as shadow18 said, its fun especially when you are a beginner since you can write great programs from the start.

This post has been edited by Louisda16th: 20 Jul, 2007 - 08:50 PM
User is offlineProfile CardPM

Go to the top of the page

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 9/8/08 09:11AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month