Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
senki
on April 6, 2010
|
parent
|
context
|
favorite
| on:
32 years on, K&R's "The C Programming Language" st...
Why would you write code like this?
Dellort
on April 6, 2010
[–]
The point is not that, but that as soon as you make slightly nontrivial declarations it is not readable in one pass.
senki
on April 6, 2010
|
parent
|
next
[–]
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.
sketerpot
on April 6, 2010
|
parent
|
prev
[–]
If that's what you consider "slightly nontrivial", I never want to see what you would consider a
difficult
type declaration.
eru
on April 7, 2010
|
root
|
parent
[–]
I'd volunteer some Haskell, but I am afraid that while complex, it doesn't have enough line noise in the type declarations.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: