Open akorosov opened 8 years ago
+1 seems a more logical approach
+1 yes, these are good arguments.
2016-03-17 9:49 GMT+01:00 Aleksander Vines notifications@github.com:
+1 seems a more logical approach
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/nansencenter/nansat/issues/164#issuecomment-197768571
There was a suggestion on Nansat lectures to make Nansat immutable: https://github.com/nansencenter/nansat-lectures/issues/3
That implies that reproject, crop, etc do not change the object but rather return new, modified object. Two Advantages:
Something to read about: http://programmers.stackexchange.com/questions/151733/if-immutable-objects-are-good-why-do-people-keep-creating-mutable-objects