in reply to •Re: Friends don't let friends use ASP?
in thread Friends don't let friends use ASP?
I haven't worked with ASP in quite a while, but unless things have changed, the only languages avaible are VBScript, JScript, and PerlScript as an add-on component. One significant problem was that PerlScript was ridiculously slow compared to VBScript. Also, from what I could tell, the PerlScript modules that are included seem to encourage programmers to mess around with object internals. Want to get the session ID?
$session->{SessionID};
Want to change the timeout?
$session->{timeout} = 15;
Not only is that bad coding style, but I deliberately put in a typo in the second example. The hash key is capitalized. If those were method calls, there wouldn't be an issue. Naturally, those are examples that are pulled straight from Microsoft docs (why is it that I always find such awful examples of code practices in Microsoft code snippets?). Perhaps there are accessors and mutators available, but the docs didn't make this clear. Code like they show is a sure recipe for disaster.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: •Re: Friends don't let friends use ASP?
by runrig (Abbot) on Aug 22, 2002 at 17:44 UTC | |
by theorbtwo (Prior) on Aug 22, 2002 at 18:13 UTC |