[squeak-dev] Survey | Default encoding for new (multi-byte) file streams

Chris Muller asqueaker at gmail.com
Wed Apr 20 02:23:44 UTC 2022

> Am Mo., 11. Apr. 2022 um 14:42 Uhr schrieb Marcel Taeumel
> <marcel.taeumel at hpi.de>:
> >
> > What do you think should be the default encoding when opening a new file?
> >
> Binary,

+1, that's what it USED to be, which is why...

> so no encoding at all :-) Unfortunately text mode has
> traditionally been the default, so this would be even more of a
> breaking change...

... the fact it already went through a breaking change once, discussions
about "default" should basically be rendered moot.  No code should rely on
such a default, nor expect future readers of the code to remember what the
last vote-result for this default was by always explicitly specifying it in
your code.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220419/7e276814/attachment.html>

More information about the Squeak-dev mailing list