If : is still a viable solution, i'd much rather see that used :P
-- Eric
--
Eric Coleman
On Nov 26, 2005, at 9:21 PM, Jessie Hernandez wrote:
Great work, Oliver! I personally also add a +1 for ":", with the
whitespace restriction in the ternary operator (or just removing
namespace constants).
I would also add another restriction: you cannot more than one
point for/against (so no +2's or -2's, etc.). It just doesn't make
sense (I might as well do +4000000 for whatever I want :-) ).
Regards,
Jessie
Oliver Grätz wrote:
OK, you requested for it! *g*
OLLi
---------------------------------------------------------------------
---
Namespace Operators
=====================================================================
===================================================
Name |s| %% | : | ::: | ::< | :< | <- | :> |
\ | -> | \\ | <:: | <: | .. | | | |
---------------------+-+-----+-----+-----+-----+-----+-----+-----
+-----+-----+-----+-----+-----+-----+-----+-----+-----+
Robert Deaton |-| +0 | | -1 | | | -2 | +1
| | | | | | | | | | Alan
Knowles |-| | +1 | | | | | |
| | | | | | | | |
Greg Beaver |-| | +0 | +0 | +0 | +0 | | +0 |
+0 | +1 | +1 | +0 | +0 | | | | |
Jessie Hernandez |-| +1 | | +2 | | | |
| | | | | | | | | |
Matt Friedman |-| | | -1 | | | +1 | |
-1 | | | +1 | +1 | | | | |
David Zülke |-| | | +2 | | | +1 | -1
| | | | | -1 | | | | |
Oliver Grätz |*| +2 | | +1 | | | |
| | | | | | | | | |
Matthew C. Kavanagh |-| -1 | | | | | |
| | | | | | | | | |
Jasper Bryant-Greene |-| | | | | -1 | +1 | -1
| | | | | -1 | | | | |
Eric Coleman |-| -1 | | | | | +1 | +1 |
-1 | | | | | | | | |
Christian Stocker |-| | | | | -1 | | -1 |
+1 | | | | -1 | | | | |
Stanislav Malyshev |-| | | | | | |
| | | | | | | | | |
Jared Williams |-| | | | | | |
| | +1 | | | | | | | |
Jason Garber | | | | | | | |
| | | | | | +1 | | | |
| | | | | | | |
| | | | | | | | | |
---------------------+-+-----+-----+-----+-----+-----+-----+-----
+-----+-----+-----+-----+-----+-----+-----+-----+-----+
sum | | +1 | +1 | +3 | +0 | -2 | +2 | -1 |
-1 | +2 | +1 | +1 | -2 | +1 | | | |
=====================================================================
===================================================
Notes:
- I took
+2 as "likes"
+1 as "is fine with"
+0 as "can live with"
-1 as "dislikes"
- The "s" column stands for "self-filled". I compiled the current
table from the comments in this newsgroup, so perhaps I didn't
get their comments right. - The operators : <- -> could make big
problems with the parser.
More complaints to follow. *g*
- Feel free to add new suggestions to the right.
- If you add your name at the bottom, please copy the free line
so the next one also has a free one.
- Do only edit the votes in *your* line!
- Correct the sums if you post.
- Please post as attachment!
If some of the operators are definitely impossible to implement,
please put the headline of column in parentheses (as in "(<-)")
ans add a note why this operator can't be done (Hi Marcus *g*).
Namespace Operators
======================================================================
==================================================
Name |s| %% | : | ::: | ::< | :< | <- | :> |
\ | -> | \\ | <:: | <: | .. | | | |
---------------------+-+-----+-----+-----+-----+-----+-----+-----
+-----+-----+-----+-----+-----+-----+-----+-----+-----+
Robert Deaton |-| +0 | | -1 | | | -2 | +1
| | | | | | | | | |
Alan Knowles |-| | +1 | | | | |
| | | | | | | | | |
Greg Beaver |-| | +0 | +0 | +0 | +0 | | +0 |
+0 | +1 | +1 | +0 | +0 | | | | |
Jessie Hernandez |-| +1 | +1 | +1 | | | |
| | | | | | | | | |
Matt Friedman |-| | | -1 | | | +1 | |
-1 | | | +1 | +1 | | | | |
David Zülke |-| | | +2 | | | +1 | -1
| | | | | -1 | | | | |
Oliver Grätz |*| +2 | | +1 | | | |
| | | | | | | | | |
Matthew C. Kavanagh |-| -1 | | | | | |
| | | | | | | | | |
Jasper Bryant-Greene |-| | | | | -1 | +1 | -1
| | | | | -1 | | | | |
Eric Coleman |-| -1 | | | | | +1 | +1 |
-1 | | | | | | | | |
Christian Stocker |-| | | | | -1 | | -1 |
+1 | | | | -1 | | | | |
Stanislav Malyshev |-| | | | | | |
| | | | | | | | | |
Jared Williams |-| | | | | | |
| | +1 | | | | | | | |
Jason Garber | | | | | | | |
| | | | | | +1 | | | |
| | | | | | | |
| | | | | | | | | |
---------------------+-+-----+-----+-----+-----+-----+-----+-----
+-----+-----+-----+-----+-----+-----+-----+-----+-----+
sum | | +1 | +1 | +3 | +0 | -2 | +2 | -1 |
-1 | +2 | +1 | +1 | -2 | +1 | | | |
======================================================================
==================================================
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php