[ 
https://issues.apache.org/jira/browse/TINKERPOP-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434862#comment-17434862
 ] 

Florian Hockmann commented on TINKERPOP-2378:
---------------------------------------------

I agree with Stephen that having a PascalCase and a camelCase version of each 
step in C# would be confusing and would also pollute the code a lot. I'm also 
wondering whether that would really solve the problem you describe, 
[~dzmitry.lahoda], as you would still have to add generic type arguments in C# 
as they cannot be interfered from usage oftentimes even though it's possible in 
Java / Groovy.

Overall, the approach we've taken with providing 
[Translators|https://tinkerpop.apache.org/docs/current/upgrade/#_translators] 
that can for example translate from Gremlin-Java into Gremlin.NET seems to be 
the better solution for this kind of workflow in my opinion. We already have a 
translator in Java to do this and TINKERPOP-2367 addresses implementing this 
also in .NET.

So my take here would be to close this as _Won't do_ but I'm of course also 
open for other suggestions/arguments if others think that this might be a good 
addition to Gremlin.NET / GLVs in general (although Gremlin.NET is currently 
mostly affected by this).

> Make C# DSL to be more closer to standard (lower case extensions) 
> ------------------------------------------------------------------
>
>                 Key: TINKERPOP-2378
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2378
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: dotnet
>    Affects Versions: 3.4.6
>            Reporter: Dzmitry.Lahoda
>            Priority: Minor
>              Labels: c#, dot_net, dsl, generator
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Usually, I prototype queries via gremlin console or azure cosmos console. I 
> use first small letter in traversal steps. For example, 'outE`. Porting to 
> strongly typed DSL requires to update all lower case steps into upper. Like, 
> 'OutE`. It is very tedious process. Could we have `outE` and `OutE` 
> projections for C#? It would make my life much more pleasant and C# closer to 
> Gremlin standard. All such cases of differences do apply. C# has extensions 
> and static using and case sensitive and dynamic. So most stuff in place to 
> make C# to Groovy almost one to one.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to