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

it only works for initial indentation, so people that like columnar layouts are kinda screwed. auto-tabbing tools will take n-spaces and turn them into a tab, which screws up stuff.

lets just take the whole idea one step further and either use tools that reformat based on agreed upon styles (meaning a developer could reasonably take the source, preject it into their preferred style and project it back out again).

or store the canonical version as structured data in a database and always project it into some text for viewing.

broader adoption of formatters has drastically reduced the number of pointless and emotional formatting arguments I've gotten into. lets push that further.



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

Search: