Introduction:
Ruby is a programming language. It is vastly known by hackers. This particular programming language was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp.
Why you should learn Ruby?
Ruby is a very easy language to learn compared to other languages!
Ruby is a powerful, flexible programming language you can use in web/Internet development. You can create games, etc with it, too. Let's compare C++ to Ruby.
#include <iostream>
int main()
{
std::cout << "Hello World" << std::endl;
return 0;
}
Now look at Ruby:
puts "Hello World!"
2.) Lot's of companies are looking for people who know Ruby. Of course, you'll need to know PHP, C++, HTML, etc, but Ruby is a good step to learn.
Let's start actually learning Ruby. We will of course start off easily! Very simple.
I am using Notepad++, now. Let's create a file. I, myself, will name it: Test.rb, remember to add the: ".rb"
Ok. So... Let's do a simple: "Hello World!"!
puts "What is up?"
print "Nullbyte"
Now, remember to always add a 'print' statement, if not, it'll just give a nil.
That is all for today. Some simple Hello World commands, and introduction to Ruby. I will add another tutorial by tomorrow.
Comments
Be the first, drop a comment!