Is there a good BASIC compiler for ubuntu?
CJ Kelley
debian_i386 at yahoo.com
Mon Mar 13 02:31:50 UTC 2006
Kipton Moravec <kip at kdream.com> wrote: On Mon, 2006-03-13 at 07:35 +0800, Michael T. Richter wrote:
> On Sun, 2006-12-03 at 17:36 -0500, Eric Dunbar wrote:
> > Is Python transferrable to other operating systems?
>
> Yes.
>
> > It seems to me that for basic programming BASIC is an admirable
> > solution. I've seem some pretty impressive programs written in BASIC,
> > and, for simple data manipulation it can't be beat (if you already
> > know the language).
>
> Python kicks BASIC all over the place on any front. Anything you can
> do in BASIC can be done -- usually easier and faster -- in Python.
> Many (most?) things you can do in Python cannot be done easily in
> BASIC.
>
> > Just because programming snobs don't like it doesn't mean that people
> > shouldn't be using it.
>
> Yes. Just because people who know what they're talking about don't
> like it doesn't mean that people who don't know what they're talking
> about should listen to them. I mean it's obviously only snobbery when
> people point out technical superiority. It can't ever be informed
> opinion.
>
> Insert an eye-rolling icon here from your favourite IM client.
I have been programming longer than most of you have been alive. I have
programmed in over 15 different languages since 1975, and currently
program most of my stuff in C or assembler.
Different languages have different advantages. When someone says "their
favorite language" is the "best" I know they are probably not well
informed. Different languages have different strengths. Basic is
better than C for example in string manipulation. Lisp has some
qualities for symbol manipulation and Artificial Intelligence that can't
be found in Basic, C, Pascal, or I imagine, Python.
Since Python is one of the languages I have not programmed in, I took a
quick look at Python. First I went to Synaptic Package Manager and
searched for python to see what was available and what was already
installed.
955 files came up. First thing I noticed was there was some stuff
labeled python 2.3 and python 2.4 already installed on my computer. For
me that raises some red flags, because in most languages it is not a
good idea to have two versions going at the same time. Or to use 2.3
libraries with 2.4 language or vice-versa.
So the first question before I even get started is why do I have both
2.3 and 2.4 installed on my computer, and which one should I use? Is
that not confusing?
That is a problem with most Unix programming environments. Beginner
documentation is scarce. The versions change so much that it is hard to
keep up with it unless you program in it every day or every week.
>
> > I'm sure there are plenty of other languages out there that are now as
> > easy to use as BASIC, but, the advantage to using BASIC is that if you
> > learned how to program in the language 15 years ago (as I did) and you
> > never needed to learn another language (I stopped at BASIC & Pascal),
> > then you _still_ know how to use it.
>
> Which dialect of BASIC? On which platform? There is no "BASIC" so
> much as there is a certain dialect of BASIC on a certain architecture
> with vague similarities from one instance to another. Compare and
> contrast this with, say, Python (or Ruby or Lua or ...) where it's
> pretty much the identical language (and even a mostly-identical
> programming environment) from platform to platform.
You exaggerate the differences for variants of Basic. Of course your
example is GW Basic which is Microsoft's version. Microsoft does a good
job of not following any standards. Look at the trouble with Microsoft
Java, and Front page extensions.
>
> Hell, compare GWBASIC, say, to modern BASIC dialects and then compare
> Python 1.0 to the current Python. Try to make your GWBASIC programs
> work on any modern BASIC system. Do the same for Python 1.0 on a
> modern Python. Tell me how you "never need to learn another language"
> with that.
>
> > I've only ever seen Linux geeks extolling the virtues of Python.
>
> Your blindness is largely meaningless to this discussion.
That comment is not helpful for the discussion either Michael.
>
> --
> Michael T. Richter
> Email: ttmrichter at gmail.com, mtr1966 at hotpop.com
> MSN: ttmrichter at hotmail.com, mtr1966 at hotmail.com; YIM:
> michael_richter_1966; AIM: YanJiahua1966; ICQ: 241960658; Jabber:
> mtr1966 at jabber.cn
--
Kipton Moravec
----CJ's Reply----
I use BASIC mainly because you can easily manipulate strings and so on. I dont use basic to create hi-powered games, hi-powered software, i just use it to create some utilities, schedular software, and text manipulation software. Before I changed my website around to what it is now, it used to contain some of the programs that I had created using Visual BASIC. And since i am more better at creating things more visualy then i am at creating things by code, visual based compilers are the better way for me to go. BASIC is my language of choice because i can write software w/o going nuts (because I cant really seem to pin-point errors w/ other languages as well as I can with visual basic, even using the debugging option, if the compiler comes with one). I can easily debug code with BASIC, and the software I create with BASIC compilers runs almost perfectly because I take lots and lots of time to throurolly inspect the software code before I distrobute it. If there is an error, i fix it.
If the fix causes more errors, then i tweak the code to work properly with the other coding. C++ and them other languages are, like i said, more harder for me to pin-point the bug, so if there was to be an error, I wouldnt know where to look, and if i did find the bug, then I wouldnt know what to do with the code. But there are some languages that I have not yet tried. Python was easer then C++ (to me), and C++ was easier then C (to me).
----end of reply----
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060312/8ec63d52/attachment.html>
More information about the ubuntu-users
mailing list