Closed AgustinVallejo closed 7 months ago
@AgustinVallejo and I will take a first pass and get back to @jonathanolson with questions.
The following is a patch for this work. We can review it together. As far as I tested, it works:
Reopening because there is a TODO marked for this issue.
Looked at this for some time and for the life of me couldn't figure out either what the duplication was or even what the code meant in the first place. So I moved the TODO to the legacy list: https://github.com/phetsims/density-buoyancy-common/issues/86
Closing this one
In some places, the Bottle and Boat implementations have repeated code or could benefit from common patterns. This is a meta-issue to identify the places this could be done in.
Also, relieving https://github.com/phetsims/density-buoyancy-common/issues/86 of some TODO's