3 ms·
sure but AS3, Go Haxe and others ARE consistant function foo(a:int,b:string):bool{} in PHP this will be function foo(int a,string b):bool{}
by aikah 12y ago
sure but AS3, Go Haxe and others ARE consistant
function foo(a:int,b:string):bool{}
in PHP this will be
function foo(int a,string b):bool{}
- notacoward 12y agoPutting the type first for parameters and last for return values seems like exactly the same kind of inconsistency that has already earned PHP plenty of criticism. Personally I kind of like the Pascal style, I use the C style all day every day, but mixed style seems like the worst option available.