Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andrus
on May 17, 2013
|
parent
|
context
|
favorite
| on:
Source Code Typography
Would like to know whether the author feels his rewrite is more successful than the original. The following takes me longer to read:
for ( ; (*to = *from) != 0; ++from, ++to ) ;
Whereas the idiomatic version seems simpler:
for (; (*to = *from) != 0; ++from, ++to);
_mpu
on May 17, 2013
|
next
[–]
I agree. I don't understand why people keep trying to deface C. This "indentation" scheme is by all mean ridiculous and not practical. One thing we learn from this article is that the author actually does not program in C.
Luyt
on May 18, 2013
|
prev
[–]
When I saw that ridiculous formatted for() in the article, I began suspecting the article was meant as a joke.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: