Re: [go-nuts] Why no signed conversions in binary.ByteOrder?

2024-07-28 Thread 'wagner riffel' via golang-nuts
a2800276 wrote: > I agree it has no technical merit. It can't do better, but it avoid having > to think about the type mismatch. The functionality provided by ByteOrder > is fairly simple to begin with, I assume its whole purpose is to reduce > cognitive load/avoid dumb mistakes. My assumption

Re: [go-nuts] Why no signed conversions in binary.ByteOrder?

2024-07-28 Thread a2800276
I agree it has no technical merit. It can't do better, but it avoid having to think about the type mismatch. The functionality provided by ByteOrder is fairly simple to begin with, I assume its whole purpose is to reduce cognitive load/avoid dumb mistakes. My assumption is that it's probably not