Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Help you help them" however is only necessary in the python example because data is lost. The indention doesn't mean anything to C programmers, and thus I need no help from them to help them.


> The indention doesn't mean anything to C programmers

So you could read and debug a 5000-line program written all on one line without reformatting it?


What does "5000 lines all on one line" mean?

If it fits on a page I don't have trouble reading it. Line breaks tend to make it harder to fit on a page and not easier.

Example:

http://www.nsl.com/papers/origins.htm


You can honestly read and understand that as-is? And adding line breaks and proper indentation would make it absolutely no easier? Impressive. I don't think there's many C programmers who have that ability.


Yes I can read this, and adding line breaks would not make it easier.

In fact I think it would make it worse.

This has come up before, if you're interested:

* https://news.ycombinator.com/item?id=8476189

* https://news.ycombinator.com/item?id=8476702

It is also something I set out to learn how to do because I saw someone else do it: If someone produces smaller and faster code than me, then I should want to learn from it.

When working with others, I will often extemporise my code for their sake. I sometimes make mistakes when doing this, but sometimes making friends is more important than fast and correct programs.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: