Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." Newsgroups: comp.os.linux.misc,alt.folklore.computers Subject: Re: C structure portability, naughty Python Date: Mon, 5 Jan 2026 13:25:51 +0100 Lines: 51 Message-ID: References: <10j9a1l$1toj$1@gal.iecc.com> <10j9vvr$23cp$2@gal.iecc.com> <10jb0is$172cb$2@dont-email.me> <679q2mx7o4.ln2@Telcontar.valinor> <10jduat$22c54$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net YloOIAnTAOx5Z9gYo5miDgJPDR1wxC/P14rY6cfiGyvQEtGR40 X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:d6p7eq7NFssQFeUF8FmoQ4Ln8Cc= sha256:VBK2rGhKD3dibcRTGXenxRNW48JMbhPoYAFL/9XvA/Y= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: <10jduat$22c54$1@dont-email.me> Xref: csiph.com comp.os.linux.misc:80511 alt.folklore.computers:233188 On 2026-01-04 15:43, Chris Ahlstrom wrote: > Carlos E.R. wrote this post by blinking in Morse code: > >> On 2026-01-03 20:43, rbowman wrote: >>> On Sat, 3 Jan 2026 07:03:38 -0500, Chris Ahlstrom wrote: >>> >>>> I once created an audio playback app with class hierarchies in C, rather >>>> than C++. It was an interesting experiment, and it worked. But that's >>>> the last time I tried that. >>> >>> A class is a glorified struct. I remember heated discussions at one of the >>> Boston Computer Society's meeting before 'C++' became a name about 'C with >>> Classes' and whether a new language was needed. >>> >>> 'C with Classes' is now a derogatory term that describes the sort of C++ I >>> write. Charles Petzhold has written a number of books on programming for >>> Windows. He has an intense dislike for C++ so if you can track down some >>> of the first editions of 'Programming Windows' they are all C. The 6th >>> edition was C# which he said was what should have been all along. >> >> What's the difference between C++ and C#? (I don't know how to pronounce >> that one). > > C-sharp. (Get it? Get it?) Mmm... no, I don't think I get it. Maybe something cultural in it. > > AI Overview > > C++ and C# are both derived from the C language family but > target different programming needs: > > C++ offers high performance and low-level hardware control, > making it ideal for systems programming and game engines, > while C# provides a managed, higher-level environment for > easier and faster development of web, desktop, and mobile > applications > > Kind of analogous to C++ versus Java. > > I don't really agree that C# is easier. You still have to develop > a mental model of the language and master adjunct frameworks like > .NET. > Ok :-) -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;