Ruby and Rails for Attractive .Net Developers
david.ing.name
david.ing.name
1) Minor versions of Ruby are incompatible with each other. 1.9.1 to 1.9.2 requires some code changes.
2) Developers of non-popular gems often lose interest and stop maintaining them.
3) WPF is truly a remarkable UI toolkit. I wish there was an equivalent.
What I love:
1) The Gem system makes moving your app from system to system trivial.
2) Most Ruby devs use Git/Github.
3) Ruby's expressiveness.
4) Metaprogramming.
If you use both languages, what are your opinions?
With the C# ecosystem there is more stability and often better introductory resources for learning. Most innovations will come out for .Net via Microsoft in some form or another (either 'in-housing' an existing community project or just plain reinvention). This 'Wise Parent' model of .Net community stewardship is both its greatest strength and its greatest weakness.
.Net and Microsoft are now starting their own package management project (brought in-house again) and it will be interesting to see how that works out. Their MVC framework is very good, produced in this model, but I can't help feeling the 'mainstream developers' that buy all those Visual Studio licenses aren't that interested.
Ruby indicates bug fix level changes with the patch level, so Ruby 1.9.1-p430 is compatible with the earlier 1.9.1-p429, but not entirely compatible with 1.9.2-p0.
Matz stated during his keynote at Rubyconf 2010 that Ruby 2.0 would have proper named parameters for methods, although in practice they will be largely the same as they are now.
Account.create(:firstname => 'Bob', :lastname => 'Smith') # old
Account.create(firstname: 'Bob', lastname: 'Smith') # newMaybe I'll get used to it, but it doesn't seem worth the change to me right now.
If you don't like it though, there's no reason to use it yet.
> It is interesting in that a lot of the ‘magic’ side of Rails is actually not that mysterious at all, in that follows the idioms of Ruby and that whole stack is still vibrant, changing and moving forward. At times it seems chaotic, but I think that’s part of why it’s still alive and kicking. So far so good.