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

Re argument formatting, I'd guess it's because it uses the Prettier algorithm which works like that.

However in my experience it's much better than the alternative - e.g. clang-format's default "binpack"ing of arguments (lay them out like prose). That just makes them hard to read and leads to horrible diffs and horrible merge conflicts.



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

Search: