FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » switch with case 0
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: switch with case 0 [message #182618 is a reply to message #182616] Sat, 17 August 2013 23:26 Go to previous messageGo to previous message
Norman Peelman is currently offline  Norman Peelman
Messages: 126
Registered: September 2010
Karma:
Senior Member
On 08/17/2013 04:37 PM, Fiver wrote:
> On 2013-08-17 22:04, The Natural Philosopher wrote:
>> On 17/08/13 20:55, Thomas Mlynarczyk wrote:
>>
>>> I'm just saying that PHP should not have been designed that way.
>>
>> sheesh how much time have you GOT???
>>
>> was PHP ever 'designed' ? It looks to me like a guy in a basement
>> decided to write an interpreter for active pages, and very time there
>> was a choice he either did what he felt was most useful, or tossed a coin.
>>
>> Nobody is forcing you to use it...
>>
>> ..that the way it is...
>
> You're right: PHP wasn't designed, it more or less "happened". But just
> because we're using an imperfect language doesn't mean we have to shut
> up about its weaknesses. Converting strings to integers instead of the
> other way around was an unfortunate choice. It's one of the pitfalls
> that regularly get people who are more used to other loosely typed
> languages (like me in this case).
>

The reason it has evolved this way is because you never get integers
from POST/GET data, you get strings.

> If you really want to see somebody with "too much time" to complain
> about PHP's idiosyncrasies, take a look at http://phpsadness.com/ .
> Quite an interesting collection, too, even if not everything on the list
> is new or surprising or even wrong.
>
> regards,
> 5er
>


--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AND and OR
Next Topic: Compiling PHP 5.x on Cygwin
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 07 02:31:16 GMT 2024

Total time taken to generate the page: 0.03988 seconds