Monday, June 8, 2009

javascript

i just started learning javascript and being a native c++ programmer, started with:

for(int i=0 ; i < navigator.plugins.length ; i++)

of course, the javascript programmers realize the mistake. there is no "int i" in JS, just "i". I spent 20 mins trying to find the mistake :( Man! I am going to start being more patient with my COMP115 class :)

1 comment:

  1. Javascript is really painful. If you're Java coder as well, I suggest you to take a look at GWT :)


    Cheers,
    Faruk

    ReplyDelete