How JavaScript Timers Work

You're looking at a discussion in babbledog. Babbledog collects news that fits your interests; vote on this story and we'll make better recommendations in the future.

 

 

what's happening right now...

Post Post and share your thoughts, questions, movies, pictures, websites, etc.
How JavaScript Timers Work
"...they behave unintuitively because of the single thread which they are in. ...timer delay is not guaranteed."
Posted Feb 25, 2008
Responses to this thread:
todd: javascript always strikes me as a huge pile of fail. i don't think it has to be. it's not a bad language in principle. but the implementations are unstandardized crap. and the language spec sucks.
Posted Feb 25, 2008

james: Yeah, ECMAScript/JavaScript is good stuff, but the way it weaves itself amongst all the other browser operations is @$$. Honestly, HTML/DOM is a terrible framework to have managing the front of your application.
Posted Feb 25, 2008

Shimon: Apparently optimizing for programmer-friendliness is not the same as optimizing for universal deployment. Who knew.
Posted Feb 25, 2008

Send Reply
You will be prompted to register a name or log in before your comment is posted.
help   Sign In OR Register
What's This?
Your current score: ?
SHARE
close
SHARE
close
INVITE
close
WIDGET
close
close

Create a new account:

Required Screen Name:

(a-z, A-Z, 0-9, _, -, or spaces allowed)



 
 
Recommended... so you can sign in again later. Email:

Password:

Password (again):

Sign in with
existing account:

Email:

Password:

Forgot password?
 
close

Don't go, None!

You haven't registered your email or chosen a password, so if
you log out now, you'll never be able to log back in as None.
That means you won't be able to edit your profile, post messages
as None, or otherwise enjoy the privileges that go along with
the great name of None.

Email:

Password:
Password (again):

Upgrade my Account    or    Forget it, logout forever

close

Sign into Babbledog!

Sign In
Email
Password   ( forgot it? )
close