1. QBasic/BASIC programmers learning Euphoria
Since there seem to be a few QBasic/BASIC programmers learning Euphoria,
I guess I'll get to work on a DiskMag article for Stephen Spencer to help
BASIC programmers to learn Euphoria. (ie teach them how to avoid GOTOs
and to use compare("this", "that")=0 instead of "this"="that", etc)
(Just don't boo once you finally see it, assuming I get it finished. :)
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
2. QBasic/BASIC programmers learning Euphoria
Robert,
I'm speaking from a Euphoria newkie's perspective. First of all, QBasic
and a little of BASICA was the only language I even touched. One weekend=
I
downloaded a shareware tutorial on BASIC. That weekend, Saturday May 2, =
I
thought I would change my programming life. And I did... but not the way=
I
expected.
Anyway, I'm rambling with the story of how I met Euphoria. That's
irrelevant here. My point is, the least you mention GOTOs and those bad
habits, the better. I've tried to learn Euphoria from a BASIC point of
view, and that lasted for 10 minutes. There is no good translator. To u=
se
a sociological analogy, the culture is different, really.
For your article, you can say that Euphoria doesn't use jumps (aka goto s=
)
and emphasize the different culture. But don't try to say "Instead of
using this function, use that function. That function is more powerful a=
nd
so much better." That didn't work for me. BASIC programmers, in my
opinion, have to start from scratch with sequences, atoms, etc.
--Alan
=