mickadam / PinholeCalculator

Opensource version of pinholeCalculator
2 stars 1 forks source link

Refactor the different papers and films properties #11

Open daar opened 10 years ago

daar commented 10 years ago

Investigate the best way to refactor the paper and film properties. Now these properties are hardcoded in Exposition.java. Investigate wether it makes sense to refactor them out in separate (inherited) classes, or to store the properties as polynomes in the database. The latter makes it possible for users to create their own "custom" film or paper.

mickadam commented 10 years ago

I agree with that, the code needs much refactor, especially for paper properties.