News for hackers. Stuff that matters.
Re:32 years on, K&R's "The C Programming Language" still sta... by senki on Tuesday April 06, 2010 @03:57PM (#1245466)
Why would you write code like this?
Re:32 years on, K&R's "The C Programming Language" still sta... by Dellort on Tuesday April 06, 2010 @04:04PM (#1245483)
The point is not that, but that as soon as you make slightly nontrivial declarations it is not readable in one pass.
Re:32 years on, K&R's "The C Programming Language" still sta... by senki on Tuesday April 06, 2010 @04:25PM (#1245541)
Well, the K&R book talk about the complicated declarations, and recommend the use of the typedef command. Also, it contains a simple program called "dcl", analogous to what you linked.
Re:32 years on, K&R's "The C Programming Language" still sta... by sketerpot on Tuesday April 06, 2010 @07:17PM (#1245936)
If that's what you consider "slightly nontrivial", I never want to see what you would consider a difficult type declaration.
Re:32 years on, K&R's "The C Programming Language" still sta... by eru on Wednesday April 07, 2010 @12:08PM (#1247640)
I'd volunteer some Haskell, but I am afraid that while complex, it doesn't have enough line noise in the type declarations.