Live data from Hacker News

Ruby 2.0.0-rc2 is released

ruby-lang.org

31–40 of 58 posts

Re: Ruby 2.0.0-rc2 is released

#32

Earlier quoted context omitted.

Languages like ruby and python democratize programming. Learning programming with C is like having a 25 years old mother of 2 as your first girlfriend.

OR it is having a mature and charming 35 year-old with lots of experience as your first girlfriend/boyfriend. The gap is huge at first but with the growing relationship you learn about all the intricate details of being with someone on a daily basis, which can make all subsequent relationships much easier to handle. C is rough, it's roots, but it doesn't distort the programmer in any way and teaches very sane princip…

Writing C code on an older machine kind of taught me that programming is mostly about just one thing:

Managing memory in the most efficient way.

Writing PHP or Ruby code spoils you. You completely forget that memory even exists, until you need to do something heavy. It's a good lesson to learn if you want to move beyond just basic web dev personal project stuff. But if all you need is to automate some calculations or store an email list in a db I wouldn't bother.

Re: Ruby 2.0.0-rc2 is released

#33
post #26

Can't wait to see refinements start getting used in libraries. I guess it'll be some time until people start requiring Ruby 2.0, but there are some seriously excellent new features in the works. See https://speakerdeck.com/a_matsuda/ruby-2-dot-0-on-rails for a good overview.

Note that refinements are an 'experimental' feature only for Ruby 2.0, and many library authors don't want to use refinements. So I wouldn't expect to see a very big uptake in their adoption.

I don't know a lot about this, apart from the fact that the implementation is a bit contentious. Can you elaborate on some of the opposition to refinements?

Re: Ruby 2.0.0-rc2 is released

#34
post #33

Earlier quoted context omitted.

Note that refinements are an 'experimental' feature only for Ruby 2.0, and many library authors don't want to use refinements. So I wouldn't expect to see a very big uptake in their adoption.

I don't know a lot about this, apart from the fact that the implementation is a bit contentious. Can you elaborate on some of the opposition to refinements?

From the rspec maintainer: http://www.ruby-forum.com/topic/4408519

Brian Ford, one of the heads of Rubinius, has also been very outspoken about refinements, though I can't remember a specific link at this time.

Re: Ruby 2.0.0-rc2 is released

#35
post #33

Earlier quoted context omitted.

I don't know a lot about this, apart from the fact that the implementation is a bit contentious. Can you elaborate on some of the opposition to refinements?

From the rspec maintainer: http://www.ruby-forum.com/topic/4408519 Brian Ford, one of the heads of Rubinius, has also been very outspoken about refinements, though I can't remember a specific link at this time.

Thanks Steve :)

Re: Ruby 2.0.0-rc2 is released

#36
post #33

Earlier quoted context omitted.

I don't know a lot about this, apart from the fact that the implementation is a bit contentious. Can you elaborate on some of the opposition to refinements?

From the rspec maintainer: http://www.ruby-forum.com/topic/4408519 Brian Ford, one of the heads of Rubinius, has also been very outspoken about refinements, though I can't remember a specific link at this time.

Here's an article from Headius, JRuby developer: http://blog.headius.com/2012/11/refining-ruby.html

Re: Ruby 2.0.0-rc2 is released

#37
post #9

Ruby pulled me out of C# hell and allowed me to see other open source stacks and for that I love it. I'm so happy now that I can work with a clean language with a small difficulty curve. I look like a wizard to management! I'm not working on projects with millions of daily users, just simple CRUD enterprisey apps, and Ruby and Rails are my Virgil, guiding me through programming hell. :P

Curious what were the worst pain points of C# for you?

One of the worst pain points of C# for me was that the open source community is practically non-existant. So many wheels end up being reinvented because nobody has bothered to share their wheel, and Microsoft hasn't released their wheel yet.

Re: Ruby 2.0.0-rc2 is released

#38
post #9

Earlier quoted context omitted.

Curious what were the worst pain points of C# for you?

I have to be careful about tendonitis flare ups in my wrist from my musician days. That makes languages like Java and C# literally more painful than languages like ruby that require less typing.

I'll volunteer a few more:

Amazing ecosystem + package manager.

The problems you get to work on tend to be less soul-crushing.

Re: Ruby 2.0.0-rc2 is released

#39
post #18

Earlier quoted context omitted.

Learning programming with Ruby is like sex with your 14 year old GF. Neither of you know what to do but it's SO EXCITING! Then you find out she's pregnant and you'll be supporting her for the next 18 years.

To continue the analogy. She will also not work half the time and be messy beyond belief.

As a guy, i'm finding these analogies to be... poorly chosen and highly offensive to the extreme. Do we really need to analogize programming languages this way? You may not like Ruby or Python as first languages but I first learnt qbasic. Do I miss it, somedays yeah, but learning one is just like learning real languages. We can learn more than one. They aren't mutually exclusive.

That and can we move beyond high school analogies like this? It is getting tiring and I'm sure to outside observers it isn't helping a curious woman's impression of our corner of humanity.

Re: Ruby 2.0.0-rc2 is released

#40
post #18

Earlier quoted context omitted.

Learning programming with Ruby is like sex with your 14 year old GF. Neither of you know what to do but it's SO EXCITING! Then you find out she's pregnant and you'll be supporting her for the next 18 years.

To continue the analogy. She will also not work half the time and be messy beyond belief.

Well, that escalated quickly.
Post reply on HN