Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!transit3.readnews.com!news-out.readnews.com!postnews7.readnews.com!not-for-mail |
|---|---|
| From | Patrick Scheible <kkt@zipcon.net> |
| Newsgroups | comp.lang.c |
| Subject | Re: Array implementation of Stack |
| References | <4df9d41f$0$308$14726298@news.sunsite.dk> <4dfceef1$0$44207$4fafbaef@reader1.news.tin.it> <4e05aa11$0$15671$4fafbaef@reader2.news.tin.it> <627ecf99-e884-4bd5-804c-5b21f1d7422d@l9g2000yqk.googlegroups.com> |
| Date | Sat, 25 Jun 2011 16:29:29 -0700 |
| Message-ID | <86mxh5v6au.fsf@zipcon.net> (permalink) |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) |
| Cancel-Lock | sha1:62wk36AihoA2YR+31pMlH/jjv14= |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| Lines | 24 |
| Organization | The Zip Connection (zipcon.net) |
| NNTP-Posting-Host | 863e5bf6.news.zipcon.net |
| X-Trace | DXC=GSkM8UN<aKUiWd0f0h0laWU>Dm5d6:E6]KVMW_P9@Sf\6i3K@k4DWOQ<2IBkV^g4f\\a9CRH25Wd_ |
| X-Complaints-To | abuse@zipcon.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c:6947 |
Show key headers only | View raw
"Kleuskes & Moos" <kleuske@xs4all.nl> writes: > On Jun 25, 11:29 am, "io_x" <a...@b.c.invalid> wrote: > >> // macro for function >> #define P printf >> >> // macro for keyWords >> #define G goto >> #define R return >> #define W while >> #define F for >> #define T template >> #define TN typename > > The above macro's ought to be taken out and shot. Especially G for goto. If you use gotos enough to need a macro for them, you're doing something very, very wrong. But all of them should go. Too cryptic to expect third parties to read, not cryptic enough to win the obfuscated C contest. -- Patrick
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Array implementation of Stack "io_x" <a@b.c.invalid> - 2011-06-18 20:32 +0200
Re: Array implementation of Stack "io_x" <a@b.c.invalid> - 2011-06-25 09:02 +0200
Re: Array implementation of Stack "io_x" <a@b.c.invalid> - 2011-06-26 07:25 +0200
Re: Array implementation of Stack pete <pfiland@mindspring.com> - 2011-06-26 02:11 -0400
Re: Array implementation of Stack "io_x" <a@b.c.invalid> - 2011-06-26 19:08 +0200
Re: Array implementation of Stack "io_x" <a@b.c.invalid> - 2011-07-07 06:59 +0200
Re: Array implementation of Stack Shao Miller <sha0.miller@gmail.com> - 2011-07-07 19:25 -0400
Re: Array implementation of Stack "io_x" <a@b.c.invalid> - 2011-07-08 20:06 +0200
Re: Array implementation of Stack "io_x" <a@b.c.invalid> - 2011-06-25 11:29 +0200
Re: Array implementation of Stack "Kleuskes & Moos" <kleuske@xs4all.nl> - 2011-06-25 03:04 -0700
Re: Array implementation of Stack Ian Collins <ian-news@hotmail.com> - 2011-06-25 22:23 +1200
Re: Array implementation of Stack Patrick Scheible <kkt@zipcon.net> - 2011-06-25 16:29 -0700
csiph-web