Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic General > Re: Rewrite BAS...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 30 of 59 Topic 664 of 684
Post > Topic >>

Re: Rewrite BASIC language today?

by "carlg@[EMAIL PROTECTED] " <carlg@[EMAIL PROTECTED] > Apr 26, 2008 at 08:45 AM

On Apr 26, 9:49=A0am, "jj" <in...@[EMAIL PROTECTED]
> wrote:
> > What's the need of INC or ++
>
> RE:"++"
> There is no need to introduce a failing of another language to prove
> your point. I am asking for your opinion rather than stating mine.
>
> e.g Would a listing look clearer if those A=3DA+1 and similar were
relpace=
d
> by INC A, DEC B, or INC A,2 =A0or DEC A,3 etc.
>
> Does it in any way help to make a BASIC listing more language-like
rather
> than a
> mathematical proof?

Certainly INC and DEC are an interesting example.  On the pro side
these are very simple additions, especially if you don't have use
extended form INC var, value.  On the con side they add noise to the
language that is unnecessary.  The expression a =3D a + 1 is extremely
simple and relies on core language syntax that the programmer uses for
other things.  No new syntax is necessary so why do we need INC or
DEC?

If you are going to add a new feature to the language, it should be a
big win.

Some thoughts about addiing a new feature:

-It should look like BASIC so that the language doesn't become a hodge
podge of syntax
-It should be high level and easy to understand
-It should add capability that isn't already there (does INC?)
-If should be useful to most programmers (80/20 rule)

If a new feature causes a change in coding style that results in a
program that is not recognizably written in BASIC, then is that
program still written in BASIC?  There is a sometimes blurry line that
gets crossed when doing programming language work.  I know I've
tripped over that line myself.  It is challenging to extend a language
while preserving what is essential about that language.  No doubt
about it.  Once you've added new features to a language it can be hard
to take them out.

-Carl Gundel, author of Liberty BASIC
http://www.libertybasic.com
 




 59 Posts in Topic:
Rewrite BASIC language today?
"jj" <intel@  2008-04-20 20:37:37 
Re: Rewrite BASIC language today?
"Tom Lake" <  2008-04-21 08:24:21 
Re: Rewrite BASIC language today?
ArarghMail804NOSPAM@[EMAI  2008-04-21 19:25:51 
Re: Rewrite BASIC language today?
"Tom Lake" <  2008-04-21 22:12:32 
Re: Rewrite BASIC language today?
ArarghMail804NOSPAM@[EMAI  2008-04-21 22:51:21 
Re: Rewrite BASIC language today?
"Auric__" <n  2008-04-22 15:36:03 
Re: Rewrite BASIC language today?
ArarghMail804NOSPAM@[EMAI  2008-04-22 21:29:31 
Re: Rewrite BASIC language today?
MC PRTK <prtk.uncensor  2008-05-11 01:38:25 
Re: Rewrite BASIC language today?
ArarghMail805NOSPAM@[EMAI  2008-05-10 16:40:00 
Re: Rewrite BASIC language today?
"Tom Lake" <  2008-04-22 13:46:44 
Re: Rewrite BASIC language today?
ArarghMail804NOSPAM@[EMAI  2008-04-22 21:31:44 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-26 11:45:05 
Re: Rewrite BASIC language today?
Derek <derekrss@[EMAIL  2008-04-21 21:48:37 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-22 14:56:36 
Re: Rewrite BASIC language today?
ppnerkDELETETHIS@[EMAIL P  2008-04-23 09:20:52 
Re: Rewrite BASIC language today?
"Tom Lake" <  2008-04-23 06:37:51 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-23 06:57:01 
Re: Rewrite BASIC language today?
Adam <no@[EMAIL PROTEC  2008-04-23 12:22:19 
Re: Rewrite BASIC language today?
rhnlogic <rhnlogic@[EM  2008-04-23 11:38:36 
Re: Rewrite BASIC language today?
rhnlogic <rhnlogic@[EM  2008-04-23 11:46:29 
Re: Rewrite BASIC language today?
"carlg@[EMAIL PROTEC  2008-04-25 13:23:24 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-25 15:36:07 
Re: Rewrite BASIC language today?
"carlg@[EMAIL PROTEC  2008-04-25 21:33:06 
Re: Rewrite BASIC language today?
"jj" <intel@  2008-04-26 06:24:13 
Re: Rewrite BASIC language today?
"Gordon Rahman"  2008-04-26 14:57:07 
Re: Rewrite BASIC language today?
"jj" <intel@  2008-04-26 14:49:15 
Re: Rewrite BASIC language today?
"Gordon Rahman"  2008-04-26 18:04:01 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-26 08:30:00 
Re: Rewrite BASIC language today?
"Gordon Rahman"  2008-04-26 18:23:48 
Re: Rewrite BASIC language today?
"carlg@[EMAIL PROTEC  2008-04-26 08:45:27 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-26 09:05:57 
Re: Rewrite BASIC language today?
"carlg@[EMAIL PROTEC  2008-04-26 09:34:16 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-26 09:40:44 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-26 10:11:41 
Re: Rewrite BASIC language today?
"carlg@[EMAIL PROTEC  2008-04-26 10:58:28 
Re: Rewrite BASIC language today?
rhnlogic <rhnlogic@[EM  2008-05-10 23:50:35 
Re: Rewrite BASIC language today?
ArarghMail805NOSPAM@[EMAI  2008-05-11 03:22:14 
Re: Rewrite BASIC language today?
John H. Guillory <john  2008-08-21 01:07:32 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-22 01:35:53 
Re: Rewrite BASIC language today?
"Gordon Rahman"  2008-04-26 14:38:32 
Re: Rewrite BASIC language today?
Adam <no@[EMAIL PROTEC  2008-04-26 11:07:00 
Re: Rewrite BASIC language today?
"Gordon Rahman"  2008-04-26 18:44:10 
Re: Rewrite BASIC language today?
rhnlogic <rhnlogic@[EM  2008-04-26 21:36:47 
Re: Rewrite BASIC language today?
"Gordon Rahman"  2008-04-27 13:48:39 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-27 02:53:02 
Re: Rewrite BASIC language today?
"Stephen J. Rush&quo  2008-04-26 18:17:34 
Re: Rewrite BASIC language today?
"Gordon Rahman"  2008-04-27 13:29:31 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-28 09:35:42 
Re: Rewrite BASIC language today?
H-Man <I-Hate@[EMAIL P  2008-04-28 11:53:37 
Re: Rewrite BASIC language today?
rhnlogic <rhnlogic@[EM  2008-04-28 14:39:54 
Re: Rewrite BASIC language today?
H-Man <I-Hate@[EMAIL P  2008-04-28 15:58:42 
Re: Rewrite BASIC language today?
"Tom Lake" <  2008-04-28 21:44:05 
Re: Rewrite BASIC language today?
"news@[EMAIL PROTECT  2008-04-29 01:15:52 
Re: Rewrite BASIC language today?
"jj" <intel@  2008-04-29 13:39:11 
Re: Rewrite BASIC language today?
"Tom Lake" <  2008-04-29 13:54:37 
Re: Rewrite BASIC language today?
rhnlogic <rhnlogic@[EM  2008-04-29 15:51:59 
Re: Rewrite BASIC language today?
"Tom Lake" <  2008-04-30 05:33:51 
Re: Rewrite BASIC language today?
Derek <derekrss@[EMAIL  2008-04-29 22:57:21 
Re: Rewrite BASIC language today?
ArarghMail804NOSPAM@[EMAI  2008-04-30 03:04:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 23:54:11 CDT 2008.