Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/align pp #2918

Merged
merged 1 commit into from
Jun 27, 2016
Merged

Feature/align pp #2918

merged 1 commit into from
Jun 27, 2016

Conversation

asterite
Copy link
Member

For this program:

a = 1
b = 2
pp a, b, a + b

Output before:

a # => 1
b # => 2
a + b # => 3

Output after:

a     # => 1
b     # => 2
a + b # => 3

When debugging code I often use pp with a few related expressions/values, and it's much easier to quickly understand them if they are aligned. This is of course slower because the strings need to be stored in an array, but since this is for debugging it doesn't matter much.

@asterite asterite merged commit f2ca2db into release/0.18 Jun 27, 2016
@asterite asterite added this to the 0.18.5 milestone Jun 27, 2016
@asterite asterite deleted the feature/align_pp branch July 3, 2016 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant