Thread: PHP or ASP
View Single Post
Old 12-11-2004, 10:53 AM   #21 (permalink)
irseg
Junkie
 
Location: Florida
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.
irseg is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46