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

Whitespace gets weird with indenting code.

I use block scalars constantly now, with liberal use of the trimming dashes all over the place.

Any time I need to preserve some indentation in my result, I always hate the formatting I’m left with, especially if there is logic involved.



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

Search: