Fixing C's Biggest Mistake

areYouSureAboutThat areYouSureAboutThat at gmail.com
Mon Dec 26 01:01:54 UTC 2022


On Saturday, 24 December 2022 at 09:20:26 UTC, RTM wrote:
>
> ..
> To the topic.
> ImportC is good thing. There are lots and lots of libraries 
> written in C.
> Extending C syntax is definitely not, it’s a time wasted. No 
> one can beat Herb Sutter (CPPfront).

Please don't compare ImportC to cppfront,as you just made the 
case for importC much stronger ;-)

i.e.cppFront will happily compile this (even though no such 
function exists..anywhere):

main: () -> int =
{
     printMyMessage();
}

it's only when you try to compile the file cppfront outputs, 
using a 'proper' compiler, will you learn that no such function 
exists.




More information about the Digitalmars-d mailing list