Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Newbie self-learner diving into web development here. My goal is to learn how to build web-apps. Three quick questions:

  1. Ruby and Python seem to have offshoots that compile their respective code to Javascript (i.e. Opal/Pyjamas). If I can get an understanding of the DOM, i.e. the DOM, do I have to even learn the full language of Javascript or can I just rely on Ruby/Python compiling to JS?

  2. Everyone seems to be talking about node.js allowing for javascript on both the browser and server. Does that mean that if I know Javascript and use Node, I don't need python or ruby for web dev?

  3. If node.js allows for server/client side javascript, couldn't someone just learn something like Coffeescript or Typescript and throw python, ruby or php aside?

share|improve this question
 
Please clarify your first question. When you say, "do I have to even learn the full language?", which language do you mean? Ruby/Python/Javascript? What is the difference between "[getting] an understanding of how Javascript does what it does" and "[learning] the full language"? I'm interpreting the question as, "do I have to learn the full language [in order to accomplish my goal]?". What is your goal? If you don't have one, you don't need to learn anything :-) –  Kevin Jun 19 '13 at 15:31
 
Thanks Kevin, I've updated my question to clarify. –  pgh Jun 19 '13 at 17:30
add comment

closed as not constructive by Wooble, grc, Haidro, Pere Villega, Maerlyn Jun 20 '13 at 9:45

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 0 down vote accepted
  1. You shouldn't even need to understand the syntax of Javascript. Just an understanding of the DOM should suffice. Having said that, all the DOM examples will be in JS syntax, so reading them will be tricky. Being able to debug the transpiled javascript is also usefulo

  2. Correct. You can write a server an client with javascript in all the places

  3. Also correct. This is probably a better option, as these languages map more closely to the underlying javascript.

share|improve this answer
 
Thanks Eric! I appreciate the guidance. –  pgh Jun 19 '13 at 17:21
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.