Is there really any reason to create a "generic" class?

20 views
Skip to first unread message

Eric24

unread,
Oct 29, 2017, 1:44:17 PM10/29/17
to OrientDB
In other words, with ODB 2.2+ (and 3,0), is there really any downside to using the V superclass for all classes, even if the resulting "document" class will never be used in a graph context?

Luigi Dell'Aquila

unread,
Oct 30, 2017, 4:00:57 AM10/30/17
to orient-...@googlegroups.com
If you are not using graphs, then extending V is absolutely not needed.
Anyway, class hierarchies have negligible overhead, so you can live with it

Thanks

Luigi


2017-10-29 18:44 GMT+01:00 Eric24 <er...@24x8.com>:
In other words, with ODB 2.2+ (and 3,0), is there really any downside to using the V superclass for all classes, even if the resulting "document" class will never be used in a graph context?

--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages