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

Braces combined w/ something like clang-format or gofmt are clearly better. Perhaps a really advanced editor (that most people don't use) could offer a similar experience for braceless (sig. indent) languages.

Short braceless code typesets beautifully, but you can probably get a similar effect w/ an appropriate 'braces highlight at lower contrast when autoindented as expected'.



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

Search: