-
Notifications
You must be signed in to change notification settings - Fork 5
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
Should commands use lowercase or CamelCase? #3
Comments
Good question. |
I like guest3456's suggestion on the AHK forums.
The only downside is that the distinction between the two categories could be confusing for commands like
As for variable names, RaptorX suggests using a mix of lowercase and CamelCase. ( |
@aviaryan After doing some more research, I think it makes more sense to look to jNizM's AHK Syntax Highlighting addon for Notepad++ for guidance. (also on GitHub) Like guest3456 had suggested, the AutoCompletion addon uses CamelCase for regular commands and functions. However, the implementation of control flow statements is a bit inconsistent. In the provided screenshot, control flow statements like (Note: Color differences are due to me using the Default AHK theme, while the official screenshots use the "Lazy" Theme.) |
Can there be a section discussing a consistent capitalization style for commands and variables?
Most coding guides seem to use a mixture of lowercase and CamelCase. Take this example from the AutoHotkey Beginner tutorial.
Even this repository mixes CamelCase and lowercase. (Examples from Flow of Control and Commands)
The text was updated successfully, but these errors were encountered: