Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.setup,comp.os.linux.advocacy,sci.physics Subject: Re: I think in FORTH & program in C/C++. Date: Fri, 1 Oct 2021 20:44:42 -0600 Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net V8SqzCpm+GP7L4lq8qGgnwNJCneGxP7EkjwBXV+LeuJo63+A6f Cancel-Lock: sha1:AFTFnJvdX9NvdgI9tgk+8edOQGg= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 In-Reply-To: Xref: csiph.com comp.os.linux.setup:4557 comp.os.linux.advocacy:595030 sci.physics:833457 On 10/01/2021 02:51 PM, Clutterfreak wrote: > Good programming requires sticking to the essentials. If it can be done > with an "if" statement never do it in any other way. If it can be done > with a simple loop, never do it by a recursive function. Stick to the > essentials and write it for others not for yourself when you're doing it > as a job. It belongs to the company that pays you, not to you. It is for > others to use. So as a person you have to meet certain criteria to be > able to do it right. It isn't just the ability to code. But tail recursion is kool or at least kooler than recursion.