On Wed, 08 Feb 2017 09:52:49 +0000
Justin Israel <[email protected]> wrote:

> > fmt package have no *lnf method, but in other langs,
> > sometimes it implements Printlnf.
> > Is there any reason?
> > yes, I know but other languages support it as default, isn't it?
> *some* languages apparently do. But then again maybe you could ask the
> opposite question to those languages. Why did these languages you
> refer to choose to implement a Printlnf? In said language, is it not
> trivial to simply add the newline character to your format string?
> Did it warrant it's own builtin function?

Another question to ask is whether that imaginary fmt.Printlnf()
should output a platform-default EOL sequence or plain LF in all cases.

An interesting point is that implementing it either way is wrong ;-)

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to