Deutsch   English   Français   Italiano  
<vanrd8$3j0vv$1@dont-email.me>

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

Path: ...!weretis.net!feeder9.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 28 Aug 2024 20:48:08 +0200
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <vanrd8$3j0vv$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
 <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
 <v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
 <va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
 <va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
 <va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
 <va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me>
 <va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me>
 <va6rpa$c6bg$1@dont-email.me> <va6se9$cb8e$1@dont-email.me>
 <20240826083330.00004760@gmail.com> <vaises$2k7o6$2@dont-email.me>
 <20240826155113.000005ba@gmail.com> <wwvo75eicla.fsf@LkoBDZeT.terraraq.uk>
 <vak9k9$2ujrs$1@dont-email.me> <valgpu$34s18$1@dont-email.me>
 <vannkg$3ig72$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 28 Aug 2024 20:48:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="cc8f51624d10978cb2cd26ba1ed55434";
	logging-data="3769343"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19hi8Hj84LWykhhVvDgpzsUk+lvktBwecw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:IXK73woeyZiTJdxDam51KtVNL5s=
Content-Language: en-GB
In-Reply-To: <vannkg$3ig72$1@dont-email.me>
Bytes: 3153

On 28/08/2024 19:43, Muttley@dastardlyhq.com wrote:
> On Tue, 27 Aug 2024 21:34:54 -0000 (UTC)
> Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>> On Tue, 27 Aug 2024 11:26:18 +0100, Bart wrote:
>>
>>> (2) You want to temporarily comment out an 'if' line so that the
>>> following block is unconditional. You can't do that with also
>>> unindenting the block.
>>
>> In Emacs, I have commands defined to adjust the indentation of the
>> selected region. Surely any other decent editor would offer the same.
> 
> Writing editor editor macros in order to work around fundamentally bad
> language design is not something a programmer should have to waste time on.
> 
> 

I don't know about Emacs, but in most editors the way you indent a block 
of code is to select the lines, then press "Tab".  Unindenting is 
"shift-Tab".  Changing tabs to spaces or spaces to tabs is done by 
selecting "Tabs to spaces" from the Edit menu, or something equally 
simple and obvious.  Many editor can be set to convert tabs to spaces 
(or vice versa) when saving files, perhaps specific to the file type (so 
you don't muck up your makefiles).

It takes a special kind of genius to be able to program, and yet still 
have trouble with this kind of thing.