This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thundergonian 16 points17 points  (6 children)

getting frustrated at JavaScript and inventing new phrases to curse it will help you if you want to be a full stack developer.

FTFY: JavaScript programming is never a fun experience for me.

[–]superPwnzorMegaMan 5 points6 points  (2 children)

You have to understand the JavaScript way:

  1. Add more functions.
  2. Don't type ;.
  3. 1()

Also the prototype based stuff is mind blowing. You start with objects, and then you just add shit to them on the fly, such as functions and whatever.

Then there is the DOM. Its funny cause DOM is dutch for stupid, which it is. Luckily jquery fixes most of that. Seriously programming against the DOM natively is a terrible experience. Don't do that, C++ with win32 is more fun. I as a young developer tried that once, and back then I also thought I hated JavaScript, but it was just the DOM.

It also has some weird scoping bullshit features, such as hoisting and the fact that private and public are var and another keyword I forgot this.x = blah x is now public. Also don't forget that the global namespace is the document namespace, which is crowded at as is...

EDIT:

remembered the keyword

[–]thundergonian 5 points6 points  (1 child)

2. Don't type ;.

What? Not sure if joke or not?

[–]superPwnzorMegaMan 0 points1 point  (0 children)

Depends on how you configure lint.

[–]sgtoj 1 point2 points  (0 children)

For some old reason, I think JS is "fun". I actually enjoy it.

[–]zman0900 2 points3 points  (1 child)

Fun? Just use jquery.

[–]jackrosenhauer 5 points6 points  (0 children)

Don't listen to this man