Why are new functions mixed capitalized?
For example the sqlX module, the new hud system and new api for plugin intercommunication. Is there a reason why they are not all in lowercase like the rest of the functions but part of them are capitalized? I just find it a pain in the ass to have to capitlize them everytime and often get errors because of this.
Code:
SQL_Connect |
Re: Why are new functions mixed capitalized?
Yeh, it's fucked up :S
|
Re: Why are new functions mixed capitalized?
SQLx is all capitalized..
http://www.amxmodx.org/funcwiki.php?go=inc&id=50 Anyway, what are you talking about? Every new word or part of word usually gets capitalized.. Just like in most variables. |
Re: Why are new functions mixed capitalized?
All other functions from before (Engine functions etc.) are not capitalized. :/
|
Re: Why are new functions mixed capitalized?
Well it isn't the same module now is it?
|
Re: Why are new functions mixed capitalized?
Ehh? Everything else in the core is lowercase except the new hud functions. DBI functions are in lowercase, same for fun, most of engine, cstrike, dodx, dodfun, fakemeta, nvault, tsx etc. Why break the trend on SQLx and the new hud functions?
|
Re: Why are new functions mixed capitalized?
It because the person who design the code was Bailopan. Personally I like this style better then the old way. So he would be know the reason why he did it that way.
|
Re: Why are new functions mixed capitalized?
BAILOPAN has matured. That's why it's changed. :)
|
Re: Why are new functions mixed capitalized?
For those of you that don't know:
Code:
this_is_linux_style()You could use defines though if you're that annoyed with it. Code:
|
Re: Why are new functions mixed capitalized?
Those two styles have nothing to do with Windows or Linux.
|
| All times are GMT -4. The time now is 22:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.