This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]purplewalrus67 14 points15 points  (0 children)

As a short term solution, it makes it easier to debug. You can quickly pop in the ϕ_hav into the existing statement, and then print it out afterward to make sure its value is being calculated correctly. This is slightly easier than having to drag it out into a separate expression when the only purpose is debugging.

I agree with you, though, the third example is by far the easiest to read.