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.


In reply to Re: •Re: Friends don't let friends use ASP? by Ovid
in thread Friends don't let friends use ASP? by emilford

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.