Skip to content

Naming suggestions #46

@mernst

Description

@mernst

Thanks for string-inflection! As a new user, I have some suggestions about naming, which you might want to consider.

"snake case" is the more common name for what string-inflection calls "underscore". It would be helpful to users to change the name or add an alias.

It is inconsistent that string-inflection uses "camelcase" (one word) but "pascal-case" and "kebab-case" (two words).

The naming "single" confused me. It means "symbol at point". I suggest renaming and/or clarifying the documentation. The documentation of string-inflection--single-or-region is currently not very informative: "Perform INFLECT-FUNC depending on if in region or single."

In the documentation of string-inflection-get-current-word and elsewhere, "the cursor" is more idiomatically called "point".

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions