Quote:
Originally Posted by theFez
i work as a programer for an e-commerce company and we have been running on a LAMP shopping cart for a while now, the PHB decided to buy a new shopping cart which is all VBScript. So now I am learning VBScript from fixing/tweaking a poorly coded, undocumented shopping cart.
|
I feel your pain. God I hate VBScript. Overly verbose languages piss me off.
If (blah blah blah) Then -- you don't need a fucking "Then"! It's implied!
php's functions are guilty of this to some extent. For instance, "mysql_escape_string". As opposed to what? "mysql_escape_ramdisk"? Of course I'm going to be escaping a string, don't make me needlessly type it.
I assume you're dealing with ASP pages on IIS? If so, does randomly choose whether it wants to give you a nice error output or just do a '500 Server Error'?
Sometimes when I'm debugging a script it'll just spit out a 500 error. Then I'll cut out the entire contents, put in a 'response.write "xxx"', reload, then delete that and paste in the exact same original code. THEN, about 60% of the time, it will give me the nice debugger output. Programming on Microsoft platforms really friggin' sucks.