Wish: add back READ/binary and WRITE/binary #2383
Labels
Oldes.resolved
Bugs/wishes with Oldes' fixes/features
Ren.important
Status.important
Type.note
Type.wish
Submitted by: Oldes
If there is something what I must change in almost every old Rebol2 script to have it working with Rebol3 and or Red, than it is this change of
read
andwrite
refinements.Red does not have
/string
refinement and instead has/as encoding
, which may be also fine to support. I know, that this R3 change was done to haveread/write
as low level, but I believe that we don't have to be so low and to be limited only with binary.I think that it is ok to keep the default binary behaviour, but it would be also nice to have a chance to refine the required actions. Especially when read/write may be used for more scheme types than files or http request.
Related wish: metaeducation#2007
Imported from: metaeducation#2382
Comments:
Related blog posts: Pruning down READ and WRITE, More about Port layers - the OSI Model (the compromise being Finalizing READ and WRITE with many strong opinions in comments)
This still seems to me to be a big open area.
I think if I had to pick a side, I would say keep READ and WRITE as byte-oriented, then let LOAD and SAVE bring in higher level decodings.
The text was updated successfully, but these errors were encountered: