Liste des Groupes | Revenir à cl c |
On Fri, 22 Mar 2024 10:02:47 +0100, David Brown wrote:No, I am quite happy with Python, and use it regularly. It is simply that Python and C are very different languages, and I see no benefit in trying to make one look like the other. (And I talked more about Python than Ada because my knowledge of Ada is a lot more limited compared to my knowledge and experience with Python - and I expect that pattern is common amongst other people in c.l.c.)
On 21/03/2024 22:16, Lawrence D'Oliveiro wrote:Is “Python” some kind of trigger word with you? Soon as you see that, a
>On Thu, 21 Mar 2024 13:37:57 +0200, Mikko wrote:>
>On 2024-03-21 06:19:13 +0000, Lawrence D'Oliveiro said:>
>gdImageCopyResampled>
(
/*dst =*/ ResizedFrame,
/*src =*/ Context.StillFrame, /*dstX =*/ 0,
/*dstY =*/ 0,
/*srcX =*/ 0,
/*srcY =*/ 0,
/*dstW =*/ ResizedFrame->sx, /*dstH =*/ ResizedFrame->sy,
/*srcW =*/ Context.StillFrame->sx,
/*srcH =*/ Context.StillFrame->sy
);
I prefer to put the argument names at the end of the line.
But putting them in front of the values looks more like the syntax in
languages (like Ada and Python) that do allow specification of argument
keywords.And maybe, in future, if it becomes valid in C (or some successor),Why would you want your C code to look like Python?
then updating the code should be as simple as removing the comment
symbols.
>
switch clicks off in your brain, and you are incapable of focussing on
anything else that was said?
Les messages affichés proviennent d'usenet.