User:Jeroen De Dauw/Static: The S in STUPID/9

From semantic-mediawiki.org
Jump to: navigation, search
Jeroen De DauwJeroen De Dauw/Static: The S in STUPIDUser:Jeroen De Dauw/Static: The S in STUPID/9

The S in STUPID

What about this static call?

class Awesome {

    public function calculateAwesomeness() {
        // ...

        // Clearly this can never be negative
        return Math.Abs( $awesomeness );
    }

}