Hacker News new | ask | show | jobs
by spmallette 2301 days ago
You write Gremlin in the programming language of your choice and with that comes the idioms of that language. For Java that means, camelCased syntax as that is what Java developers expect. So a function like hasLabel("person") looks right to them. In C#, that same function is HasLabel("person") and in Clojure it is (has-label :person) and so on. Gremlin isn't meant to be an embedded string within your programming language. It is actual code within your programming language.
1 comments

Well I stand corrected. I was judging from the examples in the linked article, so will have another look ...