Re: Simplicity has a future
- From: rlb@xxxxxxxxxxxxxxxxxxxxxx (Richard Bos)
- Date: Wed, 31 May 2006 14:47:17 GMT
Ben Pfaff <blp@xxxxxxxxxxxxxxx> wrote:
"Tomas" <No.Email@Address> writes:
Richard Heathfield posted:
foo *foo_create(int bar)
{
foo *new = malloc(sizeof *new);
if(new != NULL)
{
new->bar = bar;
}
return new;
}
specifically to remind me, should I ever try to use a C++ compiler on
the code, that I'm making a big mistake.
A facility as simple as "find and replace" solves the keyword problem.
Yes, and at the same time it screws up all the comments that use
"new" as an English word.
But C++ programmers aren't stupid enough to need comments.
Richard
.
- References:
- Simplicity has a future
- From: jacob navia
- Re: Simplicity has a future
- From: Tomás
- Re: Simplicity has a future
- From: jacob navia
- Re: Simplicity has a future
- From: Tomás
- Re: Simplicity has a future
- From: Keith Thompson
- Re: Simplicity has a future
- From: Richard Heathfield
- Re: Simplicity has a future
- From: Tomás
- Re: Simplicity has a future
- From: Ben Pfaff
- Simplicity has a future
- Prev by Date: Re: Simplicity has a future
- Next by Date: Re: Simplicity has a future
- Previous by thread: Re: Simplicity has a future
- Next by thread: Re: Simplicity has a future
- Index(es):
Relevant Pages
|