On 10/16/2011 02:03 PM, Stéphane Ducasse wrote:
> Mariano I think that the point that Philippe (our national butcher) is trying 
> to make is the following:
> If by design a serializer takes the perspective that it will be able to load 
> old formats and ensure
> evolution all the time then you have a really cool serializer.
> 
> Now why in fuel it is not possible to have 
>       FuelMaterializer load: aFile
> 
>               load using the default = current format
> 
>       
>       FuelMaterializer load: aFile asOfVersion: 1.4
>       Of course this can be much slower but when you want to load data of the 
> past you are just happy that this is 
>       working. 

Not exactly but almost. Put the version in the format and automatically
load it using the right class (it has already been written, just don't
delete it). This also allows to find out whether the format is too new.
Not being able to serialize in an older format would be fine as long as
you can still load them.

Cheers
Philippe


Reply via email to