Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.compilers > #3250
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end |
|---|---|
| From | Thomas Koenig <tkoenig@netcologne.de> |
| Newsgroups | comp.compilers |
| Subject | Re: What attributes of a programming language simplify its use? |
| Date | Sat, 3 Dec 2022 10:25:40 -0000 (UTC) |
| Organization | news.netcologne.de |
| Sender | news@iecc.com |
| Approved | comp.compilers@iecc.com |
| Message-ID | <22-12-003@comp.compilers> (permalink) |
| References | <22-12-001@comp.compilers> |
| Injection-Info | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="73078"; mail-complaints-to="abuse@iecc.com" |
| Keywords | history, design, comment |
| Posted-Date | 03 Dec 2022 12:13:42 EST |
| X-submission-address | compilers@iecc.com |
| X-moderator-address | compilers-request@iecc.com |
| X-FAQ-and-archives | http://compilers.iecc.com |
| Xref | csiph.com comp.compilers:3250 |
Show key headers only | View raw
gah4 <gah4@u.washington.edu> schrieb: > We had the "What attributes of a programming language simplify its implementation?" discussion. > > It seems, though, that languages are implemented a small number of > times, and used many times. So, designing for ease of use, instead of > ease of implementation makes more sense. Very much so. > (Especially if you want a lot of people to want to use it.) > > One feature that I find makes them easier to use, and harder to > implement, is no reserved words. I think this is more a matter of extensibility than of ease of use, but both are somewhat intertwined. Adding a new reserved word is a breaking change, especially if that word is often used. See "new" in C++, which was something reasonable to use in C, and is reserved in C++. The life cycle of a programming language will have many revisions (if it is successful, that is), and not having reserved keywords certainly helps in two aspects: Existing user programs will continue to work, and new features can be added in a way that is easier to read than having to add special characters, so a new feature looks like a cat walked over the keyboard, with capslock on. Yes, this is a bit more pain for compiler writers, but far less than, let's say, having to deal with SIMD. [There's also the perl approach where you put a "use" at the top of the program file saying which version of the language you want. -John]
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
What attributes of a programming language simplify its use? gah4 <gah4@u.washington.edu> - 2022-12-01 14:20 -0800
Re: What attributes of a programming language simplify its use? gah4 <gah4@u.washington.edu> - 2022-12-02 02:09 -0800
Re: What attributes of a programming language simplify its use? Thomas Koenig <tkoenig@netcologne.de> - 2022-12-03 10:25 +0000
Re: What attributes of a programming language simplify its use? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2022-12-03 22:16 +0100
Re: What attributes of a programming language simplify its use? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-12-06 09:56 -0800
Re: What attributes of a programming language simplify its use? gah4 <gah4@u.washington.edu> - 2022-12-06 12:43 -0800
Re: What attributes of a programming language simplify its use? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-12-07 10:14 +0000
Re: What attributes of a programming language simplify its use? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2022-12-07 12:13 +0100
Re: What attributes of a programming language simplify its use? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-12-07 17:53 -0800
Re: What attributes of a programming language simplify its use? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2022-12-08 21:42 +0100
Re: What attributes of a programming language simplify its use? gah4 <gah4@u.washington.edu> - 2022-12-08 14:44 -0800
Re: C types, was What attributes of a programming language simplify its use? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2022-12-09 15:01 +0100
Re: C types, was What attributes of a programming language simplify its use? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-12-08 18:35 -0800
Re: C types, was What attributes of a programming language simplify its use? David Brown <david.brown@hesbynett.no> - 2022-12-09 13:21 +0100
Re: What attributes of a programming language simplify its use? gah4 <gah4@u.washington.edu> - 2022-12-12 00:00 -0800
Re: C types, was What attributes of a programming language simplify its use? "marb...@yahoo.co.uk" <marblypup@yahoo.co.uk> - 2022-12-09 07:40 -0800
Re: C types, was What attributes of a programming language simplify its use? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-12-11 10:45 +0000
Simple to implement and to use Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-12-11 19:41 +0200
Re: What attributes of a programming language simplify its use? Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-12-03 23:33 +0000
Re: What attributes of a programming language simplify its use? gah4 <gah4@u.washington.edu> - 2022-12-03 17:15 -0800
csiph-web