Board index » delphi » QBasic/Pascal/both ?

QBasic/Pascal/both ?

On 20 Sep 1997 18:42:51 GMT, "M.L. Scott" <s340...@student.uq.edu.au>
wrote:

Quote
>Hello,

>I am looking for advice regarding the most sensible programming path that I
>should take. I have recently been teaching myself both QBasic and Turbo
>Pascal, basically simultaneously, often by directly translating programs I
>write in one language into the other. My questions are this :

Remember what BASIC was designed for:  quick access to computer power
for non-computer science students.  If you goal is computer science
you should concentrate on Pascal as a tool to understanding
algorithims and data structures.

Dennis D. Powers
PC/POLL SYSTEMS
Den...@pcpoll.com

Support the anti-Spam amendment
Join at http://www.cauce.org/

 

Re:QBasic/Pascal/both ?


Pascal, Delphi, C, C++ are the languages to learn..

Re:QBasic/Pascal/both ?


Hello,

I am looking for advice regarding the most sensible programming path that I
should take. I have recently been teaching myself both QBasic and Turbo
Pascal, basically simultaneously, often by directly translating programs I
write in one language into the other. My questions are this :

(a) Is it a waste of time learning QBasic when Turbo Pascal is available to
me, given that I intend to move eventually into C\C++ ? I know that Pascal
is considered a suitable first language and is used as such in many CS
courses, so is there anything to be gained from having a grounding in
QBasic and Pascal rather than Pascal alone (besides the fact that QBasic
programming is enjoyable) - or, on the contrary, does a grounding in QBasic
necessitate a programmer "unlearning" what he has learned before moving to
Pascal and C?

(b) If learning QBasic is not a waste of time, is it a bad idea to try to
learn these two programming languages at the same time, and if so, how
fluent should one become in QBasic before moving onto Pascal?

I would greatly appreciate any advice anyone could give me concerning the
above questions, and thank you in advance.

M. Scott

Re:QBasic/Pascal/both ?


Quote
M.L. Scott wrote:
> I am looking for advice regarding the most sensible programming path
> that I
> should take. I have recently been teaching myself both QBasic and
> Turbo
> Pascal, basically simultaneously, often by directly translating
> programs I
> write in one language into the other. My questions are this :
> <snip>

I think starting with TP is the best solution. It doesn't allow quick
hacks like the famous GOTO and it's not more difficult to understand
than QBasic.

c u,
Malte

--
Malte Clasen (The Update / CoPro)
mailto:Malte.Cla...@koeln.netsurf.de
http://www.koeln.netsurf.de/~Malte.Clasen/
Fight Spam Now ! - Join CAUCE at http://www.cauce.org/

Re:QBasic/Pascal/both ?


M.L. Scott <s340...@student.uq.edu.au> wrote in
article <01bcc5f5$10f9d880$cf1d14ac@twkeckuj>...

Quote
> Hello,

> I am looking for advice regarding the most sensible programming path that
I
> should take. I have recently been teaching myself both QBasic and Turbo
> Pascal, basically simultaneously, often by directly translating programs
I
> write in one language into the other. My questions are this :

I think your approach is very good.  I also agree with the other replies
you
have received on this question.  Working with different languages at the
same time and playing them off against each other is an excellent way
to learn both programming and the strengths/weaknesses of the
development tools that are available.

Although you don't mention whether you've dabbled in Windows programming
yet, I'm going to assume that you've just been working in DOS for now.  If
not,
my apologies for waxing verbose here . . .

You should begin to prepare yourself at some point for designing and
programming
applications in the Windows environment.  And I mean all GUI-based
multi-etc.
operating systems, not just MS Windows.  I can't overstress the importance
of forcing yourself to re-think and re-evaluate everything you've learned
once you
do.  And it doesn't matter which programming languages you know.

The problem with working in the DOS environment is that you become used to
a certain way of handling user interaction with your programs.  Your design
and coding work is influenced to a great degree by this.  Once you start
programming for Windows, it can be quite a challenge to re-structure your
thinking to make the most efficient and reliable use of the environment.

John Morrison

Re:QBasic/Pascal/both ?


Quote
M.L. Scott wrote:
> I have recently been teaching myself both QBasic and Turbo
> Pascal, basically simultaneously, often by directly translating
> programs I write in one language into the other.

<snip>

Quote

> (a) Is it a waste of time learning QBasic when Turbo Pascal is available to
> me, given that I intend to move eventually into C\C++ ?

IMHO, it is never a waste to have learned anything.

Quote
> I know that Pascal is considered a suitable first language and is used as such in many CS > courses, so is there anything to be gained from having a grounding in
> QBasic and Pascal rather than Pascal alone (besides the fact that QBasic
> programming is enjoyable) - or, on the contrary, does a grounding in
> QBasic necessitate a programmer "unlearning" what he has learned before
> moving to Pascal and C?

Just because you push a lever on the motorcycle doesn't mean you still
can't pedal.

Quote
> (b) If learning QBasic is not a waste of time, is it a bad idea to try to
> learn these two programming languages at the same time, and if so, how
> fluent should one become in QBasic before moving onto Pascal?

Why stop learning any of the languages. I'm sure you can handle many.

Also, by translating among languages, you gain experience that can be
valuable in the future.

Example: The future. You're a programmer for Acme. You program in
Pascal. But a customer, only wants his program developed in Visual Basic
24.0. You will already have some background in QBasic. QBasic --> Visual
Basic. A year later he wants it in C+++. Bingo, you've already got a
background in C.
See what I mean?

--
Artificially Intelligent Brain
http://www.geocities.com/CapeCanaveral/Lab/7677/index.html
aibr...@usa.net -The Only ENLKBB!
Warning: No junk email! Spammers will be auto-spammed with
their own mail, totally ignored, or both.

        "Assimilation is futile. You will be resisted."
                -The H Factory hfact...@usa.net
        "Use the source, Luke." -Ingo Elsen

Re:QBasic/Pascal/both ?


Malte Clasen allegedly said:

[munch]
MC> I think starting with TP is the best solution. It doesn't allow quick
MC> hacks like the famous GOTO and it's not more difficult to understand
MC> than QBasic.

Turbo Pascal most definitely does allow GOTO. Its only difference is that you
have to declare and attach labels before you can goto them.

--
| Jeff Teunissen -=- President, Dusk To Dawn Computing       Team OS/2 Member
| Disclaimer: I am my employer, so anything I say goes for me as well.     :)
| Email: sy...@dusknet.dyn.ml.org       URL: http://dusknet.dyn.ml.org/~deek/

Re:QBasic/Pascal/both ?


I do not know much about Pascal. I have used Pascal{*word*219}rs
for windows C files, and PowerBasic with C objects files.
If I was thinking about Basic it would be a compiler one.
In my case PowerBasic. (www.powerbasic.com). As far as
C is concernd it is a vary good language. A bit hard to learn.
and I think that mixed languages is the way to go. As then
you can use the best of both.
garuss...@clandjop.com

M.L. Scott <s340...@student.uq.edu.au> wrote in article
<01bcc5f5$10f9d880$cf1d14ac@twkeckuj>...

Quote
> Hello,

> I am looking for advice regarding the most sensible programming path that
I
> should take. I have recently been teaching myself both QBasic and Turbo
> Pascal, basically simultaneously, often by directly translating programs
I
> write in one language into the other. My questions are this :

> (a) Is it a waste of time learning QBasic when Turbo Pascal is available
to
> me, given that I intend to move eventually into C\C++ ? I know that
Pascal
> is considered a suitable first language and is used as such in many CS
> courses, so is there anything to be gained from having a grounding in
> QBasic and Pascal rather than Pascal alone (besides the fact that QBasic
> programming is enjoyable) - or, on the contrary, does a grounding in
QBasic
> necessitate a programmer "unlearning" what he has learned before moving
to
> Pascal and C?

> (b) If learning QBasic is not a waste of time, is it a bad idea to try to
> learn these two programming languages at the same time, and if so, how
> fluent should one become in QBasic before moving onto Pascal?

> I would greatly appreciate any advice anyone could give me concerning the
> above questions, and thank you in advance.

> M. Scott

Re:QBasic/Pascal/both ?


Quote
M.L. Scott wrote:
> Hello,

> I am looking for advice regarding the most sensible programming path that I
> should take. I have recently been teaching myself both QBasic and Turbo
> Pascal, basically simultaneously, often by directly translating programs I
> write in one language into the other. My questions are this :

> (a) Is it a waste of time learning QBasic when Turbo Pascal is available to
> me, given that I intend to move eventually into C\C++ ? I know that Pascal
> is considered a suitable first language and is used as such in many CS
> courses, so is there anything to be gained from having a grounding in
> QBasic and Pascal rather than Pascal alone (besides the fact that QBasic
> programming is enjoyable) - or, on the contrary, does a grounding in QBasic
> necessitate a programmer "unlearning" what he has learned before moving to
> Pascal and C?

> (b) If learning QBasic is not a waste of time, is it a bad idea to try to
> learn these two programming languages at the same time, and if so, how
> fluent should one become in QBasic before moving onto Pascal?

> I would greatly appreciate any advice anyone could give me concerning the
> above questions, and thank you in advance.

> M. Scott

  I'm doing both as well, so go for it!

Re:QBasic/Pascal/both ?


Interesting in whose opinion?
Valuable experience pops up in unlikely places...

Quote
Will Dwinnell wrote:
> "IMHO, it is never a waste to have learned anything."

> Perhaps not in an absolute sense, but what about the possibility
> of a high opportunity cost?  In other words, learning about
> something may take away time from learning about something even
> more interesting.

> --
> Will Dwinnell
> Commercial Intelligence

--
***************************************
!  You've been mailed by the Mad Cow.
http://members.tripod.com/~VacaLoca
My ICQ UIN is 1800067...try it!
http://www.mirabilis.com
***************************************

Re:QBasic/Pascal/both ?


My Personal Advice Would Be To Learn Both... Not Nesacarily At THe
Same Time As You Could Possibly Get COnfused ;)... BUt Qbasic and
Pascal Are Both Excellent Beginner Languages... Pascal Was Built As a
Instructional Tool In The First Place So...
But (IMO) Start With Basic (Qbasic or Powerbasic) Untill You Feel
Comfortable Then Push on to pascal... with those 2 languages under
your belt you will be set to take on greater languages... IE: visual
basic... for smaller simpler windows applications... then possibly
move on to C++(dos) or Visual C++(win)... thats my opinion... some
may disagree and some may agree but dont listen to me if someone
smarter cums along ;)
--
<|=) sas...@worldnet.att.net (=|>

M.L. Scott <s340...@student.uq.edu.au> wrote in article
<01bcc5f5$10f9d880$cf1d14ac@twkeckuj>...
: Hello,
:
: I am looking for advice regarding the most sensible programming
path that I
: should take. I have recently been teaching myself both QBasic and
Turbo
: Pascal, basically simultaneously, often by directly translating
programs I
: write in one language into the other. My questions are this :
:
: (a) Is it a waste of time learning QBasic when Turbo Pascal is
available to
: me, given that I intend to move eventually into C\C++ ? I know that
Pascal
: is considered a suitable first language and is used as such in many
CS
: courses, so is there anything to be gained from having a grounding
in
: QBasic and Pascal rather than Pascal alone (besides the fact that
QBasic
: programming is enjoyable) - or, on the contrary, does a grounding
in QBasic
: necessitate a programmer "unlearning" what he has learned before
moving to
: Pascal and C?
:
: (b) If learning QBasic is not a waste of time, is it a bad idea to
try to
: learn these two programming languages at the same time, and if so,
how
: fluent should one become in QBasic before moving onto Pascal?
:
: I would greatly appreciate any advice anyone could give me
concerning the
: above questions, and thank you in advance.
:
: M. Scott
:
:
:
:
:
:
:
:

Re:QBasic/Pascal/both ?


"IMHO, it is never a waste to have learned anything."

Perhaps not in an absolute sense, but what about the possibility
of a high opportunity cost?  In other words, learning about
something may take away time from learning about something even
more interesting.

--
Will Dwinnell
Commercial Intelligence

Re:QBasic/Pascal/both ?


M.L.,

There have been several good responses from your question.   I have used
both TP and QBasic (for about 5 years) in a DOS environment, which is what
I am assuming you are using.  I had gotten away from programming for about
3 years and now am trying to catch up by doing programming for Windows.
And it is taking me a while to get used to doing programming in Windows
(VisualBasic, and some VisualC++).  If you think you will be doing Windows
(95 or 3.1) you may want to jump to a Windows programming so you won't have
to unlearn creating DOS based apps.  However, in learning VisualBasic it
definitely helps that I know QBasic.  Writing programs for Windows can get
more complicated and there is more pieces to learn.

If you will be staying in a DOS environment either one will work for you.
TurboPascal has better structures.  However, using the Qbasic environment
works really well.  A guy mentioned in a response about Gotos in Qbasic.
QBasic originates from Basic which was pretty weak for building solid
applications and that's why there are people who HATE QBasic or any other
language that has Basic in its name.  And Qbasic has come a long way from
Basic.  When I started using QBasic I got away from using Gotos (if this
means anything to you).

As a matter of fact, a co-worker who does high end software development in
C++ and Java was telling me about a friend who starting doing VisualBasic
as a consultant and is doing very well.  Anyway, my co-worker said that
VisualBasic is in strong demand.

Good luck and if possible let me know what you decide.

Thanks, David Chapa
mylastn...@spec.com (replace mylastname with Chapa)

M.L. Scott <s340...@student.uq.edu.au> wrote in article
<01bcc5f5$10f9d880$cf1d14ac@twkeckuj>...

Re:QBasic/Pascal/both ?


Quote
On Sun, 21 Sep 1997 03:34:48 -0700, AIBrain <aibr...@usa.net> wrote:

(snip)

Quote
>Also, by translating among languages, you gain experience that can be
>valuable in the future.

>Example: The future. You're a programmer for Acme. You program in
>Pascal. But a customer, only wants his program developed in Visual Basic
>24.0. You will already have some background in QBasic. QBasic --> Visual
>Basic. A year later he wants it in C+++. Bingo, you've already got a
>background in C.

Excuse the rudimentary nature of this question:

I, too, am interested in learning programming, albeit one language at
a time.  Am I to understand from the above snippet that Pascal gives
one a background in C?

Which is the best version of Pascal to start with?

Is there a difference between Pascal and Turbo Pascal?

Thanks in advance for your time,

Eric Zwicky
Technical Manager, Comcast
Richmond, VA
http://home.earthlink.net/~ericzwicky/

Re:QBasic/Pascal/both ?


Quote
Eric Zwicky wrote:
> Am I to understand from the above snippet that Pascal gives
> one a background in C?

I wouldn't exactly say that. I think that, when most people say that
Pascal is a good language to learn programming with, they mean really
that Pascal is very algorithmic in nature. By this I mean that
algorithms and their implementations resemble each other closely in
Pascal.

Beginning programming has more to do with learning how to produce
effective algorithms than it does with learning a particular language's
syntax. Once one knows how to make a good algorithm, syntax is just a
detail.

Back to Pascal and C: Suppose one starts off knowing nothing about
programming and begins by learning algorithms. If the language is Pascal
then those algorithms will translate easily into the language. If, on
the other hand, the language is C then the peculiarities of the syntax
could be stumbling block.

As an example of this, I am at present involved with a beginning C/C++
course. (The University of North Texas Computer Science Department, for
some reason, decided that C should be the first programming language for
the beginning computer science student. This is a bad move in my
opinion.) I am observing that the students fall into one of three
categories:

  1. They don't understand the first thing about algorithms because they
are so overwhelmed by the C language. The algorithms are not clear to
them because they don't understand the language that the algorithms are
presented in.
  2. Have figured out, with some effort, the algorithm (that is, the
solution is apparent to them in human terms) but cannot fathom how to
translate that algorithm to C.
  3. They have previous programming experience and therefore have no
problem with the algorithmic portion, so they can concentrate on
learning the C language.

Of these three groups, the first two are failing the class and the third
is receiving high marks. The point is, I guess, that C is not difficult
to learn if one knows how to program already.

AME
--
Fully 75% of my personal e-mail is unsolicited adverti{*word*224}t.
If you are a real person and have something to say to me then
remove the asterisk (*) from my reply-to address.
==> While your at it, take a look at http://www.cauce.org/

Other Threads