On 16/10/2026 09:22, c186282 wrote:
> On 10/16/26 02:02, Lawrence D’Oliveiro wrote:
>> On Thu, 15 Oct 2026 21:53:57 -0700, Peyton wrote:
>>
>>> I one time worked with a colleague who did not understand why a C#
>>> binary executable was running significantly faster than a Python
>>> script.
>>
>> Tell me again, why does C♯ exist? Beyond being some kind of corporate
>> vanity project started by Bill Gates after Sun gave him a good hiding
>> over his attempts to hijack Java?
>
> There is NO really good reason for C++
>
There is a logic to using that form of model to structure code lexically for certain foirms of problems
There is little real argument for building a language that virtually enforces it
> Yea, yea, it's "object" - but in C you
> don't REALLY need that.
>
You can do most of it using local [static] variables in file that describe an 'object' whose functions are all static except one, so you get 'object oriented programming' without the idiocy of C++ syntax. I use this sometimes with straight 'C' to modularise stuff.
Of course you don't get the syntax or the operator overloading, but I regard that as a bonus
--
Outside of a dog, a book is a man's best friend. Inside of a dog it's too dark to read.
Groucho Marx