Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:recylcing objects for speed and memory savings (Score 1) 177

Do a search for javascript object pool. You'll get lots of stuff.

Be careful with what you find. JS is (apparently) the world most misunderstood language. There's a lot of nonsense and bad examples out there. On "big names", stick with Doug Crockford if you can. Avoid reading anything written by Resig; to call his code 'abysmal' is far too generous.

Comment Re:is javascript faster than java? (Score 3, Interesting) 177

I'm puzzled how one makes it "fast". When my highly active programs run in a browser they tend to glitch and halt after a while if they have been doing lots and lots of quick object instantiation and destruction.

You've almost figured it out!

Recycle your objects. Enjoy instant performance improvements. (While this is not just true for JavaScript, it's obviously the advice you need.)

Oh, and try learning the language. It's not like Java and C#. If you try to treat it that way, you'll end up writing crap. You can break yourself out of that easily enough by working through The Little Schemer in JS instead of Scheme.

Comment Re:Good (Score 2) 1143

You bet your ass that renters care what they pay for heating and AC.

Obviously. They care a great deal about how much they spend.

  They don't give a shit, however, about how much their tenants spend. That's why the parent wrote:

It's a damn shame that apartment owners don't care how much you spend on heating and AC.

Comment Re:It tried to follow the plot (Score 4, Insightful) 726

It was pretty easy to connect back in 1997, even in rural areas:

Step 1: Walk to the mail box
Step 2: Remove the daily unsolicited floppy disk
Step 3: Follow the printed instructions

Welcome to the Information Super Highway!*

*Long distance charges may apply if you do not select a LOCAL AOLnet phone number. Please check with your local telephone company if you have a question.

Comment Re:MechanicalTurk (Score 1) 169

They've already been shelling out free porn

People still pay for pornography? Don't they have the internet? Are they solving printouts of CAPCHA's?

Honestly, there's no need in this modern age to embarrass yourself at the gas-n-go, milling around waiting for the matronly old woman to take a break so that you can ask the pothead with the trainee badge to go round to the rack behind the counter. Anything you want is just a click away.

Slashdot Top Deals

Syntactic sugar causes cancer of the semicolon. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982

Working...