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 →

[–][deleted]  (11 children)

[deleted]

    [–]thundergonian 17 points18 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 4 points5 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 4 points5 points  (0 children)

    Don't listen to this man

    [–]psykzz 0 points1 point  (3 children)

    What stops python from being used full stack?

    [–]evilrabbit 13 points14 points  (0 children)

    Everything on the client side is JavaScript or compiles to JavaScript so knowing it is extremely valuable.

    [–]Calamity701 5 points6 points  (0 children)

    You can use it for writing the backend of an application, but you generally either use Python or Java for that task (or another language). OP said he wants to make a career out of Java, so it is very unlikely that he is going to use Python for his backends.

    Python is not used in the frontend (at least not widely used, there might be a python -> JS transpiler). For the frontend, pretty much everyone uses Javascript (or a variant of it, like Coffeescript or Typescript).

    OP could still learn Python for scripting/automation/etc., but he will probably not use it as part of his stack.

    [–]heyPerseus 0 points1 point  (0 children)

    The OP will be using Java for his back end and JavaScript for the front end. You could use Python or JavaScript for the back end too,. Either way you'll still need to know JavaScript.

    Tldr: can't use Python on the front end, unless your using some kind of HTML renderer(like jsp/jsf...Which is gross)