Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vqf0ao$3j0v5$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vqf0ao$3j0v5$1@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c
Subject: Re: Which code style do you prefer the most?
Date: Fri, 7 Mar 2025 15:37:12 +0100
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <vqf0ao$3j0v5$1@dont-email.me>
References: <vpkmq0$21php$1@dont-email.me> <vq785i$1u7v7$1@dont-email.me>
 <20250304101022.154@kylheku.com> <vq7shq$226p3$1@dont-email.me>
 <vq7u5u$21gol$2@dont-email.me>
 <20250305152224.ea400cb92445c78f6a4ba523@g{oogle}mail.com>
 <vq9kf0$2efj9$1@dont-email.me> <vq9mkb$2erto$1@dont-email.me>
 <20250305183051.3cca469a0fd757595152b261@g{oogle}mail.com>
 <vq9uqh$2g9q3$1@dont-email.me> <vqa0gr$2gmc7$1@dont-email.me>
 <vqa1rq$2gr5h$1@dont-email.me> <Ea0yP.6763$SVG3.6427@fx42.iad>
 <vqbptn$2triu$1@dont-email.me> <WBiyP.170259$BrX.10828@fx12.iad>
 <vqcnd0$32tgb$1@dont-email.me> <vqco4o$32t9o$1@dont-email.me>
 <20250306130748.768@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 07 Mar 2025 15:37:13 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e01dbbfbc0d9d1a3db83453344e94ef3";
	logging-data="3769317"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+cvLIsiAXWMltVIsB3p+Y/yYwo/okJ1mE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.11.0
Cancel-Lock: sha1:5P4EEMQ3eqADyuY8SfXFz87lhEo=
In-Reply-To: <20250306130748.768@kylheku.com>
Content-Language: en-GB
Bytes: 4130

On 06/03/2025 22:14, Kaz Kylheku wrote:
> On 2025-03-06, Richard Heathfield <rjh@cpax.org.uk> wrote:
>> At school we used a, b, c... for trigonometry and p, q, r for
>> point co-ordinates, so I suppose I assumed that i, j, k... for
>> matrices was intended to exploit a nice juicy part of the
>> alphabet that wasn't being used for anything else...
>>
>> ...and then along came imaginary numbers.
> 
> The imaginary i happily coexists with the indexing i.

Yes.

> 
> Mathematicians come in two varieties: those who are oblivious
> to ambiguity and those who relish it. This i situation goes
> unnoticed by the former, and pleases the latter.
> 

Mathematicians come in two varieties - those that can count, and those 
that can't count.

In my mathematics, I neither relish ambiguity nor am I oblivious to it - 
and I think most mathematicians are like that.

It is almost always obvious from context whether "i" refers to the 
imaginary number constant, or a counter index.  In situations where both 
might be used (such as the summation for a Fourier series), you simply 
use a different letter for the index - j, k, and n are typical.

> Electrical engineers, on the other hand, came along bearing
> current, and immediately saw the i clash, renaming the
> imaginary i to j.
> 

I've done plenty of electronics design, though I have no formal 
education in electrical engineering.  But I think it is quite common to 
use imaginary "i" rather than "j" - it's usually obvious from the 
context when you are talking about a current.  It's rare that you only 
have one current of interest in a system, so you already have i1, i2, 
i_in, i_out, or whatever.  There is rarely a clash.

> However, electrical engineers don't count through any abstract spaces,
> so they don't care about i (current) clashing with i (indexing).
> 

Of course electrical engineers count loops.

> They count things like resistors (R1, R2, ...), capacitors (C1, C2, ...)
> integrated circuits (U1, U2, ...), component pins, and so on.
> 

And they loop through these things - consider multi-stage filters, 
transmission line models, etc.

> An EE would never say impractical, goofy things like, "For i from 1
> through n (that being the number of capacitors n in my circuit), such
> and such a facts holds about Ci ..."
> 

They could quite happily talk about the sum of load capacitors C_i on a bus.