Deutsch   English   Français   Italiano  
<vhr2r7$1cdln$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Pancho <Pancho.Jones@proton.me>
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Fri, 22 Nov 2024 23:07:19 +0000
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <vhr2r7$1cdln$1@dont-email.me>
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>
 <LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
 <vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
 <vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 23 Nov 2024 00:07:19 +0100 (CET)
Injection-Info: dont-email.me; posting-host="0996b149b2c257ae77a172fc1c1f1afd";
	logging-data="1455799"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18PObW0iO2y3MwUuhMQdYFGW/H6C+sx2/c="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:vfNZ1gLVQLdedvn0rsY1Sk46ujM=
In-Reply-To: <vhqm4g$1aarf$1@dont-email.me>
Content-Language: en-GB
Bytes: 2331

On 11/22/24 19:30, The Natural Philosopher wrote:

>> Coding is always a balance between flexibility and clarity, there is 
>> no "right" answer. You can make code more flexible by adding another 
>> layer of indirection, but it becomes harder to understand.
>>
>>
> I echo that. The 'nogoto' was really a fool's rule. The wise man's 
> guidance was 'make it clear what you are doing because you  or someone 
> else - may need to understand it in a years time'
> I dpnt find OO in general makes code easier to understand.
> 

It's hard for me to understand reluctance to use OO. I learnt Smalltalk 
before I learnt C. I never did much development in C, mainly 
maintenance, but when I did it had an OO feel. When C++ came along I was 
very happy.

To me saying you don't like OO is a bit like saying you don't like 
structs. Yes, instead of a struct you could use a block of memory and 
offsets, but why would you want to when you have a struct.

I find it hard to imagine any other way of coding.