Skip to main content
16 events
when toggle format what by license comment
Dec 25, 2017 at 1:09 vote accept Daniel
Dec 20, 2017 at 13:13 audit Suggested edits
Dec 20, 2017 at 15:06
Dec 11, 2017 at 22:05 answer added bgusach timeline score: 3
Dec 6, 2017 at 16:03 history edited Daniel CC BY-SA 3.0
Conclusion
Dec 6, 2017 at 11:39 comment added Stop harming Monica @Coal_ It looks to me that your classes provide an abstraction for the families/types so you don't need to expose them in your high level interface. You would be mixing different levels of abstraction.
Dec 5, 2017 at 22:13 comment added Daniel @CandiedOrange I clarified a bit, but if you'd prefer to see larger code samples, no problem.
Dec 5, 2017 at 22:12 history edited Daniel
Added related tags
Dec 5, 2017 at 21:53 history edited Robert Harvey CC BY-SA 3.0
deleted 223 characters in body
Dec 5, 2017 at 21:22 history edited Daniel CC BY-SA 3.0
added 462 characters in body
Dec 5, 2017 at 21:08 history edited Daniel CC BY-SA 3.0
Clarified
Dec 5, 2017 at 20:54 comment added James McLeod What's the benefit of adding private copies? You'll always be setting them to public values in scope.
Dec 5, 2017 at 20:53 comment added Robert Harvey I wouldn't duplicate constants that already exist, unless you need to do so for reasons of brevity. The whole reason for having a constant is to provide a single point of definition. Having multiple constants that mean the same thing defeats the purpose.
Dec 5, 2017 at 20:50 comment added candied_orange It's difficult to tell exactly what you're considering. Not using FAMILY or TYPE? Not inheriting from socket? Could we see some example code with the alternatives you're considering?
Dec 5, 2017 at 20:03 review Close votes
Dec 12, 2017 at 3:02
Dec 5, 2017 at 19:32 review First posts
Dec 5, 2017 at 19:39
Dec 5, 2017 at 19:31 history asked Daniel CC BY-SA 3.0