如果我学习Ruby会有什么变化? (我知道ASP.NET)

时间:2021-11-09 04:15:41

I wonder that,

我不知道,

  1. Ruby programming language is ...(easy/difficult) to learn.
  2. Ruby编程语言是......(简单/困难)学习。

  3. I can develop web application %x faster than asp.net.
  4. 我可以比asp.net更快地开发Web应用程序%x。

  5. There are a lot of screen casts to learn Ruby.(http://xxxRubLearn.xxx, etc.)
  6. 学习Ruby有很多屏幕演员。(http://xxxRubLearn.xxx等)

  7. The principle(s) of Ruby is(are) only ......
  8. Ruby的原则只是......

  9. You can increase work proccessor (like W3P on IIS) and make faster your web app.
  10. 您可以增加工作进程(如IIS上的W3P)并使您的Web应用程序更快。

  11. Future of Ruby looks like it will be the most ... programming lang.
  12. Ruby的未来看起来将是最...编程语言。

  13. The comparison of Ruby and ASP.NET shows us .....
  14. Ruby和ASP.NET的比较向我们展示.....

Or

Don't leave your way, because it is the easiest way. And new technologies can die very soon while you are learning them... ?

不要离开,因为这是最简单的方法。当你学习它们时,新技术很快就会死掉......?

What do you say?

你说什么?

4 个解决方案

#1


  • Easy to learn Ruby programming language is damn easy to learn. You will start building apps in days. If you enjoy programming, I think you will love programming in Ruby.

    易于学习Ruby编程语言很容易学习。您将在几天内开始构建应用程序。如果你喜欢编程,我想你会喜欢用Ruby编程。

  • Web Apps? I have not used Rails for serious web apps. Even though I stick with ASP.NET for my web project, Rails is quite nifty and I strongly recommend it.

    网络应用?我没有将Rails用于严肃的网络应用程序。即使我坚持使用ASP.NET作为我的Web项目,Rails非常漂亮,我强烈推荐它。

  • Comparisons I dont think ASP.NET is a "programming language". I cant compare it to Ruby. However people tell me Ruby on Rails is a good alternative to ASP.NET in some cases (could somebody here please help me by citing a real life scenario)

    比较我不认为ASP.NET是一种“编程语言”。我不能把它与Ruby比较。然而人们告诉我Ruby on Rails在某些情况下是ASP.NET的一个很好的替代品(有人可以通过引用现实生活场景来帮助我)

  • Philosophy Ruby is one of the languages which strongly believes that programming is not about spoon feeding the compiler. See the interview with the creator, Matz.

    哲学Ruby是一种强烈认为编程不是为编译器提供信息的语言。请参阅创作者Matz的采访。

  • Resources There are plenty of nice resources to learn Ruby.

    资源学习Ruby有很多很好的资源。

    1. Basics of Ruby Video
    2. Ruby视频的基础知识

    3. Envy Casts' Advanced Ruby Topics and Ruby 1.9 Coverage
    4. Envy Casts的高级Ruby主题和Ruby 1.9覆盖范围

    5. Lot of Free Books on Ruby
    6. Ruby上的很多免费书籍

I strongly urge you to learn Ruby. I learned a lot of new concepts in programming in general and had loads of fun coding in it.

我强烈建议你学习Ruby。我在编程中学到了很多新的概念,并且在其中有很多有趣的编码。

#2


You'll know more - I guess.

你会知道的更多 - 我猜。

And I think you're mixing Ruby with Rails (a framework for web-apps written in Ruby). Ruby is a programming (leaning towards scripting) language. But both Ruby and Rails are beautiful in their own ways - Ruby with its constructs and ease of expressing a solution to a problem, Rails with underlining how a framework should just work.

我认为你将Ruby与Rails(一个用Ruby编写的web应用程序的框架)混合在一起。 Ruby是一种编程(倾向于脚本)语言。但是Ruby和Rails都以他们自己的方式很漂亮--Rubout的构造和易于表达问题的解决方案,Rails强调框架应该如何工作。

And as with learning any language sufficiently different from your weapon of choice, it'll expand how you look at solving problems in the future - you'll see further than you used to.

学习任何与你选择的武器有很大不同的语言,它将扩展你未来解决问题的方式 - 你会比以往更进一步。

#3


I'll tackle the first couple points.

我将解决前几个问题。

1) Ruby is easy/hard to learn:

1)Ruby很容易学习:

Like so many things in life this depends on your experience and resources. If all you now is C#, than Ruby likely is going to be hard to learn because it's your second language. In my experience the second language is often the hardest. The second language is also the one that teaches you the most. If you know 3 or 4 other languages, than I suspect you'll find it no harder to learn than the those you learned before. If you're in a Windows environment it can be a bit harder to install the needed tools than ASP.net, but nothing you probably shouldn't learn anyway.

就像生活中的许多事情一样,这取决于你的经验和资源。如果现在你只是C#,那么Ruby可能很难学,因为它是你的第二语言。根据我的经验,第二语言通常是最难的。第二种语言也是教你最多的语言。如果您知道3种或4种其他语言,我怀疑您会发现它比您之前学到的语言更难学习。如果您在Windows环境中安装所需的工具可能比ASP.net更难,但无论如何您都不应该学习。

2) Write web:programs faster:

2)写网页:程序更快:

Let's just say those are fighting words. Some people believe it's faster, others believe ASP.net is faster. I will say if you want to do web-apps, than you also need to learn the Rails framework. You can learn Ruby without learning Rails, but the talk around Ruby is all about Rails.

我们只是说那些是在争吵。有些人认为它更快,其他人认为ASP.net更快。我会说,如果你想做网络应用程序,你还需要学习Rails框架。你可以在不学习Rails的情况下学习Ruby,但是关于Ruby的讨论就是关于Rails的。

3) Where to learn:

3)在哪里学习:

I like learning from books, so that's what I used to learn ruby. There are tons of examples on the web. I expect Google will show you the way if you like to learn that way.

我喜欢从书本中学习,这就是我以前学习红宝石的原因。网上有很多例子。我希望Google会为您指明如果您喜欢这样学习的方式。

#4


For me, the big thing was that Ruby is fun to write code in. It took me awhile to "get" it, but once I did it was like a giant lightbulb lit up, and it changed the way I code.

对我而言,最重要的是Ruby编写代码很有趣。我花了一些时间来“获取”它,但是一旦我这样做就像一个巨大的灯泡点亮了,它改变了我编码的方式。

Specifically, understanding the concept of blocks is key. As a trivial example, here is something that I'd write in Delphi (or C#, similarly):

具体而言,理解块的概念是关键。作为一个简单的例子,这里是我用Delphi(或类似的C#)写的东西:

for j := 0 to SomeListObject.Count - 1 do
  DoSomething(SomeListObject[j]);

In Ruby, it's more like this:

在Ruby中,它更像是这样的:

some_list_object.each do |item|
  do_something(item)
end

or, more compactly, like this:

或者,更紧凑,像这样:

some_list_object.each { |item| do_something(item) }

It's a subtle change, but once you get the hang of it things just become easier, without iterator variables or anything messy.

这是一个微妙的变化,但是一旦你掌握了它,事情变得更容易,没有迭代器变量或任何混乱。

To get started, I highly, highly recommend getting Programming Ruby 1.9 to get started, and Agile Web Development With Rails for getting started with Rails. You don't need to know Ruby very well to get started with Rails, but it'll make more sense more quickly if you do.

首先,我强烈建议让Programming Ruby 1.9开始使用,并使用Rails开发Agile Web Development以开始使用Rails。你不需要很好地了解Ruby以开始使用Rails,但是如果你这样做的话,它会更快更有意义。

#1


  • Easy to learn Ruby programming language is damn easy to learn. You will start building apps in days. If you enjoy programming, I think you will love programming in Ruby.

    易于学习Ruby编程语言很容易学习。您将在几天内开始构建应用程序。如果你喜欢编程,我想你会喜欢用Ruby编程。

  • Web Apps? I have not used Rails for serious web apps. Even though I stick with ASP.NET for my web project, Rails is quite nifty and I strongly recommend it.

    网络应用?我没有将Rails用于严肃的网络应用程序。即使我坚持使用ASP.NET作为我的Web项目,Rails非常漂亮,我强烈推荐它。

  • Comparisons I dont think ASP.NET is a "programming language". I cant compare it to Ruby. However people tell me Ruby on Rails is a good alternative to ASP.NET in some cases (could somebody here please help me by citing a real life scenario)

    比较我不认为ASP.NET是一种“编程语言”。我不能把它与Ruby比较。然而人们告诉我Ruby on Rails在某些情况下是ASP.NET的一个很好的替代品(有人可以通过引用现实生活场景来帮助我)

  • Philosophy Ruby is one of the languages which strongly believes that programming is not about spoon feeding the compiler. See the interview with the creator, Matz.

    哲学Ruby是一种强烈认为编程不是为编译器提供信息的语言。请参阅创作者Matz的采访。

  • Resources There are plenty of nice resources to learn Ruby.

    资源学习Ruby有很多很好的资源。

    1. Basics of Ruby Video
    2. Ruby视频的基础知识

    3. Envy Casts' Advanced Ruby Topics and Ruby 1.9 Coverage
    4. Envy Casts的高级Ruby主题和Ruby 1.9覆盖范围

    5. Lot of Free Books on Ruby
    6. Ruby上的很多免费书籍

I strongly urge you to learn Ruby. I learned a lot of new concepts in programming in general and had loads of fun coding in it.

我强烈建议你学习Ruby。我在编程中学到了很多新的概念,并且在其中有很多有趣的编码。

#2


You'll know more - I guess.

你会知道的更多 - 我猜。

And I think you're mixing Ruby with Rails (a framework for web-apps written in Ruby). Ruby is a programming (leaning towards scripting) language. But both Ruby and Rails are beautiful in their own ways - Ruby with its constructs and ease of expressing a solution to a problem, Rails with underlining how a framework should just work.

我认为你将Ruby与Rails(一个用Ruby编写的web应用程序的框架)混合在一起。 Ruby是一种编程(倾向于脚本)语言。但是Ruby和Rails都以他们自己的方式很漂亮--Rubout的构造和易于表达问题的解决方案,Rails强调框架应该如何工作。

And as with learning any language sufficiently different from your weapon of choice, it'll expand how you look at solving problems in the future - you'll see further than you used to.

学习任何与你选择的武器有很大不同的语言,它将扩展你未来解决问题的方式 - 你会比以往更进一步。

#3


I'll tackle the first couple points.

我将解决前几个问题。

1) Ruby is easy/hard to learn:

1)Ruby很容易学习:

Like so many things in life this depends on your experience and resources. If all you now is C#, than Ruby likely is going to be hard to learn because it's your second language. In my experience the second language is often the hardest. The second language is also the one that teaches you the most. If you know 3 or 4 other languages, than I suspect you'll find it no harder to learn than the those you learned before. If you're in a Windows environment it can be a bit harder to install the needed tools than ASP.net, but nothing you probably shouldn't learn anyway.

就像生活中的许多事情一样,这取决于你的经验和资源。如果现在你只是C#,那么Ruby可能很难学,因为它是你的第二语言。根据我的经验,第二语言通常是最难的。第二种语言也是教你最多的语言。如果您知道3种或4种其他语言,我怀疑您会发现它比您之前学到的语言更难学习。如果您在Windows环境中安装所需的工具可能比ASP.net更难,但无论如何您都不应该学习。

2) Write web:programs faster:

2)写网页:程序更快:

Let's just say those are fighting words. Some people believe it's faster, others believe ASP.net is faster. I will say if you want to do web-apps, than you also need to learn the Rails framework. You can learn Ruby without learning Rails, but the talk around Ruby is all about Rails.

我们只是说那些是在争吵。有些人认为它更快,其他人认为ASP.net更快。我会说,如果你想做网络应用程序,你还需要学习Rails框架。你可以在不学习Rails的情况下学习Ruby,但是关于Ruby的讨论就是关于Rails的。

3) Where to learn:

3)在哪里学习:

I like learning from books, so that's what I used to learn ruby. There are tons of examples on the web. I expect Google will show you the way if you like to learn that way.

我喜欢从书本中学习,这就是我以前学习红宝石的原因。网上有很多例子。我希望Google会为您指明如果您喜欢这样学习的方式。

#4


For me, the big thing was that Ruby is fun to write code in. It took me awhile to "get" it, but once I did it was like a giant lightbulb lit up, and it changed the way I code.

对我而言,最重要的是Ruby编写代码很有趣。我花了一些时间来“获取”它,但是一旦我这样做就像一个巨大的灯泡点亮了,它改变了我编码的方式。

Specifically, understanding the concept of blocks is key. As a trivial example, here is something that I'd write in Delphi (or C#, similarly):

具体而言,理解块的概念是关键。作为一个简单的例子,这里是我用Delphi(或类似的C#)写的东西:

for j := 0 to SomeListObject.Count - 1 do
  DoSomething(SomeListObject[j]);

In Ruby, it's more like this:

在Ruby中,它更像是这样的:

some_list_object.each do |item|
  do_something(item)
end

or, more compactly, like this:

或者,更紧凑,像这样:

some_list_object.each { |item| do_something(item) }

It's a subtle change, but once you get the hang of it things just become easier, without iterator variables or anything messy.

这是一个微妙的变化,但是一旦你掌握了它,事情变得更容易,没有迭代器变量或任何混乱。

To get started, I highly, highly recommend getting Programming Ruby 1.9 to get started, and Agile Web Development With Rails for getting started with Rails. You don't need to know Ruby very well to get started with Rails, but it'll make more sense more quickly if you do.

首先,我强烈建议让Programming Ruby 1.9开始使用,并使用Rails开发Agile Web Development以开始使用Rails。你不需要很好地了解Ruby以开始使用Rails,但是如果你这样做的话,它会更快更有意义。