View Single Post
OSWO
Senior Member
Join Date: Jul 2015
Location: United Kingdom, London
Old 10-28-2016 , 22:13   Re: Code styles - prefered, readability & performance
Reply With Quote #4

This is all user preference. You can't be asking an answer to an opinion.

Also if you use spaces and not tabs. End yourself.

I personally use this style:

PHP Code:
public Action function() {
    if (
IfStatement) {

    } else if (
ElseIfStatement) {

    }

    if (
Plugin_Handled) {
        return 
Plugin_Handled;
    }

    if (
Plugin_Stop) {
        return 
Plugin_Stop;
    }

__________________
SourceTimer | WeaponSkins++ | BasePlugins++ https://github.com/OSCAR-WOS

Last edited by OSWO; 10-28-2016 at 22:18.
OSWO is offline