KonstantinosRekoumis / CSR

A primitive calculator that calculates a ship midship plates and PSMs based on IACS CSR
2 stars 2 forks source link

Decorated appropriate classes with __str__ and removed obsolete Debug bools #16

Closed gerelef closed 11 months ago

gerelef commented 11 months ago

Finished #13. 7 is almost done as well; there's only one if debug statement remaining; what should we do with it? There should be a slightly better way to handle this. Perhaps a global DEBUG env var? however that's still a dirty solution. Do we really need this if debug? It'd be much easier to just remove it (?), however we shouldn't if they're critical checks.

Also I changed very dense (in a bad way) if elif else to a logically equivalent match case; please verify that it is the case.