You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, but I don't think it's worth changing. fmtInt is potentially confusing in that it suggests that it only works for the int type, whereas of course it works for any integer type. fmtBool, on the other hand, really does work only for the bool type.
Also, more generally, there's not much benefit to making minor changes to working code. It can only break things. Of course where the code is really unclear it is a good idea to rewrite it to make it easier to understand. But that is not the case here.
at fmt/print.go:652
but seeing the blow,
(*pp).fmtInteger
(not(*pp).fmtInt
) is found.So considering the consistency,
(*pp).fmtBool
should be renamed(*pp).fmtBoolean
What do you think?
The text was updated successfully, but these errors were encountered: