From owner-freebsd-hackers Tue Feb 5 17:33:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ajax.cnchost.com (ajax.cnchost.com [207.155.248.31]) by hub.freebsd.org (Postfix) with ESMTP id AC50C37B419 for ; Tue, 5 Feb 2002 17:33:19 -0800 (PST) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by ajax.cnchost.com id UAA20243; Tue, 5 Feb 2002 20:33:15 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <200202060133.UAA20243@ajax.cnchost.com> To: John Polstra Cc: hackers@freebsd.org Subject: Re: A question about timecounters In-reply-to: Your message of "Tue, 05 Feb 2002 14:59:22 PST." <200202052259.g15MxMv04928@vashon.polstra.com> Date: Tue, 05 Feb 2002 17:33:16 -0800 From: Bakul Shah Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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