GitHub user yangxk1 added a comment to the discussion: Avoiding redundancy in 
Info Builders

Hey @Jarvx200 ,It's a question worth discussing. In the design of many systems, 
there is often a superclass, say `ElementInfo`, with `VertexInfo` and 
`EdgeInfo` extend it. General variables (e.g., `Version`, `baseUri`) are 
present in `ElementInfo`. However, such a design invariably introduces 
complexity, and we need to consider if it is worth implementing. Especially in 
the 'java-Info' module, where there is little logic to handle, we need to 
consider how much code can actually be consolidated by using a superclass 
abstraction, and how much it truly helps developers understand the code. What 
you think about that?

GitHub link: 
https://github.com/apache/incubator-graphar/discussions/795#discussioncomment-14736416

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to