print(::IO, x) outputs x in human-readable text form, while write(::IO, x) outputs x in non-human-readable binary form. However, writedlm(::IO, x) outputs x in human-readable delimited form. Should it be renamed to printdlm(::IO, x) in order to parallel the distinction between write and print?
Good question. I think a justification for the current naming is that it’s more common to talk about “writing to a file”. Many packages use write functions too. I wouldn’t say the inconsistency is a problem.
1 Like
If we made dlm part of the iocontext, we could just use read and write?
1 Like