Free cookie consent management tool by TermsFeed Policy Generator

Changes between Initial Version and Version 1 of Ticket #1309, comment 8


Ignore:
Timestamp:
12/15/10 09:16:18 (14 years ago)
Author:
cneumuel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1309, comment 8

    initial v1  
    1616}}}
    1717
    18 Now, I certainly could catch the exception in my code, but this implementation would make it possible to break other plugins by introducing types without parameterless constructors. In my opinion either the `ApplicationManager` should catch the exception (1), or types which must not be discovered should be attributed with something like `[Undiscoverable]` (2).
     18Now, I certainly could catch the exception in my code, but this implementation would make it possible to break other plugins by introducing types without parameterless constructors. In my opinion either the `ApplicationManager` should catch the exception (1), or types which must not be discovered should be attributed with something like `[Undiscoverable]` (2). Or we just make `RealVectorAdditiveMoveWrapper ` Storable (3).
    1919
    2020(1) has the disadvantage that types which accidentally have no parameterless constructor can be introduced without any warning.
     
    2222(2) would force the developer to think about the type discovery mechanism which i think is OK for types which should explicitly ''not'' be discovered.
    2323
     24(3) ok, if the scenario that a type should not be discoverable is really rare.