Mozilla – P2PU School of webcraft

Jan 09

School of Webcraft For the following 10 weeks, i will digress from the original concept of this blog as i will (hopefully) be attending some classes at  Mozilla-P2PU School of Webcraft, this post in particular relates to a Javascript 101 class that i will be applying for.

The assignment was to watch a video (here), a brief introduction to JavaScript and blog about it.

First, i want to clear something up… i finally understood the joke “Java is to Javascript as Car y to Carpet”.

The main reason why i was never interested in JS was that i thought it was just an version of Java, which through the video y learned has nothing to do with each other, which is a very unfortunate mishap for the language as it gets a very bad rep.

It is important also to state that i am not a web developer, as such this is all a bit daunting for me, but also necessary. I did not know about “loose typing” Vs. “strong typing”, seeing as how Java ys a Loose Typing language (i.e. the “Types” of the variables don’t have to be set when you initialize them) i can understand both the benefit of added flexibility and coding speed, as well as the dangers of misstyping a variable and having the code blow up in your face.

The second assignment was a simple alert bot, (which you can find here) and the first thing that happened was that i concatenated using the + sign instead of adding, you have to be very careful of that as the sign has multiple uses and if you don’t add the proper syntax you can end up with cases like “2″ + “2″ getting 22 as a result.

All in all it was a fun morning, the video is very entertaining, and i hope i am accepted into the program.

2 comments

  1. listo ya termine la tarea… si no tengo que ver el video no se cae el internet…

    meti el javascript en el blog de blogger por que sites lo ve y lo quita…

Leave a Reply