View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-04-2017 , 03:29   Re: One-Shot Multikill Detection
Reply With Quote #10

Quote:
Is formatted unnecessarily and is ugly. Don't use dot notation unless you are going to be skipping several parameters. If you are using all parameters, simply supply all three parameters normally. Also, there is no real advantage to putting such a short command on multiple lines. Use a single line, even with dot notation, it will be shorter than many other lines of your code.
Saying it's ugly is only a matter of subjectivity and should never be part of a review. Don't try to enforce your own style.
Also, about when one should use the dot or not, here it's just a style.

Quote:
Also, there is no real advantage to putting such a short command on multiple lines. Use a single line, even with dot notation, it will be shorter than many other lines of your code.
No one is doing that for practical advantages. I'm personally using that way of writting the register_plugin line as my signature, for visual purpose only.
__________________

Last edited by HamletEagle; 01-04-2017 at 03:29.
HamletEagle is offline