MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Properties of computer languages
[Caliban Tiresias Darklock:]
> Yeah, I know, don't design inefficiency in -- it will happen in the
> implementation. But I'm talking about BIG inefficiency. To give you an
> example, here's a small portion of what I'm improving on:
Hmm. Do I hear my name being called? :-)
Before reading that paragraph, I was going to suggest leaving out most
of the language and having *only* recursion. Could be truly inefficient.
Back when I was TA-ing an intro comp. sci. course, I was supposed to be
teaching recursion. I did an example that showed using recursion to do
addition and multiplication (using the addition). One student, on the
next assignment (not really related to recursion), used my example
routines in his program, and couldn't understand why his job ran out
of time on the mainframe. Oooops.
On the more serious side, and going on Caliban's example, which I've
snipped, I'd suggest as some goals for the language:
- as few special cases as possible
- no gratuitously added special syntaxes
- an absolute minimum of "magic values"
All of the %# things in Caliban's example violate all 3 of these.
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- Re: [MUD-Dev] Properties of computer languages, (continued)
- Re: [MUD-Dev] Properties of computer languages,
Mik Clarke mikclrk#ibm,net, Fri 18 Jun 1999, 20:43 GMT
- Re: [MUD-Dev] Properties of computer languages,
David95037 David95037#aol,com, Thu 17 Jun 1999, 15:39 GMT
- [MUD-Dev] Properties of computer languages,
Cynbe ru Taren cynbe#muq,org, Thu 17 Jun 1999, 15:39 GMT
- Re: [MUD-Dev] Properties of computer languages,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Fri 18 Jun 1999, 01:40 GMT
- Re: [MUD-Dev] Properties of computer languages,
David95037 David95037#aol,com, Fri 18 Jun 1999, 14:19 GMT
- [MUD-Dev] UM2,
Greg Munt greg#uni-corn,demon.co.uk, Wed 16 Jun 1999, 04:31 GMT
[ Other Periods
| Other mailing lists
| Search
]