Ruby或C#作为第一个Web开发语言 [英] Ruby or C# as First Web Development Language

查看:149
本文介绍了Ruby或C#作为第一个Web开发语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的火焰战争问题道歉,但坦率地说,我不关心这个。我知道这些都是很好的语言,但我真的想听到更好的是什么,谁愿意学习建立伟大的网站和Web应用程序的开始Web开发大家的意见。感谢您的帮助。

I apologize for the Flame War question but frankly I don't care about that. I know these are both good languages but I would genuinely like to hear everyone's opinion on what the better is for a beginning web developer who wants to learn to build great sites and web applications. Thanks for your help.

推荐答案

我是一个长期的C#开发谁刚刚跳进Ruby和Rails大约一年前。我喜欢红宝石,但我会说C#。

I am a long-time C# developer who just jumped into Ruby and Rails about a year ago. I love Ruby, but I am going to say C#.

为什么呢?因为我认为你的主要目标之一是为学习。事情是,导轨和Ruby有Rails框架做了很多的魔法你这么多的元编程能力。而且由于它的魔力,顾名思义你不明白它在做什么。

Why? Because I assume one of your main goals is to learn. Thing is, Rails and Ruby have so much metaprogramming power that the Rails framework does a lot of magic for you. And since it's magic, by definition you don't understand what it's doing.

在C#(我建议你MVC),有神奇的要少得多。如果你想要做的事,你要么做,或使用该为你做它的框架组件(使用相同类型的,你可能已经习惯了自己动手的能力)。所以,你可以明白这是怎么回事。

In C# (and I'd recommend MVC), there's much less magic. If you want something done, you either do it or use the framework components that do it for you (using the same kinds of capabilities that you might have used to do it yourself). So you can understand what's going on.

当你在你的腰带的项目,您可能会怨恨任何静态类型语言,使你做的样板或重复的编码。然后,也许你会明白一些在Ruby和Rails的神奇,因为你会明白是什么促使它。

As you get projects under your belt, you might come to resent the boilerplate or repetitive coding that any statically typed language makes you do. Then, perhaps you'll appreciate some of the magic in Ruby and Rails, because you'll understand what motivated it.

这篇关于Ruby或C#作为第一个Web开发语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆