Hacker News new | ask | show | jobs
by manicdee 4360 days ago
What things are you aligning on different lines? Are you stuffing spaces between variables and assignment operators "a = 1"?

Don't do that. It looks ugly on my tab-indented, proportional font display.

1 comments

Usually, it's argument lists that need aligning.

I personally hate aligned assignments. I find it very sloppy. But yes, that is what you would do if you so wanted aligned assignments.

Using only tabs, you cannot do aligned assignments unless you are able to set specific tab stops per line. If you disagree, I can provide an assignment example that breaks tabs. While per-line tab stops might be possible, the overhead of maintaining tab stops vs not using aligned assignments is not worth it.