Re: [PHP-DEV] Re: Case sensitivity

2008-11-07 Thread Travis Swicegood

On Nov 6, 2008, at 11:59 PM, Ronald Chmara wrote:

1. All built-in PHP functions should be aliased in the worlds most  
used languages, so that declaring a function could also be written  
as: funktsioon, otstarve, λειτουργία ,  
ویرایش, Fonction, funcionar, fungsi, funzionare,  
қызмет, 可算, メソッド, funkcja (etc.)


Can I get a +1?


+1, but it'd be a ++1 if we could also take into consideration  
dyslexic programmers.  I would like to be able to write:


} (oof$) cnuf_emos noitcnuf
;oof$ ohce
{

/me ducks

-T

P.S. No, I didn't do that programmatically.  Lefties have tendencies  
towards dyslexia which lets us write both ways without too much  
thought :-)

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: Case sensitivity

2008-11-07 Thread Dave Ingram
Travis Swicegood wrote:
 On Nov 6, 2008, at 11:59 PM, Ronald Chmara wrote:

 1. All built-in PHP functions should be aliased in the worlds most
 used languages, so that declaring a function could also be written
 as: funktsioon, otstarve, λειτουργία , ویرایش, Fonction,
 funcionar, fungsi, funzionare, қызмет, 可算, メソッド,
 funkcja (etc.)

 Can I get a +1?

 +1, but it'd be a ++1 if we could also take into consideration
 dyslexic programmers.  I would like to be able to write:

 } (oof$) cnuf_emos noitcnuf
 ;oof$ ohce
 {

I'd say that's more left-handed than dyslexic. Of course, handling
mistakes in variable names would reduce the number of possibilities
available:

$foo++;
echo $ofo;
if ($oof  4) break;

I am now very tempted to write something that does this. I can think of
a fairly easy and not-hugely-intensive implementation, too. I'd imagine
the canonical form for each variable would be an anagram
dictionary-style representation, with the letters arranged into
alphabetical order for storage/lookup.


Mead Raving
(er, I mean, Dave Ingram)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: Case sensitivity

2008-11-07 Thread Nate Abele

On Nov 7, 2008, at 12:59 AM, Ronald Chmara wrote:


On Nov 6, 2008, at 6:27 PM, Nate Abele wrote:


I was shocked and horrified that that ridiculous remove-the-$  
post actually turned into a legitimate discussion.  I mean,  
seriously?


No, not seriously.

[snip]

The trick is knowing when a joke is intentional, or not.

-Bop


Hi Ronald,

While it was obvious that some responses were farcical, if you review  
you'll clearly see that some responses were indeed explanatory  
discussion, describing why this approach would not work.  This is  
completely unnecessary.  This particular case non-withstanding, the  
instances where this occurs are numerous and regular.


As another example, anyone with half a brain and more than 10 minutes  
experience with the internals of PHP knows that it'd be ridiculous to  
suggest that PHP's array type be re-written to act like Java or .NET.   
The fact that it is ridiculous is implicit, we all know it, it doesn't  
need to be said.


Okay, now I'm done wasting everyone's time.  I don't want to continue  
to exacerbate the very issue I'm speaking against, but please just  
consider it -- by responding to the noise, you're creating the very  
problem you want to solve through moderation.  Show a little self- 
restraint (vis-a-vis http://xkcd.com/386/).


(For the record, I am all for making the list read-only for anyone  
without karma.  It'd make my morning routine much less aggravating.)


Thanks,
- Nate


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: Case sensitivity

2008-11-07 Thread Stan Vassilev | FM
As another example, anyone with half a brain and more than 10 minutes 
experience with the internals of PHP knows that it'd be ridiculous to 
suggest that PHP's array type be re-written to act like Java or .NET. 
The fact that it is ridiculous is implicit, we all know it, it doesn't 
need to be said.



Hi,

I don't know why case sensitivity as I layed it out, is put in the same 
group as ideas for removing $ from variables or redoing the PHP primitives, 
or what have you...


Knowing the guts of PHP doesn't protect people from making really bad 
proposals, as anyone following this list for some time is well aware.


Core devs know the PHP engine well, but sometimes have little idea of 
accepted standards, syntax and common workflows in and outside the PHP 
community.


Also: those truly hilarious joke replies some people keep producing on 
this list, including to this thread: they're not funny. The idea of OSS 
forums like this list, isn't to generate easy entertainment for bored 
programmers.


A valid point elsewhere is lost everytime a thread heads this way.

Regards,
Stan Vassilev 



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Re: Case sensitivity

2008-11-06 Thread Nate Abele

On 06.11.2008, at 18:46, Stan Vassilev | FM wrote:

 NOTE: Continuing from thread Call it: allow reserved words in a
 class or not?:

[snip]

 We can test such automated porting scripts on samples collected from
 PEAR, Google Code and projects like Drupal, Joomla etc. to reduce
 side effects.


NO!

regards,
Lukas Kahwe Smith
[EMAIL PROTECTED]


Lukas,

Let me be the first to say, thank you for such an objective,  
dispassionate analysis of the pros and cons of Stan's suggestion.


I'm so glad that I've chosen to invest in a language that is developed  
and maintained by reasonable people who can come together and have a  
productive discussion about issues, without devolving into ignorant,  
wasteful politics.



Thanks, and have a nice day!
- Nate



Oh, I almost forgot /sarcasm


P.S. The real problem with this list is not the clueless idiots who  
post their clueless rants.  The problem is the people who actually  
give said clueless idiots the time of day by actually responding to  
said rants.


I was shocked and horrified that that ridiculous remove-the-$ post  
actually turned into a legitimate discussion.  I mean, seriously?



P.P.S. Greg -- from myself and everyone I know who follows internals  
(or tries not to), I want to extend a sincere and heartfelt thanks for  
the hard work, dedication and most of all patience that you've put  
into actually pushing productive discussion forward.

Re: [PHP-DEV] Re: Case sensitivity

2008-11-06 Thread Ronald Chmara


On Nov 6, 2008, at 6:27 PM, Nate Abele wrote:


I was shocked and horrified that that ridiculous remove-the-$  
post actually turned into a legitimate discussion.  I mean, seriously?


No, not seriously.

It's an old internet joke, a shibboleth among programmers, not unlike  
GOTO considered harmful, or Real programmers Don't Use Pascal.


Sometimes the humor doesn't make it through the tubes (another  
shibboleth), other times users don't realize that their very subject/ 
idea is so absurd as to be laughable.


For example, I will now propose that for usability reasons:

1. All built-in PHP functions should be aliased in the worlds most  
used languages, so that declaring a function could also be written  
as: funktsioon, otstarve, λειτουργία , ویرایش,  
Fonction, funcionar, fungsi, funzionare, қызмет, 可 
算, メソッド, funkcja (etc.)


Can I get a +1?

While at first blush, it seems like a possibly interesting idea, upon  
closer examination, it turns into either laughter, or a deep sense of  
shame and admonition.


The trick is knowing when a joke is intentional, or not.

-Bop
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php