Haha! I was going to say the exact same comment! It's not like we use programming languages to write "Hello, world"s and "not needing to compile" is definitely not a "nice thing" per say...
@@tauhidaman007 Don't learn it at all, scripting languages are only worth using when you need to template code, or support another language with a simple runtime script. Bottlenecking the hell out of hardware isn't going to make AI cure cancer.
Writing "Hello, world!" Is not the greatest way to make others believe that they should learn Ruby. I believe that introducing practical stuff is better, for example GUI.
Ruby is the best programming language hands down - I’ve been doing programming for the past 19 years and have tried a couple of dozens of languages. It should get more attention!
I came here to learn more about ruby lang and I end up seeing a guy comparing languages verbosity as it was the most important quality of a language. that's just sad.
Except that 'language verbosity' is the entire reason that Ruby was developed. The creator of Ruby said none of the programming languages ever considered the programmer, and put the needs of the machines above everything else. Maybe do some damn research before you spew complete BS
@@AJtheEngiqueer Its easier to learn than all those especially for beginners. Tons of high profile website run on Ruby on Rails. The code is cleaner to read and write.
Any programming language is just a tool and i think Python is one of the most used tools for a reason. You can apply Python in a huge range of fields while Ruby may be a good choice just for a few tasks you want to automate, and guess what, Python can easily handle them too. I prefer Python over Ruby for general use, but as i said, both Ruby and Python are a tools... feel free to experiment with both of them to get an idea about what i'm talking about.
As a programmer you need to Learn every technology then only we know which one is better. When coming to Python it has a Indentation problem, in ruby there is no problem in defining scopes. Ruby is also good programming language, learn it, you love it.
Been learning java & ruby, ruby is just fun and makes it easy to understand what programming is all about, but once you learn one language, every other language is easy to learn.
That makes sense but it seems so many people say the opposite. They say start with C or C++. I'm doing cyber security so scripting languages like Python and Ruby are crucial. But I am interested in others like Java.
Compiling a .java file to a .class will *not* convert it to machine code which computers can understand, but with code that the JVM can understand. Big difference. Simpler doesn't always mean better. Speaking from a Java vs Python perspective, but surely python is a lot easier, yet a hell of a lot slower (and java itself is really really slow). Making a large project in a language like Java or C++ is a lot easier than doing an equally large project in Python, due to the higher control you get. Scripting languages do not give the user the ability to write as they like, the completely opposite infact.
yeah, I was used to play a lot with the text in C, the moment I got to Python, anything worked just because i was changing between spaces and tabs in the same document... ps: I actually like python a lot and is my favorite tool in the box for now.
skillfulactor09 well, I like Go for backend development, it’s compiled, and it makes use of multiple cores. Plus it was easy enough to learn. Doesn’t hurt that Go developers are well paid developers either.
uh, why no mention of ruby being the only language whose objects can (learn to) perform method calls that they were not initiated with at Class initialization time? In layspeak, ruby is the only language whose paradigm (object orientation, everything is an object) has an additional deviation in that, it allows its objects extra flexibility in determining what actions they can perform even though they were not born with tje ability to perform those actions. This is a big deal and thT is why Rails (which is based on Ruby) is so successful.
His pitch of voice and way of saying words and the rhythm of his sentences just kills my boardum from studying and makes me more and more interested Thank you..
"Most languages have package managers, but you'll have to download them yourself". True, they're not installed automatically so advnaced developers can chose the best package manager for their needs (like java devs can choose between maven and gradle). Other, however (like node, which has code in JS) already comes with it's own package manager "npm", which you still can subsitute for newer, like 'yarn' by facebook.
Hey so I’m learning python currently but I want to learn ruby as well, would it be best if I first get great at python and then learn ruby? Or would it be better if I learn them both at the same time?
Ruby is dynamic typing language while Java is static typing. You will spend most of your time as programmer in debugging and that is easier in static typing languages. So short syntax does not make the language always better, easier, or faster. Static typing languages are better for complex projects.
@squ34ky2 Ruby doesn't need saving lol, just not as popular as it used to be, but there are still developers using Ruby/Rails like Stripe or Hulu for instance.
Hi, is ruby still worth it to learn in 2021? I love ruby but what about execution speed? It seems that ruby is much slower than js for example (another interpreted language), so no need to compare it to "compiled" (java) stuff (much slower imo)...
Awesome video thank you very much, One of the most aspect of Ruby everyone envy it, Why? Marz the creator is the greatest language designer he added in Ruby all the higher funcs That Java 8/9, Python and ES6 are stealing today since its birth from 1995 map, reduce, filter, lambda and much - one of the enigma I can't understand why Java, Python and JS are so popular while Ruby is overlooked when when Ruby already had these functionalities out of the box?
"The most library is Ruby on Rails (which has code similar to the one in Java), but for this demonstration we'll install sinatra (to make my point about simplicty valid)" :D
uh I'm just learning Ruby but I have learned quite a bit about java and they are both OO so either way you still have to make a ton of classes when you make big projects. Again I'm new to programming but still...
@@sonicbroom8522 I don't use Java but I do use C# which is very similar. Hello world in one line. Easy. Creat a new console application, then write: Console.writeline("hello world"); Yes theres lines for namespace, class and your entry method etc, but you don't write them. Visual studio does it all for you. In fact all I need to write is "CW" then hit tab and it writes the following automatically. Console.writeline(); Then to run it just hit F5. I'm pretty sure in C# it's less key hits than with ruby. Counting number of lines of code is a bit irrelevant.
The argument I always hear is just that python has more libraries better suited for data science. I'm sure Ruby has its equivalent gems.... I prefer ruby because I just like the syntax better, plain and simple. Another reason is that python is installed on the OS by default on many *nix distros. Ruby is installed on some linux distros, but not all.
You are wrong in java when they use packge this for performance in ruby all command in one pack where in java you have to be more professional to call what exactly what you want
"gem comes installed automatically, so you can save time". Yea, you can save a few minutes for installing the package manager. This is basically 0 compered to real development.
It’s wayyyy too easy to pick on Java. Ya know? AND the Hello World routine is dead. You’re pretty much telling newcomers to judge a book by its cover. Pick a Lang based on what you look to achieve. There are so many factors that come into play once you actually research and NOT LISTEN TO THOSE WHO TRY TO CONVINCE YOU THAT ONE LANG IS BETTER THAN ANOTHER. Put in the work and define what you want out of a language. The beauty is that there are lots of options so you will find what suits YOUR NEEDS better. Ruby and Rails are both fading fast. It was a hipster Lang of sorts. Everyone ran to it because they saw the crowd headed that way. Nothing takes the place of hard work and research folks.
Pushkar Thakur "The Ruby Programming Language: Everything You Need to Know" by Flanagan and Matsumoto. Flanagan is a well known JavaScript author. Matsumoto is Ruby's creator.
I love Ruby cause it's syntax is so cool but i bet Java is faster than Ruby with BenchMarking. C,C++, JavaScript, Java, Lua and Crystal programming languages are the only fastest programming language don't compare programming languages by hello world. I love Ruby because it's syntax is readable, like english. Ruby on Rails is the web killer app. #UNLEARN_TO_LEARN_RUBY_AND_RUBY_ON_RAILS
you cannot compare a dynamically typed language to a strictly typed language on its amount of code lol. especially java that has tons of boiler plate code is a bad example compared to every language
I know java really well and ruby I think java is better than ruby because java is more flexible if you learn java you can make android apps, web apps and GUI but if you learn ruby you can make web apps and maybe GUI. One more thing gmail is powered by java so is the teamtreehouse website
In terms of a pure scripting language, he's mostly right, but in terms of community, Ruby is stuck on Rails while Python is expanding to Data Science and Machine Learning.
There is no huge demand. Not on the East coast. Rails is dead and gone. Ruby is on it’s last leg. But hopefully it will pick up for those who rely on it.
man, classic one. Everybody compares high-level programming languages against java with the "Hello World" style xD
shevegen yeah but java runs faster and you have more control over your program
Java is a high-level language too
Haha! I was going to say the exact same comment! It's not like we use programming languages to write "Hello, world"s and "not needing to compile" is definitely not a "nice thing" per say...
@squ34ky2 Now you watch a C++ project being built and run with clang, it will have finished even before the interpreter can load up.
ASM is easier than Java
You're basically describing all scripting languages, not just Ruby
Ok, one of all points doesn't apply to one scripting language. Good job, fascinating catch!
by the way, did he even mention meta-programming?!
MoTech can I learn ruby on windows 10
@@tauhidaman007 Don't learn it at all, scripting languages are only worth using when you need to template code, or support another language with a simple runtime script. Bottlenecking the hell out of hardware isn't going to make AI cure cancer.
@@valizeth4073 right now i am learning python should learn it?
@@tauhidaman007 no
Writing "Hello, world!" Is not the greatest way to make others believe that they should learn Ruby. I believe that introducing practical stuff is better, for example GUI.
he does something more than hello world. watch the video fully.
@@karthikeyanak9460 you mean doesn't ?
:D haha
Ruby is the best programming language hands down - I’ve been doing programming for the past 19 years and have tried a couple of dozens of languages. It should get more attention!
Very subjective
Nah, then you would get paid less.
I came here to learn more about ruby lang and I end up seeing a guy comparing languages verbosity as it was the most important quality of a language. that's just sad.
ikr, this really bothered me.
Oh yeah I do enjoy me some PoolableConnectionManagerFactory to go along with my JavaPersonEntityBeanManagerFactory
Except that 'language verbosity' is the entire reason that Ruby was developed. The creator of Ruby said none of the programming languages ever considered the programmer, and put the needs of the machines above everything else. Maybe do some damn research before you spew complete BS
@@sonicbroom8522 ok so why should i learn ruby over python? or c++? or java? quickly..
@@AJtheEngiqueer Its easier to learn than all those especially for beginners. Tons of high profile website run on Ruby on Rails. The code is cleaner to read and write.
Next video - Why should you learn all the programming languages ?
Why should I choose ruby over python?
Arguably Python is the better, more consistent, more popular language. But Ruby just tickles my brain the right way to make me love it.
Any programming language is just a tool and i think Python is one of the most used tools for a reason. You can apply Python in a huge range of fields while Ruby may be a good choice just for a few tasks you want to automate, and guess what, Python can easily handle them too.
I prefer Python over Ruby for general use, but as i said, both Ruby and Python are a tools... feel free to experiment with both of them to get an idea about what i'm talking about.
As a programmer you need to Learn every technology then only we know which one is better.
When coming to Python it has a Indentation problem, in ruby there is no problem in defining scopes.
Ruby is also good programming language, learn it, you love it.
Damoon Imani Right
You can do more things with Python, but not necessarily better.
Been learning java & ruby, ruby is just fun and makes it easy to understand what programming is all about, but once you learn one language, every other language is easy to learn.
That makes sense but it seems so many people say the opposite. They say start with C or C++. I'm doing cyber security so scripting languages like Python and Ruby are crucial. But I am interested in others like Java.
@@duncansiror5033 you should definitely start with C
Useful video giving an insight to both the philosophy and practice of Ruby language.
No question it whets the appetite for learning more on Ruby.
Compiling a .java file to a .class will *not* convert it to machine code which computers can understand, but with code that the JVM can understand. Big difference.
Simpler doesn't always mean better. Speaking from a Java vs Python perspective, but surely python is a lot easier, yet a hell of a lot slower (and java itself is really really slow). Making a large project in a language like Java or C++ is a lot easier than doing an equally large project in Python, due to the higher control you get. Scripting languages do not give the user the ability to write as they like, the completely opposite infact.
yeah, I was used to play a lot with the text in C, the moment I got to Python, anything worked just because i was changing between spaces and tabs in the same document...
ps: I actually like python a lot and is my favorite tool in the box for now.
You should learn Go. And ruby too 🤗
Daddy FatStacks why learn Go
skillfulactor09 well, I like Go for backend development, it’s compiled, and it makes use of multiple cores. Plus it was easy enough to learn. Doesn’t hurt that Go developers are well paid developers either.
Daddy FatStacks oh nice where did you learn Go from if I may ask from team treehouse udemy or docs etc
Daddy go is bs
skillfulactor09 both treehouse and two books introducing go by Caleb Doxsey and Sams teach yourself Go in 24 hours
uh, why no mention of ruby being the only language whose objects can (learn to) perform method calls that they were not initiated with at Class initialization time?
In layspeak, ruby is the only language whose paradigm (object orientation, everything is an object) has an additional deviation in that, it allows its objects extra flexibility in determining what actions they can perform even though they were not born with tje ability to perform those actions.
This is a big deal and thT is why Rails (which is based on Ruby) is so successful.
which app should we use to write codes of HTML, java, javascript etc?
His pitch of voice and way of saying words and the rhythm of his sentences just kills my boardum from studying and makes me more and more interested
Thank you..
Thank you sir! I appreciate you and your time.
"Most languages have package managers, but you'll have to download them yourself". True, they're not installed automatically so advnaced developers can chose the best package manager for their needs (like java devs can choose between maven and gradle). Other, however (like node, which has code in JS) already comes with it's own package manager "npm", which you still can subsitute for newer, like 'yarn' by facebook.
Hey so I’m learning python currently but I want to learn ruby as well, would it be best if I first get great at python and then learn ruby? Or would it be better if I learn them both at the same time?
BLYAT thank you 🙏
Ruby is dynamic typing language while Java is static typing. You will spend most of your time as programmer in debugging and that is easier in static typing languages. So short syntax does not make the language always better, easier, or faster. Static typing languages are better for complex projects.
@squ34ky2 Ruby doesn't need saving lol, just not as popular as it used to be, but there are still developers using Ruby/Rails like Stripe or Hulu for instance.
Hi, is ruby still worth it to learn in 2021? I love ruby but what about execution speed? It seems that ruby is much slower than js for example (another interpreted language), so no need to compare it to "compiled" (java) stuff (much slower imo)...
what conclusion did you come to?
Awesome video thank you very much, One of the most aspect of Ruby everyone envy it, Why? Marz the creator is the greatest language designer he added in Ruby all the higher funcs That Java 8/9, Python and ES6 are stealing today since its birth from 1995 map, reduce, filter, lambda and much - one of the enigma I can't understand why Java, Python and JS are so popular while Ruby is overlooked when when Ruby already had these functionalities out of the box?
"The most library is Ruby on Rails (which has code similar to the one in Java), but for this demonstration we'll install sinatra (to make my point about simplicty valid)" :D
You don't know what you saying
Java programs run really fast??? In what universe?
uh I'm just learning Ruby but I have learned quite a bit about java and they are both OO so either way you still have to make a ton of classes when you make big projects. Again I'm new to programming but still...
Laugh in Python:
Print "Hello, World!"
Is ruby a good choice to find a job ?
You're purposefully overcomplicating and construing java as more complicated than it is and underplaying ruby.
Yea, you actually don't need to compile the java program. You can just run the java program from the JDK and it compiles the code automatically.
Ok then. Show me a 1 line Hello World in Java
@@sonicbroom8522 I don't use Java but I do use C# which is very similar.
Hello world in one line.
Easy.
Creat a new console application, then write:
Console.writeline("hello world");
Yes theres lines for namespace, class and your entry method etc, but you don't write them.
Visual studio does it all for you.
In fact all I need to write is "CW" then hit tab and it writes the following automatically.
Console.writeline();
Then to run it just hit F5.
I'm pretty sure in C# it's less key hits than with ruby.
Counting number of lines of code is a bit irrelevant.
Ruby is great, if you can set it up.
2:10 Java compiler most certainly does not make finished programs run fast
To prove that any programming language is good or easy the compare it to java which means java is the benchmark
Java is absolute garbage tier. The benchmark is an actually useful and fast language like C/C++. Java is a complete joke and a mess
*Should i learn Ruby or Python ?*
majed HK any of both are a good option to get started, i was introduced to ruby and have been having a great time
tf is up with the creepy, deafending background music?
All languages have there place.
Ruby is a lot similar to python
What about python? It also have those advantages, then why ruby over python?
The argument I always hear is just that python has more libraries better suited for data science. I'm sure Ruby has its equivalent gems.... I prefer ruby because I just like the syntax better, plain and simple. Another reason is that python is installed on the OS by default on many *nix distros. Ruby is installed on some linux distros, but not all.
ruby is simplier in syntax
Surely 'ease of debugging' is more important than 'number of keystrokes'?
I'll choose c++ over ruby
Ok Boomer
You are wrong in java when they use packge this for performance in ruby all command in one pack where in java you have to be more professional to call what exactly what you want
"gem comes installed automatically, so you can save time". Yea, you can save a few minutes for installing the package manager. This is basically 0 compered to real development.
You haven't told us 'WHY we should learn Rails???'
Wasn't that the Tag LIne ???
It’s wayyyy too easy to pick on Java. Ya know? AND the Hello World routine is dead. You’re pretty much telling newcomers to judge a book by its cover.
Pick a Lang based on what you look to achieve. There are so many factors that come into play once you actually research and NOT LISTEN TO THOSE WHO TRY TO CONVINCE YOU THAT ONE LANG IS BETTER THAN ANOTHER. Put in the work and define what you want out of a language. The beauty is that there are lots of options so you will find what suits YOUR NEEDS better. Ruby and Rails are both fading fast. It was a hipster Lang of sorts. Everyone ran to it because they saw the crowd headed that way. Nothing takes the place of hard work and research folks.
Is there any book for Ruby...?
Pushkar Thakur "The Ruby Programming Language: Everything You Need to Know" by Flanagan and Matsumoto. Flanagan is a well known JavaScript author. Matsumoto is Ruby's creator.
"The Well Grounded Rubyist" is a good one.
Thanks
What about golo
Maybe Crystal in addition?
Why dont you compare ruby to python
Why nobody tells this in my country
nodejs vs ruby
fast : slow
npm : rubygems
JIT : interpreted
Unitll python is out their nothing better that it 😘
I love Ruby cause it's syntax is so cool but i bet Java is faster than Ruby with BenchMarking. C,C++, JavaScript, Java, Lua and Crystal programming languages are the only fastest programming language don't compare programming languages by hello world. I love Ruby because it's syntax is readable, like english. Ruby on Rails is the web killer app. #UNLEARN_TO_LEARN_RUBY_AND_RUBY_ON_RAILS
Printing text to standard output (System.out, puts) is extremely rare task.
Very good ruby tutorial for fresher like me... :)
Lol python is more easy then this 🤣 give a valid reason to use ruby. What ruby can do that python or java or Js can't?
Sounds like Data (Brent Spiner).
Java did broken my head latrly
But overall ruby haviy on memory
And Java is the opposite but with very much much codes
Did you have a stroke?
Whi Ben lk that t he?
comparison is all wrong in my opinion. java has a different league (actually its own). should have compared with php or python
Why should you learn python
you cannot compare a dynamically typed language to a strictly typed language on its amount of code lol. especially java that has tons of boiler plate code is a bad example compared to every language
Is Ruby still a thing? Ruby seems to be dead
I mean I don't think Ruby is dead if TreeHouse put in all the time and effort into making this video.
I know java really well and ruby
I think java is better than ruby
because java is more flexible
if you learn java you can make
android apps, web apps and
GUI but if you learn ruby you
can make web apps and maybe
GUI. One more thing gmail is
powered by java so is the teamtreehouse
website
You can also make android apps with ruby as well using xamarin platform and you can also do machine learning with ruby
simple != good
it is though
simple == good
yay
Just go with python
Hope to god I never program in Java.
Ruby == Python
No, LOL.
false
+Maz is that Takagi?
Yep.
In terms of a pure scripting language, he's mostly right, but in terms of community, Ruby is stuck on Rails while Python is expanding to Data Science and Machine Learning.
python ❤
I will choose python over ruby,,,,lol,,ruby is long dead
No it's not stupid, tell that to Hulu, Airbnb, Groupon, Shopify, or even Stripe among others like Twitter.
@@clintonhouston1048 Compared to a language like C that 99% of all computer chips in the world run, it was never alive.
Rather use python
But Ruby is dead for companies
Yeah but another companies don't need ruby
LOL, that's not what job websites say. There's still great demand for Ruby at least in the US.
Rony B. But in my country India there is no scope of ruby
There is no huge demand. Not on the East coast. Rails is dead and gone. Ruby is on it’s last leg. But hopefully it will pick up for those who rely on it.
Not a fair comparison... Stopped watching right there
thank you ! it was like seeing magic 🪄