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 #182616 is a reply to message #182613] Sat, 17 August 2013 20:37 Go to previous messageGo to previous message
Fiver is currently offline  Fiver
Messages: 35
Registered: July 2013
Karma:
Member
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).

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
[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: Wed Nov 27 11:47:25 GMT 2024

Total time taken to generate the page: 0.04089 seconds