Skip to content
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

Why are the method names capitalized? #3

Closed
danieldiekmeier opened this issue Apr 22, 2015 · 4 comments
Closed

Why are the method names capitalized? #3

danieldiekmeier opened this issue Apr 22, 2015 · 4 comments

Comments

@danieldiekmeier
Copy link

I was just wondering why you decided to use AddCode() instead of addCode().

@mikeflynn
Copy link
Owner

Ha, great question. I've been writing a lot of Go code lately and their standard seeped in to my Javascript that day. Not an exciting answer, but that's definitely what happened and @rmcvey asked me the same thing, we just haven't felt the urge to change them yet.

@danieldiekmeier
Copy link
Author

Yes, it's not really important, of course. Just wondered. :D

@rmcvey
Copy link
Collaborator

rmcvey commented Apr 22, 2015

@danieldiekmeier FWIW I added the lowercase method names to master (dfb4183). We can't really remove the capitalized methods quite yet, but the documentation is now using the lowercase method names.

@danieldiekmeier
Copy link
Author

Nice work, thank you!

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

3 participants