This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
Replies: 1 comment 2 replies
-
For reference this is the example in JEP 3
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @chandralegend
Interesting JEP. My primary concerns is related to performance on large graphs and language concept clashes. At the moment if you reference instead of
person_node = node::person(name=="chandra");
,person_node = --> node::person(name=="chandra");
you would get the desired behavior at the scope of whats connected to the nodefind_people
. You can also imagine the developer creating a chain of centralized nodes, lets call itpeoplesets
thats you can travel through searching for the given person.In a way, we have to balance 2 ways of thinking about it. First way is to think about if you had a
class person
in python with fieldname
, this would be synonymous of arbitrarily getting all people objects in the entire memory that has the intended name (not possible or desirable in python language). On the other hand we can think of it as having a database for which you are filtering it on a particular field, as in Djangos ORM (both possible and desirable). Interesting to think about, Thoughts? @chandralegend @ypkangBeta Was this translation helpful? Give feedback.
All reactions