Display Name
Display Name

Reputation: 15091

Can all JavaScript functionalities be theoretically replaced with Silverlight?

Can all JavaScript functionalities be theoretically replaced with Silverlight? If yes, I can save my time and just learn Silverlight.

Upvotes: 1

Views: 156

Answers (3)

Sasha Chedygov
Sasha Chedygov

Reputation: 130797

Theoretically yes. Just remember that only about 60% of internet-enabled computers have it installed. And don't forget all the accessibility issues associated with using a plugin instead of using native browser functionality.

Only use it if you absolutely need a feature of Silverlight that HTML/JavaScript cannot provide, and even then, it would probably be better to use Flash because of its install base.

Upvotes: 1

Alexander
Alexander

Reputation: 5861

Theoretically, yes, Sliverlight could replace JavaScript, as could Flash.

But you have to remember that JavaScript is always faster than Silverlight (or Flash), and therefor better for most tasks.

Upvotes: -2

Mark Eirich
Mark Eirich

Reputation: 10114

I recommend that you learn JavaScript as well as Silverlight.

Silverlight is a product of Microsoft. Being proprietary, it may or may not be popular or even exist a few years down the road. JavaScript (ECMAScript) is an open standard and is supported natively by all browsers. Knowledge of JavaScript will be useful for any web site project.

Upvotes: 2

Related Questions