开发者

What is a good language used in linux that I should pursue?

开发者 https://www.devze.com 2023-02-22 03:55 出处:网络
Hey, new to Linux here, I just installed Ubuntu on my system the other night; so now I\'m dual booting with Ubuntu and Windows 7.

Hey, new to Linux here, I just installed Ubuntu on my system the other night; so now I'm dual booting with Ubuntu and Windows 7.

I'm fairly new to programming, I've only been at it for about 6-8 months. I would say the last two months I've gotten a bit more serious about it. But I guess you could say I'm still only checking things out.

So, for the most part I've been programming in C#, I most do CL but I sometimes try some GUI's.

Now that I'm trying Ubuntu Linux, I'm looking to find a (I guess) native language to Linux, that will work for me.

So, if there is something close to C#, or something that won't be to hard of a shift, please do inform me; 开发者_如何学编程like I said above I'm mostly into CLs, but I like to make GUIs now and then. So anything that will allow me to do that.

Also, if you could recommend good software that would go along with that language, it would be very helpful. Unless I could somehow write it in a word-processor and then build it myself.. Again, not to sure how Linux works yet..

Yet, I'm hoping that along with this communities help, I might learn even a little bit more; thank you, and I hope you have a great day.

[Edit] Sorry, forgot to mention, I have been using Mono.


Java is probably the closest language to C#, but you can still use C# on Linux, via Mono. That includes writing UIs, with any of Silverlight/Moonlight, GTK# or Windows Forms (with some restrictions). You can use the MonoDevelop IDE, too.


You shouldn't really focus on "language". Here are some general guidelines.

  1. Pick a language different from the one(s) you already know so that you learn something new. This is purely educational.
  2. Pick a language depending on the problem you're trying to solve. No one uses python for systems programming and (almost) no one uses C for writing system administration "glue" scripts.
  3. Contribute to a project that you find interesting in small ways. That way, you'll get first hand experience with "real" code.

That being said, here are some language recommendations. These are biassed by my own background so don't take it too seriously.

  1. C is sort of the latin of programming languages (to quote Zed Shaw). It's something that's very close to the metal and worth learning.
  2. Python is increasing in popularity especially on Ubuntu. It's probably worth learning.
  3. Java, C# and C++ have a lot of industry acceptance so it's probably worth knowing them.
  4. Javascript is gaining a lot of ground with the increasing number of web apps out there.
  5. Perl is nice for sysad work and text munging if you're into that kind of thing.
  6. Ruby is quite popular for DSLs, tools and web apps.
  7. Shell is useful for quick and dirty scripts. Also, you'll find a lot of scaffolding written using it.
  8. Learn a few markups like HTML, LaTeX and the modern ones like markdown etc.


Mono is an open-source implementation of the .Net CLR. You can install that and keep on writing your C#. Yay!


Well, you could use Mono. It's an open source version of Microsoft .NET and C# is one of the supported languages. This way the skills you acquire in Linux/C# will be easily transferable to Windows/C#


You could try GO from Google. It seems to have both Linux and Windows support.

http://code.google.com/p/go/

0

精彩评论

暂无评论...
验证码 换一张
取 消