Have you ever browsed the implementation of FileStream and checked
subclasses and friends?

Well, I made a cleaner implementation at the side with

- a simple File object that is a sequential File as we all know
- a binary File stream on top of it that is composable with Zn encoders and
other decorators
- a new interface to access Stdio streams

Stdio stdin.
Stdio stdout.
...

All that with tests and comments.

https://pharo.fogbugz.com/f/cases/15486/Refactor-File-Package

Now, the system still has tons of references to the following classes

FileStream -> 127
StandardFileStream -> 24
MultiByteFileStream -> 9

Most of them should be easily replaceable. Others may require wrapping the
binary file stream provided by a file with a Zn encoder or similar.

So, if you have some minutes in your week and can replace 3, 4, 5 of them,
we will be a little step closer to simplify file handling and dependencies
:)

Guille

Reply via email to