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 Misc > Re: 1980 Basic ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 46 of 51 Topic 1442 of 1492
Post > Topic >>

Re: 1980 Basic Sought

by "Judson McClendon" <judmc@[EMAIL PROTECTED] > Apr 9, 2008 at 10:01 AM

<ArarghMail804NOSPAM@[EMAIL PROTECTED]
> wrote:
> "Judson McClendon" <judmc@[EMAIL PROTECTED]
> wrote:
>
> <snip>
>>There is a reason those routines were not do***ented. Any time you use
> Such as?

You don't them - that's the point. Good programming is about
knowing exactly what and how. When you're guessing, you are
breaking reliability. :-)

>>undo***ented features of a compiler you are begging for unreliability
>>and obsolescence. If you're writing programs for fun, have at it. :-)
>>But when you write code, as I do, for clients who want reliability and
>>longevity, using such features, especially when it's only to gain some
>>trivial, likely only perceived, advantage, is not good business. :-)
>
> I would guess that the reason they were do***ented at that time (PDS7)
> was for sup****t of far strings.  The layout of a string descriptor
> changed, and it was no longer possible to get the address & length of
> a string from it.
>
> It would have been much better if MS had provided & do***ented those
> STRING* routines from the very beginning.  It would have eliminated
> all the guessing as to string descriptor layouts or having to use the
> more bulky SADD method.  Also, being able to use the STRING* calls
> from within called routines would have solved much of the worry of the
> string pool being compacted before the string got used.
>
> Also, my library of routines for use with Basic works with all
> versions of QuickBasic from 4.5 to VBDOS 1.0.  It would probably work
> as is with QuickBasic 4.0 & 4.1 as their runtime libs look very
> similar to 4.5.  And, it would probably work with versions of
> QuickBasic prior to 4.0, but since it was never needed, it was never
> tested.

Yes, but those are old, never to be enhanced tools. In a normal
development environment programmers are using tools that are
being updated periodically. Using undo***ented features simply
opens yourself and your applications to potential unforeseen bugs
and other complications. If you were having brain or open heart
surgery, would you want your doctor to be guessing about how
his tools and instruments work? I think not. As I said, when it's
for fun, more power to you. But if it's for money and im****tant,
using such techniques is (I'm sorry) simply foolish. You never
*have to* use such techniques; there are always other ways. :-)

In addition, one of the prime requisites of "good code" is that it
be as easy to read and understand as possible, so maintenance
is easier and more reliable. Techniques such as this are directly
the opposite. Only very rarely is machine efficiency worth the
cost of obfuscating clear, easily maintainable code with code
that is not understood because it uses undo***ented features.
Never is gaining efficiency worth losing reliability. :-)
-- 
Judson McClendon       judmc@[EMAIL PROTECTED]
 (remove zero)
Sun Valley Systems     http://sunvaley.com
"For God so loved the world that He gave His only begotten Son, that
whoever believes in Him should not perish but have everlasting life."
 




 51 Posts in Topic:
1980 Basic Sought
david.williams@[EMAIL PRO  2008-03-14 09:56:13 
Re: 1980 Basic Sought
winston19842005 <bjjly  2008-03-14 10:23:56 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-03-14 09:35:58 
Re: 1980 Basic Sought
winston19842005 <bjjly  2008-03-14 10:45:09 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-03-14 11:06:08 
Re: 1980 Basic Sought
ArarghMail803NOSPAM@[EMAI  2008-03-14 18:09:14 
Re: 1980 Basic Sought
"Tom Lake" <  2008-03-14 21:29:01 
Re: 1980 Basic Sought
ArarghMail803NOSPAM@[EMAI  2008-03-14 22:58:33 
Re: 1980 Basic Sought
"R.Nicholson" &  2008-04-08 11:20:03 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-08 23:27:54 
Re: 1980 Basic Sought
"news@[EMAIL PROTECT  2008-04-10 01:29:14 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-10 04:19:38 
Re: 1980 Basic Sought
"R.Nicholson" &  2008-04-10 10:53:00 
Re: 1980 Basic Sought
"Stephen J. Rush&quo  2008-04-08 03:29:05 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-08 04:44:07 
Re: 1980 Basic Sought
thomas.mertes@[EMAIL PROT  2008-04-07 01:50:52 
Re: 1980 Basic Sought
"Tom Lake" <  2008-04-07 07:55:55 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-07 18:43:27 
Re: 1980 Basic Sought
"Tom Lake" <  2008-04-07 21:22:26 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-07 21:20:53 
Re: 1980 Basic Sought
"Tom Lake" <  2008-04-07 23:08:17 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-08 00:21:08 
Re: 1980 Basic Sought
"Tom Lake" <  2008-04-08 04:35:55 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-08 04:45:15 
Re: 1980 Basic Sought
"Tom Lake" <  2008-04-08 08:29:29 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-04-08 08:33:38 
Re: 1980 Basic Sought
"Tom Lake" <  2008-04-08 15:29:56 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-08 23:18:16 
Re: 1980 Basic Sought
"Auric__" <n  2008-04-09 20:21:32 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-09 15:36:54 
Re: 1980 Basic Sought
"Auric__" <n  2008-04-09 20:40:42 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-09 16:35:42 
Re: 1980 Basic Sought
"Auric__" <n  2008-04-09 21:58:24 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-09 18:42:45 
Re: 1980 Basic Sought
"Auric__" <n  2008-04-10 15:43:33 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-04-09 17:20:01 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-09 18:58:15 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-04-10 09:20:41 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-10 21:54:34 
Re: 1980 Basic Sought
"R.Nicholson" &  2008-04-08 21:51:43 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-09 02:52:08 
Re: 1980 Basic Sought
"Bill Leary" &l  2008-04-09 07:02:03 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-09 07:22:45 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-04-09 08:35:22 
Re: 1980 Basic Sought
ArarghMail804NOSPAM@[EMAI  2008-04-09 09:21:04 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-04-09 10:01:21 
Re: 1980 Basic Sought
"Bill Leary" &l  2008-04-10 01:17:20 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-03-14 09:32:59 
Re: 1980 Basic Sought
Charmed Snark <snark@[  2008-03-14 16:04:19 
Re: 1980 Basic Sought
"Judson McClendon&qu  2008-03-14 13:49:57 
Re: 1980 Basic Sought
Charmed Snark <snark@[  2008-03-15 04:11:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Jul 26 2:37:17 CDT 2008.