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

It doesn’t actually break code, it just wraps it on mobile devices differently. Make your window bigger (80 chars) if you want to see full lines. For mobile it’s still more readable than horizontal scrolling code.


> It doesn’t actually break code, it just wraps it on mobile devices differently.

I meant it breaks the flow of the code by inserting line breaks.

> Make your window bigger (80 chars) if you want to see full lines. For mobile it’s still more readable than horizontal scrolling code.

Not all code uses 80 as the standard, many use 100 instead. Regardless, it is not at all true that wrapping is more readable than horizontal scrolling. Wrapping doesn't obey the indentation of the surrounding context.


This is a matter of opinion, you see scrolling as better on mobile and I see wrapping as far far better.




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

Search: