Any programmers out there want to weigh in on this highly controversial topic?
This is part of a larger research project how code can be displayed to improve readability. One idea we're looking into is to integrate auto-alignment more naturally with text editor.
For example:
my_var = foo(y0, z)
my_var2 = bar(y, z)
to: my_var = foo(y0, z)
my_var2 = bar(y, z)
or maybe even: my_var = foo(y0, z)
my_var2 = bar(y , z)
Right now, a major limiting factor is that this has to be done manually. Some text editors and IDEs have macros to help, but that's still manually, just less tedious. And they often aren't able to align based on multiple tokens.Some people have already started looking into using more advanced pattern matching algorithms for this, but one of the first questions to ask is: how much alignment do people actually want?
Give us your opinion,
https://users.soe.ucsc.edu/~hskinner/survey/survey.php