[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Using scripting languages for KDE4 main modules
From: "Maksim Orlovich" <mo85 () cornell ! edu>
Date: 2006-10-04 11:42:59
Message-ID: 10572.24.59.194.181.1159962179.squirrel () webmail ! cornell ! edu
[Download RAW message or body]
>> The reason for javascript's bad reputation is probably more to do with
>> incredible weak typing, but you could have the same problem with perl.
>>
> Certainly. And lacking the concept of classes and having to manually
> stuff methods into properties when building an object has nothing to do
> with it.
Actually, it doesn't. There is no real difference for practical purpose
between:
class Foo {
Foo() { ... }
void method1();
void method2();
};
and:
function Foo() { ... }
Foo.prototype = {
method1: function() { ... }
method2: function() { ... }
}
... when you compare it with other languages that lack static
typechecking, that is.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic