Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Comment Re:BOINC (Score 1) 188

> have you actually tried to write something in javascript?

yes. I'm the author of KFM as well as a few little tricks

> what works in one browser doesnt work in another...

jQuery, ProtoType, MooTools, Ext, etc

> the number of simple functionalities that are
missing sleep() for instance?

can be emulated with setTimeout().
    PHP has array_merge() but C doesn't. Does that mean that C is crap?

> and its only just recently got threading support

again, could be emulated with setTimeout(). Even for() loops can be broken apart ("threaded") using a bit of thought and setTimeout().

Just because JavaScript doesn't have the same list of tricks that some other languages have doesn't mean it's not worth using.

My opinion is that if there is a language which you /know/ is available on every browser that people use (normal people - not 'noscript' users or web crawlers), then I don't see the problem in using it.

To bring the context back to the article, I've had that idea before, about letting a bit of computation happen on the browsers of people reading my own sites. That could not happen if a big popup announced that a script was trying to run in a plugin not supported by the browser (ActiveX, Java, Silverlight, Flash). Why not just use the language that is there...

I mean, if your requirement is a language that might not be present in all visitors' browsers, then why not go the whole hog and ask the reader to download and install a full application?

Comment Re:BOINC (Score 1) 188

I don't get what's the big problem people have with "[shudder]JavaScript[/shudder]".

It's a Turing-complete language, which means it can be used to do anything from simple form validation to ray tracing and neural net simulations.
    With AJAX to handle file interactions, I don't understand the problem that people have with it. What is it that you think JavaScript can't do that 'x' language can?

I wish people would get over this childish bias and accept that JavaScript is a /real/ language, and not a toy.

The FA demonstrates that...

Comment Re:WTF with the summary. (Score 1) 354

I guess it depends on the application.

For example, I recently got to play Thief for the first time in years - it refused to play on Vista. The only reason I had Vista installed in the first place was in case I wanted to play some games.

It seems to me that when the games I want to play (command and conquer, dungeon keeper, alpha centauri, thief) work better and are easier to install in Wine than in Vista, I don't see the point of using Windows at all.

Comment Re:Technically yerself (Score 1) 325

I think you may be wrong there.

would you say:
a) "all of the data in a computer is crap"
b) "all of the data in a computer are crap"

I know that 'data' is technically a plural, but it's not treated that way by most people.

also - "ones and zeros" is correct. If you were asked "what numbers are there in that hard-drive", you would not answer "ones or zeros"

also, to the other replier - "zeros" and "zeroes" are both correct.

Slashdot Top Deals

We are not a clone.