r/learnprogramming • • May 04 '13

Don't learn Ruby

My biggest mistake was learning Ruby. I listened to all the fanboys telling me how beautiful and intuitive it is, thinking this will be the future.

Ruby is slow as shit, there is no job market for non-Rails Ruby jobs, it's useless for learning programming concepts, it's useless for creating games, GUIs or even scripts that are demanding because it's so fucking slow.

The only reason no one writes blogs or posts about how shit this language is, is because no one fucking uses it. So if you want to learn a new language, learn one that's get criticized a lot like Java, or C++, or C# or even PHP. Those languages are far more productive on a hobby basis and at work. Ruby is a joke with a circlejerk community

0 Upvotes

97 comments sorted by

View all comments

8

u/CrazedToCraze May 04 '13

Just to nitpick,

or C#

I've started my "main" programming (i.e. university studies) in C# for about 3 years and I haven't really seen any major criticism made against the language as a whole. As someone with limited experience in other languages it's been an absolute pleasure learning C#. I would recommend it based on me experience so far, and from what I've seen and heard there is a good job market for .NET/C#. I know Python is pretty much unanimously agreed upon as the language to start with here at Reddit, but I'd say C# is up there as well and doesn't get suggested enough.

1

u/[deleted] May 04 '13 edited May 04 '13

The issue with C# is that it is not native and therefore needs that shitty .NET framework. And no matter what, you can't statically compile it. The only way to deploy C# applications is through the use of installers that would have to install .NET during the install. It's useless for creating portable applications and creates a barrier for customers that want to use your software.

Also, there is obviously a performance problem (you can't write games for example) and a lack of power when it comes to more low-level stuff.

C++/Qt pretty much does everything C# does and does it better.

1

u/nemec May 04 '13

therefore needs that shitty .NET framework

How is this different than the Java VM and needing to install Java before installing and running a Java application?

you can't statically compile it

It's not a very common use case, apparently, but you can combine multiple assemblies into one using ILMerge

It's useless for creating portable applications

Ever heard of Mono?

you can't write games for example

As others have mentioned, XNA. I've written one myself and never had a performance issue.

lack of power when it comes to more low-level stuff

I don't think you have any idea what you're talking about. Java, Python, and Ruby also lack this "low level power" but they're not shitty languages are they? Besides, you can call out to unmanaged (e.g. C++) code using COM Interop and if you really, really have to you can do direct pointer work in an [unsafe](http://msdn.microsoft.com/en-us/library/chfa2zb8(v=vs.71).aspx) context.

1

u/[deleted] May 04 '13

How is this different than the Java VM and needing to install Java before installing and running a Java application?

No difference.

It's not a very common use case, apparently, but you can combine multiple assemblies into one using ILMerge

ILMerge creates a single .NET assembly. That is not statically linking. You still need .NET to run the application.

Ever heard of Mono?

What about it?

As others have mentioned, XNA. I've written one myself and never had a performance issue.

There is a performance hit. There is no debate here.

I don't think you have any idea what you're talking about. Java, Python, and Ruby also lack this "low level power" but they're not shitty languages are they? Besides, you can call out to unmanaged (e.g. C++) code using COM Interop and if you really, really have to you can do direct pointer work in an unsafe context.

Java, Python, and Ruby offer features that make up for lack of low-level power.

Also, are you really comparing C# to Python and Ruby?