Why Should You Learn Ruby?

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 152

  • @axedyson
    @axedyson 6 лет назад +203

    man, classic one. Everybody compares high-level programming languages against java with the "Hello World" style xD

    • @axedyson
      @axedyson 6 лет назад +6

      shevegen yeah but java runs faster and you have more control over your program

    • @nikitapavlov4778
      @nikitapavlov4778 5 лет назад +19

      Java is a high-level language too

    • @imadalamaddin3717
      @imadalamaddin3717 5 лет назад +1

      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...

    • @valizeth4073
      @valizeth4073 5 лет назад +2

      @squ34ky2 Now you watch a C++ project being built and run with clang, it will have finished even before the interpreter can load up.

    • @jorgeed.1117
      @jorgeed.1117 4 года назад +1

      ASM is easier than Java

  • @mokhosh
    @mokhosh 6 лет назад +124

    You're basically describing all scripting languages, not just Ruby

    • @mokhosh
      @mokhosh 6 лет назад +4

      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?!

    • @tauhidaman007
      @tauhidaman007 5 лет назад

      MoTech can I learn ruby on windows 10

    • @valizeth4073
      @valizeth4073 5 лет назад

      @@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.

    • @tauhidaman007
      @tauhidaman007 5 лет назад +2

      @@valizeth4073 right now i am learning python should learn it?

    • @Vuden13
      @Vuden13 3 года назад

      @@tauhidaman007 no

  • @samiassasa3029
    @samiassasa3029 6 лет назад +97

    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.

    • @karthikeyanak9460
      @karthikeyanak9460 5 лет назад +4

      he does something more than hello world. watch the video fully.

    • @desubakadesu
      @desubakadesu 5 лет назад +1

      @@karthikeyanak9460 you mean doesn't ?

    • @theraccoonsHQ
      @theraccoonsHQ 4 года назад

      :D haha

  • @hxkdneuxbxjdidndnxj
    @hxkdneuxbxjdidndnxj 4 года назад +7

    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!

    • @Dev_4_hire
      @Dev_4_hire 3 года назад

      Very subjective

    • @genjioto
      @genjioto 3 года назад +1

      Nah, then you would get paid less.

  • @RaFiStudiozOfficial
    @RaFiStudiozOfficial 4 года назад +7

    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.

    • @duncansiror5033
      @duncansiror5033 4 года назад +1

      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.

    • @Dev_4_hire
      @Dev_4_hire 3 года назад +1

      @@duncansiror5033 you should definitely start with C

  • @Cassio81863636
    @Cassio81863636 4 года назад +18

    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.

    • @koala_8027
      @koala_8027 3 года назад

      ikr, this really bothered me.

    • @diegoaugusto1561
      @diegoaugusto1561 3 года назад +2

      Oh yeah I do enjoy me some PoolableConnectionManagerFactory to go along with my JavaPersonEntityBeanManagerFactory

    • @sonicbroom8522
      @sonicbroom8522 3 года назад

      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
      @AJtheEngiqueer 3 года назад

      @@sonicbroom8522 ok so why should i learn ruby over python? or c++? or java? quickly..

    • @sonicbroom8522
      @sonicbroom8522 3 года назад +1

      @@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.

  • @valizeth4073
    @valizeth4073 5 лет назад +13

    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.

    • @santiagolerin
      @santiagolerin 4 года назад

      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.

  • @TheInimicus
    @TheInimicus 5 лет назад +5

    "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.

  • @janmsavage
    @janmsavage 4 года назад +2

    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.

  • @Deepanshu412
    @Deepanshu412 6 лет назад +23

    Next video - Why should you learn all the programming languages ?

  • @benzflynn
    @benzflynn 2 года назад

    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.

  • @i_youtube_
    @i_youtube_ 6 лет назад +4

    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.

    • @clintonhouston1048
      @clintonhouston1048 5 лет назад +1

      @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.

  • @codingart7736
    @codingart7736 6 лет назад +72

    Why should I choose ruby over python?

    • @mcmiloy3322
      @mcmiloy3322 6 лет назад +39

      Arguably Python is the better, more consistent, more popular language. But Ruby just tickles my brain the right way to make me love it.

    • @maz4962
      @maz4962 6 лет назад +40

      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.

    • @nagakrushnay4254
      @nagakrushnay4254 6 лет назад +21

      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.

    • @nagakrushnay4254
      @nagakrushnay4254 6 лет назад +2

      Damoon Imani Right

    • @randerins
      @randerins 6 лет назад +4

      You can do more things with Python, but not necessarily better.

  • @zealousprogrammer4539
    @zealousprogrammer4539 6 лет назад +7

    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?

  • @simonemril7425
    @simonemril7425 5 лет назад +1

    Thank you sir! I appreciate you and your time.

  • @v.solutions2199
    @v.solutions2199 6 лет назад +16

    You should learn Go. And ruby too 🤗

    • @skillfulactor09
      @skillfulactor09 6 лет назад +1

      Daddy FatStacks why learn Go

    • @v.solutions2199
      @v.solutions2199 6 лет назад +3

      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.

    • @skillfulactor09
      @skillfulactor09 6 лет назад

      Daddy FatStacks oh nice where did you learn Go from if I may ask from team treehouse udemy or docs etc

    • @Guard-Of-Zion
      @Guard-Of-Zion 6 лет назад +1

      Daddy go is bs

    • @v.solutions2199
      @v.solutions2199 6 лет назад

      skillfulactor09 both treehouse and two books introducing go by Caleb Doxsey and Sams teach yourself Go in 24 hours

  • @soomaabdullah16
    @soomaabdullah16 6 лет назад +2

    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..

  • @shreyas5137
    @shreyas5137 4 года назад

    which app should we use to write codes of HTML, java, javascript etc?

  • @spacesauce1012
    @spacesauce1012 5 лет назад +2

    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?

  • @solutioni3394
    @solutioni3394 4 года назад

    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...

  • @soufianta8374
    @soufianta8374 3 года назад +1

    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)...

    • @somacruz8272
      @somacruz8272 2 года назад +1

      what conclusion did you come to?

  • @FinnTG
    @FinnTG 4 года назад +4

    Laugh in Python:
    Print "Hello, World!"

  • @TheInimicus
    @TheInimicus 5 лет назад +3

    "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

  • @kellycatbagan2995
    @kellycatbagan2995 6 лет назад +15

    tf is up with the creepy, deafending background music?

  • @jpm8288
    @jpm8288 4 года назад

    Ruby is great, if you can set it up.

  • @yuvrajchhugani4338
    @yuvrajchhugani4338 5 лет назад +4

    To prove that any programming language is good or easy the compare it to java which means java is the benchmark

    • @sonicbroom8522
      @sonicbroom8522 3 года назад

      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

  • @moayadmyro2091
    @moayadmyro2091 3 года назад

    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

  • @greatscott8680
    @greatscott8680 4 года назад +1

    Java programs run really fast??? In what universe?

  • @tartarus1322
    @tartarus1322 5 лет назад +17

    You're purposefully overcomplicating and construing java as more complicated than it is and underplaying ruby.

    • @amrojjeh
      @amrojjeh 4 года назад

      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.

    • @sonicbroom8522
      @sonicbroom8522 3 года назад

      Ok then. Show me a 1 line Hello World in Java

    • @richardschofield2201
      @richardschofield2201 2 года назад

      @@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.

  • @coolerking7427
    @coolerking7427 6 лет назад +6

    All languages have there place.

  • @peppepinz2886
    @peppepinz2886 4 года назад

    Is ruby a good choice to find a job ?

  • @ayushmanpraxri7063
    @ayushmanpraxri7063 6 лет назад +5

    I'll choose c++ over ruby

  • @pitust
    @pitust 5 лет назад +4

    nodejs vs ruby
    fast : slow
    npm : rubygems
    JIT : interpreted

  • @goodperson7427
    @goodperson7427 4 года назад +4

    Ruby is a lot similar to python

  • @jjsiegal1
    @jjsiegal1 4 года назад +1

    You haven't told us 'WHY we should learn Rails???'
    Wasn't that the Tag LIne ???

  • @avik999
    @avik999 6 лет назад +1

    What about python? It also have those advantages, then why ruby over python?

    • @snoooters
      @snoooters 6 лет назад +2

      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.

    • @Qew77
      @Qew77 4 года назад +1

      ruby is simplier in syntax

  • @majedhk5460
    @majedhk5460 5 лет назад

    *Should i learn Ruby or Python ?*

    • @RaFiStudiozOfficial
      @RaFiStudiozOfficial 4 года назад

      majed HK any of both are a good option to get started, i was introduced to ruby and have been having a great time

  • @TheInimicus
    @TheInimicus 5 лет назад +2

    "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.

  • @sollyprogrammer3750
    @sollyprogrammer3750 4 года назад

    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

  • @Andybaby
    @Andybaby 6 лет назад

    Surely 'ease of debugging' is more important than 'number of keystrokes'?

  • @SubterraneanChick
    @SubterraneanChick 6 лет назад +2

    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.

  • @pavelh.3318
    @pavelh.3318 4 года назад

    Why dont you compare ruby to python

  • @Alebarrel
    @Alebarrel 5 лет назад

    Maybe Crystal in addition?

  • @RAF4Y
    @RAF4Y 4 года назад

    comparison is all wrong in my opinion. java has a different league (actually its own). should have compared with php or python

  • @captainbodyshot2839
    @captainbodyshot2839 4 года назад

    2:10 Java compiler most certainly does not make finished programs run fast

  • @MrWhoztheBoss
    @MrWhoztheBoss 6 лет назад +1

    Unitll python is out their nothing better that it 😘

  • @TheInimicus
    @TheInimicus 5 лет назад

    Printing text to standard output (System.out, puts) is extremely rare task.

  • @ThumbIKR
    @ThumbIKR 6 лет назад

    Very good ruby tutorial for fresher like me... :)

  • @zayanalrashdr3948
    @zayanalrashdr3948 4 года назад

    Java did broken my head latrly
    But overall ruby haviy on memory
    And Java is the opposite but with very much much codes

  • @victorhendriks836
    @victorhendriks836 4 года назад

    Why nobody tells this in my country

  • @rahmanatiqur2332
    @rahmanatiqur2332 6 лет назад

    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

    • @clintonhouston1048
      @clintonhouston1048 5 лет назад

      You can also make android apps with ruby as well using xamarin platform and you can also do machine learning with ruby

  • @icterinetech899
    @icterinetech899 5 лет назад

    What about golo

  • @amitagarwal2638
    @amitagarwal2638 4 года назад +2

    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?

  • @segfault-
    @segfault- 5 лет назад +1

    simple != good

  • @MrAer85
    @MrAer85 6 лет назад

    Sounds like Data (Brent Spiner).

  • @pushkarthakur2942
    @pushkarthakur2942 6 лет назад +4

    Is there any book for Ruby...?

    • @alessandroporfirio1910
      @alessandroporfirio1910 6 лет назад

      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.

    • @mcmiloy3322
      @mcmiloy3322 6 лет назад +1

      "The Well Grounded Rubyist" is a good one.

    • @pushkarthakur2942
      @pushkarthakur2942 6 лет назад

      Thanks

  • @LesterFD
    @LesterFD 2 года назад

    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

  • @letscode5367
    @letscode5367 5 лет назад

    Why should you learn python

  • @kerrytylenda4662
    @kerrytylenda4662 5 лет назад

    yay

  • @MrJohn-wy2hn
    @MrJohn-wy2hn 6 лет назад

    Is Ruby still a thing? Ruby seems to be dead

    • @snoooters
      @snoooters 6 лет назад

      I mean I don't think Ruby is dead if TreeHouse put in all the time and effort into making this video.

  • @nayan7207
    @nayan7207 6 лет назад +5

    I will choose python over ruby,,,,lol,,ruby is long dead

    • @clintonhouston1048
      @clintonhouston1048 5 лет назад +2

      No it's not stupid, tell that to Hulu, Airbnb, Groupon, Shopify, or even Stripe among others like Twitter.

    • @valizeth4073
      @valizeth4073 5 лет назад

      @@clintonhouston1048 Compared to a language like C that 99% of all computer chips in the world run, it was never alive.

  • @vatsalaykhobragade
    @vatsalaykhobragade 6 лет назад +1

    python ❤

  • @hanes2
    @hanes2 6 лет назад

    Just go with python

  • @ajf
    @ajf 6 лет назад

    Ruby == Python

    • @maz4962
      @maz4962 6 лет назад

      No, LOL.

    • @luiscortes6963
      @luiscortes6963 6 лет назад +6

      false

    • @MrJohn-wy2hn
      @MrJohn-wy2hn 6 лет назад

      +Maz is that Takagi?

    • @maz4962
      @maz4962 6 лет назад

      Yep.

    • @ItisLegit
      @ItisLegit 5 лет назад

      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.

  • @genjioto
    @genjioto 3 года назад +1

    Hope to god I never program in Java.

  • @ajayananddwivedi7154
    @ajayananddwivedi7154 4 года назад

    Rather use python

  • @govindrajput6454
    @govindrajput6454 6 лет назад +3

    But Ruby is dead for companies

    • @govindrajput6454
      @govindrajput6454 6 лет назад

      Yeah but another companies don't need ruby

    • @randerins
      @randerins 6 лет назад +4

      LOL, that's not what job websites say. There's still great demand for Ruby at least in the US.

    • @govindrajput6454
      @govindrajput6454 6 лет назад +1

      Rony B. But in my country India there is no scope of ruby

    • @SubterraneanChick
      @SubterraneanChick 6 лет назад

      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.

  • @mariuscodori193
    @mariuscodori193 5 лет назад

    Not a fair comparison... Stopped watching right there

  • @prince-zuko-b9n
    @prince-zuko-b9n 24 дня назад

    thank you ! it was like seeing magic 🪄