News for hackers. Stuff that matters.

Ask HN: Python vs. JavaScript

What are your thoughts about both the languages and which would you prefer to work in. Please refer to only the language and not the frameworks that make it viable option.
( 9 comments | on HN )
Re:Ask HN: Python vs. JavaScript by tuxlinuxien on Thursday January 29, 2015 @06:58AM (#8965581)
It depends on what you want to do.

I work with Nodejs everyday, JavaScript is a very cool language but I still prefer Python which is easier to read from my point of view.

Re:Ask HN: Python vs. JavaScript by Pr0ducer on Thursday January 29, 2015 @06:37AM (#8965531)
Python on the back, JavaScript on the front.
Re:Ask HN: Python vs. JavaScript by yuashizuki on Thursday January 29, 2015 @06:56AM (#8965574)
But if u could program the front and the back in a single language which would u prefer
Re:Ask HN: Python vs. JavaScript by tuxlinuxien on Thursday January 29, 2015 @07:03AM (#8965600)
Python is not supported for front-end (yet??). So the choice is quite easy. If you want to stick a single language for both front and backend, using JS is the best solution.
Re:Ask HN: Python vs. JavaScript by yuashizuki on Thursday January 29, 2015 @07:27AM (#8965685)
I am just asking a hypothetical question, what if you could do everything in python and every thing in js. Would you still use js cause you like the language or use python.
Re:Ask HN: Python vs. JavaScript by tuxlinuxien on Thursday January 29, 2015 @06:52AM (#8965565)
JS is also for back-end. Maybe you have never heard about Nodejs or io.js
Re:Ask HN: Python vs. JavaScript by fauria on Thursday January 29, 2015 @05:39AM (#8965342)
Always JAVASCRIPT!
Re:Ask HN: Python vs. JavaScript by okibeogezi on Thursday January 29, 2015 @05:33AM (#8965319)
Always PYTHON!
Re:Ask HN: Python vs. JavaScript by ilovefood on Thursday January 29, 2015 @05:37AM (#8965337)
FTW!