Deutsch   English   Français   Italiano  
<uthc9v$27npc$1@dont-email.me>

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

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: DFS <nospam@dfs.com>
Newsgroups: comp.os.linux.advocacy
Subject: Re: Tabs As Syntax
Date: Thu, 21 Mar 2024 09:22:06 -0400
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <uthc9v$27npc$1@dont-email.me>
References: <17be73f7d87a06e9$246570$4075406$802601b3@news.usenetexpress.com>
 <utejt0$1fq95$1@dont-email.me> <uterkv$1haln$2@dont-email.me>
 <l624u3Fn16lU13@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Mar 2024 13:22:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a1039f8efe77cd4dd3e555af4710f67d";
	logging-data="2350892"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18yrktppHNwEqhvziY7wKxY"
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:wj43KothANRXzPzGMGJOb2ITpkk=
In-Reply-To: <l624u3Fn16lU13@mid.individual.net>
Content-Language: en-US
Bytes: 1780

On 3/21/2024 3:12 AM, rbowman wrote:
> On Wed, 20 Mar 2024 10:25:39 -0400, DFS wrote:
> 
>> Python style (forced indents, no forced brackets) is shorter and more
>> readable than C style (no forced indents, forced brackets).
> 
> for i in range(10):
>      print(f"foo[{i} is {foo[i]}")
> 
> for (i=0; i<10; i++) {
>      printf("foo[%d] is %s\n", i, foo[i]);
> }
> 
> Whoopee! Python wins by one line!  

A win is a win is a win.



> Unless of course
> 
> for (i=0; i<10; i++) {printf("foo[%d] is %s\n", i, foo[i]);}

for i in range(2,11): print("%d made %d look like a foo^2" % (i*i,i))