Live data from Hacker News

Ask HN: Python or Ruby or What??

news.ycombinator.com

1–10 of 14 posts

Ask HN: Python or Ruby or What??

#1
Hey all - I've always wanted to increase my knowledge in programming, not to be programmer, but to know how to better interact with programmers, and also because I'm naturally curious and like building/learning things. I think I'm stuck in a paradox of choice - too many options and free courses online nowadays that I'm not moving forward in any one direction.

I'm very fortunate to have a badass tech cofounder working with me on a project and he codes in Python. He's also incredibly smart and can pick up any language if he needed to. Should I just focus on Python since that's his language of choice?

TeamTreehouse has a good RoR course. Udacity has a strong, but hard, Computer Science course using Python. I've completed the Javascript track on Codecademy already. What direction should I go? Does it matter? Do I need to just stop making excuses and pick one language? Or can I try to attack 2 language simultaneously?

Would love your feedback.

Re: Ask HN: Python or Ruby or What??

#2
I would suggest, for what you describe, it really doesn't matter that much. If you'd like help deciding from a random stranger on the internet, I'd say go with Python. Your friend knows it, and it anecdotally appears to me that Python is used as a first language in school coursework more than Ruby is.

Re: Ask HN: Python or Ruby or What??

#3
post #2

I would suggest, for what you describe, it really doesn't matter that much. If you'd like help deciding from a random stranger on the internet, I'd say go with Python. Your friend knows it, and it anecdotally appears to me that Python is used as a first language in school coursework more than Ruby is.

Thanks for the reply. I've felt the same, just curious what others would say, especially if anyone here was in my shoes in the past. Appreciate the feedback though.

Re: Ask HN: Python or Ruby or What??

#4
I think a better question to ask is: "Do I know somebody who is proficient in this language that can help me learn when I get stuck?" A real life friend that will explain things to you when you need help is going to be infinitely more useful that an online tutorial.

Go with Python.

Re: Ask HN: Python or Ruby or What??

#5
Ruby is a dangerous language. It is so dominated by Rails that you will likely end up warping your mind into thinking that the ActiveRecord pattern is the best way to manage data and that every problem can be solved with a web app.

I would suggest learning Python instead because there is more diversity in the Python community (or should I say communities?). Compare the communities around http://ipython.org/notebook.html and http://www.gevent.org/ and http://plone.org/documentation/#developer_doc

Re: Ask HN: Python or Ruby or What??

#6
post #5

Ruby is a dangerous language. It is so dominated by Rails that you will likely end up warping your mind into thinking that the ActiveRecord pattern is the best way to manage data and that every problem can be solved with a web app. I would suggest learning Python instead because there is more diversity in the Python community (or should I say communities?). Compare the communities around http://ipython.org/notebook.h…

> Ruby is a dangerous language. It is so dominated by Rails that you will likely end up warping your mind into thinking that the ActiveRecord pattern is the best way to manage data and that every problem can be solved with a web app.

That hasn't been my experience, and I don't think its generally true as long as you don't learn Ruby through Rails.

Re: Ask HN: Python or Ruby or What??

#7
post #5

Ruby is a dangerous language. It is so dominated by Rails that you will likely end up warping your mind into thinking that the ActiveRecord pattern is the best way to manage data and that every problem can be solved with a web app. I would suggest learning Python instead because there is more diversity in the Python community (or should I say communities?). Compare the communities around http://ipython.org/notebook.h…

[deleted]

Re: Ask HN: Python or Ruby or What??

#8
> I'm very fortunate to have a badass tech cofounder working with me on a project and he codes in Python. He's also incredibly smart and can pick up any language if he needed to. Should I just focus on Python since that's his language of choice?

If he's going to mentor you, then that's probably a good place to start.

> TeamTreehouse has a good RoR course.

Despite the fact that I like Ruby, I don't think Rails is a great place to start to learn programming. But that's more of a subjective feeling, not something I can explain in concrete terms.

> Udacity has a strong, but hard, Computer Science course using Python.

That's probably a good choice, especially if you want to do it right now and want scheduling flexibility. MITx's 6.00.1x on EdX is also a good choice, but it has a more fixed schedule (and its a couple weeks into the current session, and I don't know when the next one will be.) There's a number of other strong -- often Python-based -- courses available via EdX and Coursera.

> Do I need to just stop making excuses and pick one language? Or can I try to attack 2 language simultaneously?

There is a perspective to be gained on programming that comes from learning more than one language (particularly if they aren't closely related languages), but its probably best to focus on one first and then branch out to more if you find a deeper interest.

Probably...

Re: Ask HN: Python or Ruby or What??

#9

> I'm very fortunate to have a badass tech cofounder working with me on a project and he codes in Python. He's also incredibly smart and can pick up any language if he needed to. Should I just focus on Python since that's his language of choice? If he's going to mentor you, then that's probably a good place to start. > TeamTreehouse has a good RoR course. Despite the fact that I like Ruby, I don't think Rails is a gr…

Wow. Thank you. Seriously, great response - very much appreciated.

Re: Ask HN: Python or Ruby or What??

#10
post #4

I think a better question to ask is: "Do I know somebody who is proficient in this language that can help me learn when I get stuck?" A real life friend that will explain things to you when you need help is going to be infinitely more useful that an online tutorial. Go with Python.

Yeah good point. I'm fortunate to know people from both Ruby and Python who would help. And each one has their own bias as to which one to learn. But you make a great point, a real life friend you can pester with questions is very helpful.
Post reply on HN