Module Name Format change

Questions, comments, suggestions, and bug reports
Tyrence
Posts: 2007
Joined: Sat Jan 09, 2010 1:32 am

Module Name Format change

Postby Tyrence » Mon Jan 08, 2018 9:03 am

Ever since I can remember, Budabot has used a particular convention for module names: the module name was in all capital letters, words were separated by underscores, and the module name ended with "_MODULE".

Example: PRIVATE_CHANNEL_MODULE

There may have been value in this approach at one time. However, I don't see a lot of benefit with it now. For the next version of Budabot, if there is a next version, I am thinking of changing this convention so that the modules are lowercase, words still separated by underscore, and they do not end with "_module".

Example: private_channel

Any thoughts or concerns about this? Modules named in the old format will still continue to work, except in a few edge cases.

Also, the core modules would most likely be moved from /core to /core/modules.
"Those who expect to reap the blessings of freedom, must, like men, undergo the fatigues of supporting it." — Thomas Paine
"Nearly all men stand adversity, but if you want to test a man's character, give him power." — Abraham Lincoln
Budabot Releases and Downloads: https://github.com/Budabot/Budabot/releases

Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest