Comma operator, TStaticVar literals
Comma operator
The associativity of the comma operator should be left-associative. The order of execution for its operands is reversed. PHP Code:
The same can be said of array literals and argument lists. This is troublesome for when we have an iterator-type object (say it has a method called next): PHP Code:
TStaticVar literals The notation I'm proposing would come straight from C: PHP Code:
Consider then the code to add default values: PHP Code:
|
No because I dont understand it, although the song is xD
|
Will check the comma thing. The object creator via {} could be interesting, we are trying to make things more close to javascript so that would fill a gap.
|
Quote:
|
All times are GMT +2. The time now is 07:51 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.