RE: [PHP] The need for strong typing...

2001-07-13 Thread Merio, Quinn
, because a designer (for example) couldnt "accidentally" open your page in a wysiwymg editor and kill parts of your app. my addt .02 q. -Original Message- From: Opec Kemp [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 9:17 PM To: Dr. Evil Cc: PHP List Subject: RE: [PHP

RE: [PHP] The need for strong typing...

2001-07-13 Thread scott [gts]
t;int", $toaccount, "int", $memo, "varchar(1000)" ) or die("Invalid input!"); // code... } > -Original Message- > From: Dr. Evil [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 12, 2001 10:31 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PRO

RE: [PHP] The need for strong typing...

2001-07-12 Thread Opec Kemp
> I will look into JSP. > > Even on the same website, we could have two different languages: Maybe > we'll use JSP for the transaction stuff, and PHP for customer support > pages, where things are less critical. Incidentally, PHP4 can also use some Java Serverlet or Bean. Check out this bit from

Re: [PHP] The need for strong typing...

2001-07-12 Thread Dr. Evil
> I was going to write a whole diatribe, venting rage, trying to > prove you wrong etc, etc... and then I got to the last paragraph > and realised we probably actually agreed: Yes, I think so too. Different languages for different things. Even COBOL has a valid reason for existing. In fact, mo

RE: [PHP] The need for strong typing...

2001-07-12 Thread Opec Kemp
> Also obviously, this capability isn't needed for most of what PHP is > used for, and so maybe it doesn't belong in PHP, and maybe those of us > who are writing more sensitive aps should look into other things. Any > sugestions? I suppose that if you *really* do need strongly typed language tha

Re: [PHP] The need for strong typing...

2001-07-12 Thread Brian White
I was going to write a whole diatribe, venting rage, trying to prove you wrong etc, etc... and then I got to the last paragraph and realised we probably actually agreed: >This doesn't mean that PHP should be changed to allow strong typing. >It may mean though that PHP isn't the right language for

Re: [PHP] The need for strong typing...

2001-07-12 Thread Dr. Evil
> The one problem with all your musings is that there is no such thing as an > integer when it comes to transferring data over http. Everything comes as > a string. What is done with these strings when they get to the > application is what matters. It's not like there is an HTML form element >

Re: [PHP] The need for strong typing...

2001-07-12 Thread Philip Murray
If you were writing rigorous financial applications, I would hope you were doing enough testing and checking that things like that didn't happen in the first place. You shouldn't be lazy and rely on the language to correct your mistakes. Strong typing only gets in the way (w/ PHP at least), espec

Re: [PHP] The need for strong typing...

2001-07-12 Thread Rasmus Lerdorf
The one problem with all your musings is that there is no such thing as an integer when it comes to transferring data over http. Everything comes as a string. What is done with these strings when they get to the application is what matters. It's not like there is an HTML form element like or .