Skip to content

ArrayHandler and StringHandler interface #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eborden opened this issue Jan 22, 2014 · 1 comment
Open

ArrayHandler and StringHandler interface #16

eborden opened this issue Jan 22, 2014 · 1 comment

Comments

@eborden
Copy link
Contributor

eborden commented Jan 22, 2014

Arrays and Strings can share some common ground in implementation details. For in reality a string is just a list of characters. This means many Array methods would have common application on strings.

ArrayHandler and StringHandler should share a common interface of ArrayLikeInterface. I'll put together a pull request for illustration.

@eborden
Copy link
Contributor Author

eborden commented Jan 22, 2014

By unifying these two APIs with an interface we decrease complexity in the often common verbiage we use to affect strings and arrays. IE has/contains, count/length, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant