r/programming • • Dec 23 '12

Simulating a solar system with Python

http://users.softlab.ntua.gr/~ttsiod/gravityRK4.html
244 Upvotes

72 comments sorted by

View all comments

Show parent comment

7

u/zokier Dec 24 '12

Actually I prefer the long forms in both cases. And even the ideal gas law one is just 56 characters, ie well below 80 character line. And for longer equations, I think breaking it down with descriptive temporary variables (or some other way) would be beneficial in either way.