Thursday, 13 January 2011

JSLint Night

Tonight was JSLint night. I ran the engine code through it to see what it threw up. It found a few things and I did turn off some of the options it checks for. Perhaps I am a sinner but I have no problem with not putting {} around a statement if it is the only one after an if statement. I can't recall ever having a bug because it it, still I can understand some people getting worried about it.

I am also used to coverity for C++ and that can find some torturous bug in your logic that take quite a while to figure out. JSLint seems fairly weak in comparison. Having said that I certainly use it just it would be good to see some better tooling in this part. JSLint complained a whole less with the code in this project compared with when I wrote the text adventure.

I have an intermittent bug which is holding me up from publishing. I have not narrowed it down yet but I get it on both Chrome and FireFox so it in my  code somewhere. Once I get past this I am onto the list of little annoying things to sort out and then publish.

I got hit by this which cost a fair bit of time before I googled it.

No comments:

Post a Comment