add nic (network interface card) property#26
add nic (network interface card) property#26danmar2000 wants to merge 1 commit intomentalisttraceur:mainfrom
Conversation
|
Thanks for the contribution! I like the idea of making this easy and better for the situations that need it, and it helps to have an initial design+implementation to get things rolling. Now I just gotta deeply think about the design/approach. Do you mind sharing how you're using the NIC information, why you need to handle it separately, and how it helps you to have it as a distinctly-typed object? That would help me think about it better. In the meantime, here are some initial thoughts/reactions (you don't have to do any code changes based on these thoughts yet - I might "change my mind" multiple times as we talk+think it over):
|
|
Thank you for your feedback! I'm currently working on a network analyzer, and one of its key features is to analyze the devices involved in the captured data. When creating a Device object, I have a particular interest in the manufacturer information, which I can easily obtain from the
|
|
Suggestions and feedback are totally welcome! That's a big part of why I put those thoughts in public GitHub issues.
|
|
This is still live in my head, I just haven't gotten around to giving it much thought. @danmar2000 You mentioned having thoughts on the linked issue/discussion? I'd still love to hear those. |
|
Thinking about it again, I think I was giving too much weight to "I don't know what this is and I'm now frustrated/slowed!" abbreviation downsides. It's probably worth the benefits of consistency ( |
class _StartsWithOUI contains oui property, I added nic property.