Deutsch English Français Italiano |
<uti83u$2ed01$4@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!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: Block Comments Or Rest-Of-Line Comments? Date: Thu, 21 Mar 2024 21:16:46 -0000 (UTC) Organization: A noiseless patient Spider Lines: 24 Message-ID: <uti83u$2ed01$4@dont-email.me> References: <utgjh0$21nsq$2@dont-email.me> <uth66l$266da$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 21 Mar 2024 21:16:46 -0000 (UTC) Injection-Info: dont-email.me; posting-host="badb6633f042ee08dd03f65d8f49603e"; logging-data="2569217"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oV8ND3vSjOoNd6ngmMEE6" User-Agent: Pan/0.155 (Kherson; fc5a80b8) Cancel-Lock: sha1:xKPWB43nIwMa5u2+ZkIbYmAsg44= Bytes: 1820 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), then updating the code should be as simple as removing the comment symbols.