I’ve tried learning by myself, but once I heard about Webcraft I got curious. Having a routine and a place to discuss and clarify doubts is very valuable to me. Also, e-learning is something I’ve always wanted to explore, and there’s no better way than trying it.
- It’s not java (but I knew that already);
- It’s built for browsers;
- It’s a small and powerful programming language; it’s not a “web toy”.
- It’s delivered as text (opposed to an exe file);
- Uses loose typing (any variable can receive any kind of value);
- Objects are general containers;
- Objects inherit from other objects; there are no classes. This is called prototypal inheritance;
- It has functions as first class options;
- Linkage through global variables (but that’s a bad idea!).
I think I got the gist of the language by that. The second part of the lecture, about values, functions and objects, was a little more confusing for me, since my programming background is pratically null (or should I say undefined?), but I know that’s something I need to work some more to learn. I have a sense that this part can be picked up more easily through practice. Comments and operators are pretty standard, except the use of the unary operator. Logical operators are very handy.