Dave has a problem with the overhead of .NET web service handlers written in C#. He'd like to see the following:
String doHello(String name) { return "Hello, " + name; }
Dave is looking at web services from a scripting perspective. C# (and Java and C++ and others) are not scripting languages; they're programming languages. The difference, IMHO, is that scripting languages operate on a platform, be it a browser or another app, while programming languages define platforms. I wouldn't want to write a complex program in UserTalk or JavaScript, but I sure wouldn't want to manipulate Radio using C++. There's some grey in the distinction, but that's how I think of it. And there's some overhead inherent in a programming environment that isn't there in a scripting environment.
However, the .NET handler has some other code wrapping the above. Now, I'm no C# developer, but I am a Java developer, and I think a class declaration isn't the far side of reasonable. Also, you've got to somehow tell the runtime environment that the above is available as a web service handler for security reasons.
6:44:58 PM
|
|