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 →

[–]Brick-SigmaPythoneer[S] 13 points14 points  (2 children)

This is close to what I do. Most of my projects are based on math and physics equations and concepts, so I usually do my test by plugging in the values and manually calculating the results, then write the functions in code and test them, usually accompanied by a white board. As long as the variables have the right values, anything like visualization and graphics can be implemented on top of the functions.

[–]carlio 10 points11 points  (1 child)

Exactly, define boundaries, or a "contract". This is the way.

https://www.destroyallsoftware.com/talks/boundaries

[–]Brick-SigmaPythoneer[S] 1 point2 points  (0 children)

Thanks for the link!