Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2002 17:33:16 -0800
From:      Bakul Shah <bakul@bitblocks.com>
To:        John Polstra <jdp@polstra.com>
Cc:        hackers@freebsd.org
Subject:   Re: A question about timecounters 
Message-ID:  <200202060133.UAA20243@ajax.cnchost.com>
In-Reply-To: Your message of "Tue, 05 Feb 2002 14:59:22 PST." <200202052259.g15MxMv04928@vashon.polstra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Is C a great language, or what? ;-)

Nah, just mediocre even when it comes to obfuscation!
Have you played with unlambda?!

> The way I always remember it is that you read the declaration
> inside-out: starting with the variable name and then heading toward
> the outside while obeying the precedence rules.  When you hit a "*",
> you say "pointer to"; when you hit "[]", you say "array of"; and when
> you hit "()" you say "function returning."  For example:

I remember something about switching declaration reading
direction when you hit a bracket; but why bother once you
have cdecl?

cdecl> declare f as array of pointer to function returning pointer to function returning int          
int (*(*f[])())()

It is not clear to me how to apply your rule.  It doesn't
matter though, it is gotten to the point where I can only
store ptrs to ptrs to information in my ever shrinking brain!

To the people who pointed out the cdecl port, I did look in
/usr/ports/devel but missed cdecl somehow.  Sigh... :-)

-- bakul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202060133.UAA20243>