Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #390011
| Path | csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
| Newsgroups | comp.lang.c |
| Subject | Re: Opinions on `defer`? |
| Date | Mon, 13 Jan 2025 06:47:58 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 22 |
| Message-ID | <86y0ze6a8x.fsf@linuxsc.com> (permalink) |
| References | <87y0znpik1.fsf@gmail.com> <86sept85nz.fsf@linuxsc.com> <vloqlb$3e2nh$1@raubtier-asyl.eternal-september.org> <a%SfP.800037$ZAue.26064@fx12.iad> <vlp1pq$3fem1$1@raubtier-asyl.eternal-september.org> <SuUfP.61518$6yI.24465@fx42.iad> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Date | Mon, 13 Jan 2025 15:48:05 +0100 (CET) |
| Injection-Info | dont-email.me; posting-host="9eea8443f476a77794ac96904ee9ae64"; logging-data="1932737"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JHXyst8e5OXkm1GlCKWTkFlbAYzGLGuI=" |
| User-Agent | Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) |
| Cancel-Lock | sha1:VTGfVBBBH5iWxRF0Arrejrfu7kA= sha1:JvmmB/rXp+BUTlC7Lji9STyZBY8= |
| Xref | csiph.com comp.lang.c:390011 |
Show key headers only | View raw
scott@slp53.sl.home (Scott Lurndal) writes: > Bonita Montero <Bonita.Montero@gmail.com> writes: > >> Am 09.01.2025 um 17:41 schrieb Scott Lurndal: >> >>>> Why ? >>> >>> If you want destructors, use c++. >> >> If you're stuck with plain C, something like defer would >> be a huge relief over gotos as used in the Linux kernel. > > Most C-code can be compiled with a C++ compiler, [...] That used to be true. These days the two languages have diverged enough so that it is no longer a good assumption. > I don't find the 'defer' proposal readable and I suspect it > may lead to more maintainability issues that simple gotos. Instead of calling it 'defer' it should be called 'goto++'.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar
Opinions on `defer`? Alexis <flexibeast@gmail.com> - 2025-01-07 11:35 +1100
Re: Opinions on `defer`? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-01-07 00:53 +0000
Re: Opinions on `defer`? Thiago Adams <thiago.adams@gmail.com> - 2025-01-08 09:53 -0300
Re: Opinions on `defer`? David Brown <david.brown@hesbynett.no> - 2025-01-07 08:49 +0100
Re: Opinions on `defer`? Phillip <nntp@fulltermprivacy.com> - 2025-01-07 09:53 -0500
Re: Opinions on `defer`? John McCue <jmccue@neutron.jmcunx.com> - 2025-01-07 15:50 +0000
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-01-07 19:17 +0100
Re: Opinions on `defer`? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-01-08 14:39 -0800
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-01-09 08:24 +0100
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-01-11 15:46 +0100
Re: Opinions on `defer`? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-08 01:21 +0100
Re: Opinions on `defer`? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-01-08 01:02 +0000
Re: Opinions on `defer`? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-02-28 00:08 +0000
Re: Opinions on `defer`? BlueManedHawk <bluemanedhawk@invalid.invalid> - 2025-01-08 09:14 -0500
Re: Opinions on `defer`? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-01-08 11:30 -0800
Re: Opinions on `defer`? Thiago Adams <thiago.adams@gmail.com> - 2025-01-08 17:25 -0300
Re: Opinions on `defer`? Thiago Adams <thiago.adams@gmail.com> - 2025-01-08 17:30 -0300
Re: Opinions on `defer`? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-02-18 20:03 -0800
Re: Opinions on `defer`? David Brown <david.brown@hesbynett.no> - 2025-01-09 14:01 +0100
Re: Opinions on `defer`? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-01-09 19:40 +0000
Re: Opinions on `defer`? David Brown <david.brown@hesbynett.no> - 2025-01-09 21:31 +0100
Re: Opinions on `defer`? Michael S <already5chosen@yahoo.com> - 2025-01-09 22:40 +0200
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-01-09 16:40 +0100
Re: Opinions on `defer`? scott@slp53.sl.home (Scott Lurndal) - 2025-01-09 16:41 +0000
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-01-09 18:42 +0100
Re: Opinions on `defer`? scott@slp53.sl.home (Scott Lurndal) - 2025-01-09 18:23 +0000
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-01-10 15:05 +0100
Re: Opinions on `defer`? scott@slp53.sl.home (Scott Lurndal) - 2025-01-10 15:06 +0000
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-01-11 13:03 +0100
Re: Opinions on `defer`? David Brown <david.brown@hesbynett.no> - 2025-01-10 19:13 +0100
Re: Opinions on `defer`? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-01-13 06:47 -0800
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-01-13 19:59 +0100
Re: Opinions on `defer`? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-02-24 20:46 +0000
Re: Opinions on `defer`? Bonita Montero <Bonita.Montero@gmail.com> - 2025-03-03 16:44 +0100
csiph-web