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
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.
If we made dlm part of the iocontext, we could just use read and write?