| Deutsch English Français Italiano |
|
<D26dnXtRAIpTAdP6nZ2dnZfqn_idnZ2d@earthlink.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 03 Dec 2024 05:53:18 +0000 Subject: Re: Joy of this, Joy of that Newsgroups: comp.os.linux.misc References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <vhl090$5ghq$1@dont-email.me> <w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com> <vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid> <vhp646$12c7u$1@dont-email.me> <pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com> <vhsdhp$1m6qu$2@dont-email.me> <X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com> <vhvdmo$2900d$3@dont-email.me> <vhvdqu$28p7r$7@dont-email.me> <vi2jpb$2upqb$1@dont-email.me> <vi4dpt$3ec0n$5@dont-email.me> <lqmm1cF5lsrU3@mid.individual.net> <20241202090209.0000011c@gmail.com> <vilfi1$3kicc$2@dont-email.me> From: "186282@ud0s4.net" <186283@ud0s4.net> Organization: wokiesux Date: Tue, 3 Dec 2024 00:53:17 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <vilfi1$3kicc$2@dont-email.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Message-ID: <D26dnXtRAIpTAdP6nZ2dnZfqn_idnZ2d@earthlink.com> Lines: 32 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 99.101.150.97 X-Trace: sv3-rhwOrlTzipyz0axMXM0+ksZqX06SPRRfCvIhJH+ExpfIwOpAHJiNZQHCgT8psQKJUUi9zibjxdO+6RU!HoiM50+2BibSGCEbGcFmd7Y7eVK8DXkBRSvWvQvs2T8uER4HpOpHuD5grpMvrwWttwG82I6vRqLe!wGeW2GsaE4Yj/g/zpmAv X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 2871 On 12/2/24 6:23 PM, Lawrence D'Oliveiro wrote: > On Mon, 2 Dec 2024 09:02:09 -0800, John Ames wrote: > >> Ever since C99 added // comments, I have seen zero reason to bother with >> C++. > > That’s a very peculiar reason to prefer one language over another. > > Block/inline comments are handy in languages like C and C++ which don’t > permit arguments to be specified by keyword. They let you write code like > > const bool ok = dbus_connection_set_watch_functions > ( > /*connection =*/ conn, > /*add_function =*/ add_watch, > /*remove_function =*/ remove_watch, > /*toggled_function =*/ toggle_watch, > /*data =*/ NULL, > /*free_data_function =*/ NULL > ); > > which helps keep long argument lists just that little bit more > comprehensible. Kinda works. But, frankly I agree with John - barely ANY reason for C++ ... esp for 'system'-type stuff. I always stick to good old straight-up 'C'. "Object" works more naturally with other langs, but I still don't love it.