Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #123503
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Lambdas in C, constructor, destructor, new and delete |
| Date | 2017-11-26 12:03 +1300 |
| Message-ID | <f7ub5sF1omrU17@mid.individual.net> (permalink) |
| References | <fa6af86e-e8be-43f2-8220-d6782d903ac9@googlegroups.com> <BqWRB.69420$C51.9001@fx26.am4> <ov9fat$hm6$1@dont-email.me> <695c613b-dc2a-4860-a05c-6f874219b158@googlegroups.com> |
On 11/26/2017 10:18 AM, Thiago Adams wrote: > On Saturday, November 25, 2017 at 6:29:10 PM UTC-2, David Brown wrote: >>> Those sound familiar... >> >> Yes. And when you start going down that road, you quickly find it would >> be useful to allow more general types of structure, then some way of >> re-using structures and codes, then some way of controlling access to >> them, then some way of generalising the code - the features of C++ came >> about because someone wanted to add a "class" system to C, and then >> discovered that he language could be more useful with more features. > > The feautures I am sugesting is to create a better language > than C++ , not to add the problems of C++ into C. > I am not talking about the problems of C++ because I think it is > offtopic. I am not talking(too much) about the problems of C++ > in C++ community because we cannot go back in C++. The problem you will face is the same one others have hit: The more apparently simple features you want to add, the more extras you have to add the language to fully support them. If you want to retain backwards compatibility with C, or even exist in the same space as C, your hands are further tied. Most languages that set out to be better C or cleaner C++ have become steadily more and more complex as users have wanted features similar to C++ in their new language (generics in Java, OO support in Python and PHP spring to mind). -- Ian.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar
Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-24 05:30 -0800
Re: Lambdas in C, constructor, destructor, new and delete bartc <bc@freeuk.com> - 2017-11-24 14:56 +0000
Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-24 07:58 -0800
Re: Lambdas in C, constructor, destructor, new and delete Spiros Bousbouras <spibou@gmail.com> - 2017-11-24 16:33 +0000
Re: Lambdas in C, constructor, destructor, new and delete Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-11-24 08:43 -0800
Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-24 08:48 -0800
Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-24 09:05 -0800
Re: Lambdas in C, constructor, destructor, new and delete "Pascal J. Bourguignon" <pjb@informatimago.com> - 2017-11-24 20:18 +0100
Re: Lambdas in C, constructor, destructor, new and delete bartc <bc@freeuk.com> - 2017-11-24 20:47 +0000
Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-25 11:17 -0800
Re: Lambdas in C, constructor, destructor, new and delete David Brown <david.brown@hesbynett.no> - 2017-11-24 16:54 +0100
Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-25 13:18 -0800
Re: Lambdas in C, constructor, destructor, new and delete Ian Collins <ian-news@hotmail.com> - 2017-11-26 12:03 +1300
Re: Lambdas in C, constructor, destructor, new and delete bartc <bc@freeuk.com> - 2017-11-26 00:16 +0000
Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-28 03:11 -0800
Re: Lambdas in C, constructor, destructor, new and delete Ian Collins <ian-news@hotmail.com> - 2017-11-29 10:39 +1300
Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-29 02:52 -0800
Re: Lambdas in C, constructor, destructor, new and delete bartc <bc@freeuk.com> - 2017-11-29 11:48 +0000
Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-29 08:42 -0800
csiph-web