Dave Anderson
Dave Anderson
I worry about this leading to a nil or NaN type of situation, where multiple opaque values that feel equal from the accessor methods are still != when used as...
Having some way of representing and manipulating the equivalent of `:80` would be nice, because that's a common way to express "listen on all interfaces". Linux sort-of expressed this with...
I don't think prefixes with a zero IP make sense, because the Bits field's validity depends on the address family. `/32` might mean either a single IPv4 address, or a...
Fundamentally, it comes down to whether we favor absolute consistency, or whether we permit some variation to only allow things that make sense. I think `/32` cannot ever make sense,...
That implies that "I'm going to fill it out later" means "so much later that I need to marshal it over the network, or to disk." The cases we have...
We did not get to discussing this issue in our Monday chat. Looks like we might need another. The conclusions we reached in our last chat don't translate to an...
In theory, that would be useful. However, I'm wondering if it should be the inverse, i.e. IsBogon that returns true if an IP is in the bogon list. I'm thinking...
To clarify, glancing at your code, it looks like you're implementing IsPublic as "not any of https://ipgeolocation.io/resources/bogon.html". Does that sound right?
So, I think our overall feeling is: adding predicates for "what kind of IP is this" we're generally okay with, even for things where the definition evolves a little over...
I'm -1 on this, because not exposing internal implementation details has allowed us to change the internal representation 3 times so far, with huge benefits each time. What kind of...