|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
ASP crap
i've only started tinkering with asp for the past week. i just want to say that ASP IS A LOAD OF CRAP! but i guess that because im comparing it to php
. damn, the array and file handling are just terrible that im afraid what else i'll find bad as i continue fooling around with it.any asp coders here? is asp.net better? and dont tell me its more "object oriented". |
|
#2
|
||||
|
||||
|
Heh.. no, I won't tell you that... I was actually going to tell you that in my inredibly breif foray into the world of ASP (A Steaming Pile of....) and VB, I found objects to be incredibly annoying. I also think that string processing is a problem at times, but then, I hail from the wonderful world of Perl. The ASP system also seems to suffer from lack of outside support - you get a set of tools that may or may not be adequate and you're pretty much done.
I'm not a fan either.... |
|
#3
|
||||
|
||||
|
I used to code only in ASP.... man, those were the days. Yes array handling is the worst, speak to any MS programmer about arrays and you will elicit a response along the lines of 'Augh, yuck'
|
|
#4
|
|||
|
|||
|
I used to love ASP and ASP.NET, but after doing some Perl, I am having a hard time coming back to pick up these MS stuff. Even C# is kinda lame, but maybe when I really get into it...
Right now, nothing gets on my nerve more than PHP syntax and the way ppl write them. It just drives me nuts, even more so than VB. |
|
#5
|
||||
|
||||
|
PHP syntax? The syntax is very similar to C/C++ and that is one of the reasons why I like it so.
![]() |
|
#6
|
|||
|
|||
|
PHP syntax and perl syntax are very similar from my experience. And they are both derived from c/c++ as Onslaught said.
|
|
#7
|
|||
|
|||
|
Actually I take it back. VB syntax is still the worst by far. One look at it and anger ensues...
|
|
#8
|
||||
|
||||
|
That's because it's... Visual... BASIC.
Therefore, it's based on the old BASIC way of doing things in which you wrote programs that looked like this: Code:
SET foo$ = "I hate basic!" SET i = 5 FOR 0 TO i INCREMENT 1 PRINT foo$ ; PRINT NEXT i EXIT Just looking at that syntax makes me ill.... anytime you have to call a function just to print a blank line... ick. Gimme C syntax anyday. The only "benefit" that most M$ developers can seem to muster for that style is "it's easier" which translates to: "I don't know the much more powerful C syntax and I'm too lazy to learn it." And, bear in mind, BASIC was meant to teach very, very basic programming concepts 35 years ago, not concoct GUI applications in modern, production environments. Imagine what would happen if you tried to take a Yugo and turn it into a Corvette and you'll see why turning BASIC into a modern programming language is such a bad idea.... [edit] And don't even get me started on the operators.... Everytime I see <> (inequality test) and = (equality test) I want to scream.... [/edit] |
|
#9
|
||||
|
||||
|
yes yes, I hear ya Ctb. I am one of those people that has to program using VB and doesn't enjoy the experience.
|
|
#10
|
||||
|
||||
|
Amen, brother. VB syntax makes the baby Jesus cry.
|
|
#11
|
||||
|
||||
|
Quote:
Well, you get to use PHP too, so it's not all bad! Actually.. tbh, I don't know that I've ever talked to anybody who actually defended ASP or VB (or even VC++ or C#) with much vigor. You just don't get that sort of following on that type of language. Look at all the Java nuts out there. PHP and Perl have very devoted followers too. There're even folks who'll defend C or C++ (rarely both) as the culmination of the ultimate language. Ruby and Python people also seem to be VERY protective of their languages. You just don't get that with Visual stuff.... that should tell you something. |
|
#12
|
||||
|
||||
|
echolalia,
it may seem confusing, but it really spawns from C. You have to understand how php handles strings underneath and how it handles type conversion. For your first example, you can do the same thing (sort of) in C. You can do it a single character, but not a string of characters. This is because C sees a single character as an integer and not as a character. So when it increments it up one, the next letter is the end result. Now, on the other example, and the reason why you get a totally different result is because PHP will convert any variable to it's numeric equivelant when you perform a math operation on it. Now I know what your going to say, but ++ & -- is just a loop hole I guess. Anyway, when it converts the string to it's numeric equivilant it comes back as 0 and then add 1 to it and you just have 1. |
|
#13
|
|||
|
|||
|
Quote:
Yeah, that's always fun. Just bust out a variable whenever you need one. I never declare variables when I use ASP. Why do it when you don't have to? It really doesn't make any difference. Now, I don't have to declare vars in Perl either, but I always do, just because it's good programming practice. |
|
#14
|
|||
|
|||
|
Perl will also do the same thing as PHP in the first example.
Code:
#! /usr/bin/perl -w my $var = "Jason"; $var++; print "$var\n"; That will print “Jasoo”. Jason |
|
#15
|
||
|
|