| Deutsch English Français Italiano |
|
<fpmcnRTPaqJptN36nZ2dnZfqn_idnZ2d@earthlink.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!local-4.nntp.ord.giganews.com!local-2.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 22 Nov 2024 06:51:32 +0000 Subject: Re: Joy of this, Joy of that Newsgroups: comp.os.linux.misc References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me> <vhmprp$iaf1$1@dont-email.me> <lq9h4kF2tegU1@mid.individual.net> <vhoet5$r8gq$3@dont-email.me> <vhoh0o$rq03$1@dont-email.me> From: "186282@ud0s4.net" <186283@ud0s4.net> Organization: wokiesux Date: Fri, 22 Nov 2024 01:51:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <vhoh0o$rq03$1@dont-email.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-ID: <fpmcnRTPaqJptN36nZ2dnZfqn_idnZ2d@earthlink.com> Lines: 30 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 99.101.150.97 X-Trace: sv3-WLRpJzJiBzHY5v5RpPpGAeFkYXVxGejy1bvU+ictE8ir2JU/YcZpQFRkSpx9bPNAh29P7TuEMoWIanP!+ft7tbrZGXj3LHGgIlbv3zgOTdAsZ96w+axEftk/WF1sRHFlQdt6JRv9RY1Z9pGEOJvQ4d+kFU5p!gp1Wd/5usUW2iY2gUByj X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 2399 On 11/21/24 6:50 PM, Lawrence D'Oliveiro wrote: > On Thu, 21 Nov 2024 23:14:45 +0000, Pancho wrote: > >> The idea was not to >> eliminate jumps but to impose a structure upon them. So much of good >> programming is imposing structure, imposing good practice rules to make >> the code more understandable, more manageable. > > Also, when you have a lot of dynamic memory allocation going on, a > structured discipline helps reduce the chances of common errors like > double-frees or memory leaks. > > <https://gitlab.com/ldo/a_structured_discipline_of_programming/> > Quite true. Dynamic alloc is powerful, but can also be a powerful driver of horrible FAULTS. Gotta keep close track ! But, if smart, less-structured CAN be made right. Today, I'd rec "structured" for a number of reasons, but we didn't always have that sort of luxury in abundance. Still don't love "object" ... gimme something closer to K&R instead :-)