[Pharo-project] Is the plan to replace FileStream by FSStream?
Hi, reading this: http://code.google.com/p/pharo/issues/detail?id=5303 I wonder if the plan is to replace FileStream by FSStream? #Luc
there are some serious implications when doing so The main issue arises from: FileStream is 0 indexed FSStream is 1 indexed but we should reason about this and what to do exactly On 2012-02-16, at 18:45, Luc Fabresse wrote:
Hi,
reading this: http://code.google.com/p/pharo/issues/detail?id=5303 I wonder if the plan is to replace FileStream by FSStream?
#Luc
On Feb 16, 2012, at 6:45 PM, Luc Fabresse wrote:
Hi,
reading this: http://code.google.com/p/pharo/issues/detail?id=5303 I wonder if the plan is to replace FileStream by FSStream?
#Luc
My vote would be no. http://forum.world.st/pharo-vision-tp4340345p4342871.html http://forum.world.st/pharo-vision-tp4340345p4341445.html You'd be stuck chasing bugs trying to bring FSFileStreams up to pair with the normal FileStreams for many, many releases. I'd rather try one of the approaches mentioned in the 2nd link, setting StandardFileStream as the default plugged-in stream implementation, so you could rewrite the path API manipulation in your code independent of the stream/file reading/writing. Cheers, Henry
ok, I guess we should take an action towards that direction... I already had trouble enough getting it somehow compatible :), which should be fairly easy... best cami On 2012-02-16, at 20:07, Henrik Johansen wrote:
On Feb 16, 2012, at 6:45 PM, Luc Fabresse wrote:
Hi,
reading this: http://code.google.com/p/pharo/issues/detail?id=5303 I wonder if the plan is to replace FileStream by FSStream?
#Luc
My vote would be no. http://forum.world.st/pharo-vision-tp4340345p4342871.html http://forum.world.st/pharo-vision-tp4340345p4341445.html
You'd be stuck chasing bugs trying to bring FSFileStreams up to pair with the normal FileStreams for many, many releases. I'd rather try one of the approaches mentioned in the 2nd link, setting StandardFileStream as the default plugged-in stream implementation, so you could rewrite the path API manipulation in your code independent of the stream/file reading/writing.
Cheers, Henry
participants (3)
-
Camillo Bruni -
Henrik Johansen -
Luc Fabresse