Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Christopher F Clark Newsgroups: comp.compilers Subject: Re: What attributes of a programming language simplify its implementation? Date: Sun, 2 Oct 2022 01:21:48 +0100 Organization: Compilers Central Lines: 24 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-10-007@comp.compilers> References: <22-09-026@comp.compilers> <22-10-002@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="15295"; mail-complaints-to="abuse@iecc.com" Keywords: design Posted-Date: 01 Oct 2022 21:36:51 EDT 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:3183 I absolutely agree with Martin Ward's response: > it is a classic example of optimizing the wrong thing. While, as he says, it might be useful in simplifying an assignment in a course where you are trying to teach the fundamentals, it is the wrong answer for just about any other usage. Even for something throwaway one is doing for oneself it is probably the wrong approach. Those throwaway things often live longer than expected and are used far wider. You are trading a moments convenience for a lifetime of pain and regret. As one of my mentors said, "I can get you something real fast if the answer doesn't have to be right". It can be easy to get also. -- ****************************************************************************** Chris Clark email: christopher.f.clark@compiler-resources.com Compiler Resources, Inc. Web Site: http://world.std.com/~compres 23 Bailey Rd voice: (508) 435-5016 Berlin, MA 01503 USA twitter: @intel_chris ------------------------------------------------------------------------------