5 ms·
yes, just one or two utility functions would do. IMHO there is no need to initialize a class and call a method just for checking network overlap/boundaries.
by est 14y ago
yes, just one or two utility functions would do. IMHO there is no need to initialize a class and call a method just for checking network overlap/boundaries.
- baq 14y agono need to use it, really. you can pretend it doesn't exist. problem solved.
- alex-g 14y agoIt's not a high overhead. Your string method would have to do basically the same thing as the ipaddress initialization and method call. As a benefit, with ipaddress you don't have to re-parse the string every time you want to manipulate it as an address; and you get a bit of typechecking and documentation from using a specialized class.