Skip to content

Why is it called ToCamel instead of ToPascal? #46

@vedadiyan

Description

@vedadiyan

This is a bit confusing. I was actually reading camel_test.go and in the beginning I was thinking maybe there's a mistake (a typo) in the source code but later on I came across this function ToLowerCamel and then I made sure you named it on purpose that way.

I have created this issue because:

  1. If I use this class library in a project, other developers will surely get confused when they encounter the ToCamel function, and this can lead to certain problems specially in code-reviews.
  2. The majority of people recognize that case as PascalCase

ToCamel makes the code less readable as it does not deliver its true meaning unless someone dives deeper into library and finds out about the ToLowerCamel method.

This is indeed a great library, but can you fix this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions