Ruby in 100 Seconds
HTML-код
- Опубликовано: 5 июн 2024
- Ruby is a dynamic programming language most well-know for powering the Ruby on Rails fullstack web framework. Learn why developers love the simple object-oriented code produced by the Ruby language.
#programming #compsci #100SecondsOfCode
🔗 Resources
Ruby Docs ruby-doc.org/
Rails RoR Docs rubyonrails.org/
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- What is Ruby used for?
- Who invented Ruby?
- Who invented Ruby on Rails?
- Ruby quickstart
- Ruby basics tutorial
- Which Startups used Ruby on Rails? - Наука
Ruby’s so nice. My favorite keyword is “unless”; it’s so simple but expressive. “Unless this specific thing happens, keep going.”
Puts instead of print is a bit confusing, unless looks like yoda style.
As a non-native English speaker, the unless keyword confuses the hell out of me.
@@w2lkm2n"unless" is simply "if not"
(non-native English speaker) i personally find "unless" less clear than "if not". In fact, when i first looked at ruby many years ago, i didn't know what "unless" meant at all. "if" and "not" are part of very basic English. I'm glad that unless didn't catch on to other languages
@@w2lkm2n It's not because you're non-native. Not all non-native speakers can't understand "unless". It's a really really simple word. It's one of the most basic words. You've correctly punctuated your sentence, so I will refuse to believe that you can't understand "unless". How can you not understand "unless" but punctuate correctly? Now, you are confusing the hell out of me. You seem to be a nice speaker of English.
I've spent around 10 years with Ruby, but I'd not able to explain it so concise to anyone. You are awesome job, Jeff. This channel always reminds me about Railscasts, I've learned a lot from it and was able to succeed as Ruby developer because of it.
ruclips.net/video/iMlDw36--Uo/видео.html
I have 3 years experience but i can't tell you how much i love it.
I have only like 6 months really work on Rails but I have been loving Ruby since then.
Still a pleasure to write it nowadays
And i'm here with 3 days of experience with ruby & 2 days with ror :)
@@tapank415 I envy you for the exp. Ruby is still a very fun and nice language to learn nowadays
kinda makes me happy to see Ruby in 100 seconds, this programming language is life saver and the app I have prototyped quickly just to show clients, it amaze how good ruby on rails is!
RoR is epic, IMHO still awesome to write a mid size back end microservice. No one is more quality aware than the ruby community, JS should take an example of this guy's.
@@daniel29009 Too bad a majority of the JS community has their heads up their asses and keep on trying to polish a turd
JS community: Yo dawg, I heard you like NPM packages and 8TB of node modules so I put an NPM package on your NPM package with another NPM package so you can bloat your software while you NPM package with your NPM package, dawg
@@daniel29009 Agree and not to mention Rails 7, it's brilliant!
Did you recommend rails for a guy who never had pick Ruby code? And have an idea for a StartUp? With a web app?
We were trying to guess the next video in the 100 seconds series with my friend. He said C#, I said Ruby. C# video came like a month later, which means my friend won. But surely the Ruby video followed soon enough. Keep up the good content.
I guess c++ next
can't wait for Crystal in 100 seconds
sağlık olsun kanki
@@laresident5179 Eyvallah. Our next predictions are F# (his) and Fleet (mine).
@@aaaaasssss884 Wow. He actually haven't done C++ yet. I totally missed that one.
I used to not understand why rails was taught to us in our bootcamp instead of nodejs but now that I've learned rails it feels so much easier to transition to any frameworks because using rails made you focus on the concept more than the syntax or whatnot
Hey 👋
I'm actively looking for courses on ruby and rails but i couldn't find updated one in Udemy or RUclips. Would you mind giving someone insights?
@@pankajthapaliya2336 Maybe Zayne's channel. This guy has very few videos but still worth checking. m.ruclips.net/channel/UCkoEStUK7wxmZef2DcPuCAQ
@@pankajthapaliya2336 there's a course on Odin Project
@@pankajthapaliya2336 it's free
They taught Ruby at my bootcamp course as well, as the first language. When Rails came to game is when things turned out to be fun. The MVC pattern and ActiveRecord DB manager are super intuitive, I fell in love with them :)
This is awesome! Have you thought about doing a Beyond video for Rails? I know it's not considered a "hot" framework nowadays but it's definitely still got a lot of use cases.
why did its popularity decrease ?
@@rafael_tg Node ate it, and pretty much everything web-related out there. JS is THE language nowadays because to be a fullstack dev you only need to learn one language. Before node you did JS on the front, and PHP, Ruby, or .NET on the back (or even Perl if you're old enough, or Python if you're weird enough - jk) .
@@83hjf Writing JS on the frontend is bad as it is, using ot for the backend? Hell nah.
@@dadestor
I guess you are using Java for your backend.
Am I right?
@@dadestor You probably still use jQuery and have no idea about modern JS tech stack.
I have used dozen(s?) of languages professionally, and Ruby is still my favorite. It's usually the first tool I reach for.
This is actually the very first programming language I ever dealt with, back when I was a kid making simple games with RPG Maker XP/VX, which used a modified version of Ruby as their scripting language.
Me too! My first ever programming project was a TODO application built with rails. I remember being amazed at how I could architect the entire application using only a few rails commands from the CLI
Where did you learnt Ruby , how old were you then
Wow
@@GeneralDante108 I was about maybe 11 or 12 years old I think, but I never did actually learn the language, I just messed with it, modifying small parts of the default scripts to see what happened. I didn't understand too many things about programming to learn even a language as simple as this one. Most of the time, if I wanted cool things to happen I just looked for a script that somebody else made and copy-pasted it in the program. Basically what actual developers do with SO, I guess.
@@junbird bro you are a genius , when I was 11 yo , i was probably playing with mud at the backyard 😂😂, now am 16 in 10th grade and thinking to start learning programming ....it's too late i think , with my finals next month 🙄🙄
I think Ruby syntax is the best blend between Python and something like Java. I use Ruby all the time since I work with Rails and Ruby is one of my favorite languages for how convenient it is to use.
Unfortunately, it is dying.
@@Rust_Rust_Rust Actually it's making a comeback
I feel the syntax is a mix of python and LUA especially keeping the do and end key words in mind…
Is ruby a language for the backend devs ? @@theperfectionist1607
Thanks for the introduction! :)But: Only the first character of a constant name needs to be capital, not all. So Hello = 1 is a constant.
@@watspme9750 nice bot account
@@gamemoves2415 don't engage with the bot accounts please
totally correct, but it is considered a goot practice to use the SCREAMING case to define constants :)
@@tratwesterholt7819 what about the money constant? Also I wish namespaces where in the video
@@KManAbout money? You mean global variables? ($something)
It is used only in rare cases (e.g. when we define an instance of Redis).
Namespaces are also interesting. You can define a namespaces by using 'module' keyword. Multiple modules can be included in class to mimic the multiple inheritance
I love this series. Whether you just want to expand your knowledge, or you are interested in a language and want to learn more about it, it’s just so fun to watch.
Need a video on different software licensing ! Especially what to avoid if building something as side projects 🔥
YES PLEASE WE NEED THIS
Yes
Loved it so much. Hope one day you could try an "Elixir in 100 seconds".
☝️☝️ Thanks for your comment message me for more information and guidelines..
I would love to see an elixir and erlang! They don’t get enough love!
ruclips.net/video/iMlDw36--Uo/видео.html
@@surajkumar-gx6gf so close, rails isn't elixir tho!
@@chewcodes i will be doing about elixir if you liked rails
Ruby will always have a special place in my developer heart as the first language I learned during my training
I can imagine that managing your environment may be a challenge with all of these projects you do with so many different technologies. Have you thought about doing a video explaining your updated development environment, kind of like your vscode video, though, for your machine?
I have been waiting that for ages. Thanks, Jeff. 🙏🏻
This video is such a gem. 🥁🥁🥁💎
I learned Ruby and Ruby on Rails at work but it’s actually one of my favorite languages/frameworks so that I enjoy using it for my own projects
For a 100 second video, this is incredibly concise coverage. Thank you!!
This is amazing!!! Thank you for doing Ruby! As others asked, it would be great to see a Rails video someday too ✌🏻
I’ve been using ruby on rails
for 100 years. And though it sounds like you’ve never used it, you did a bang up job explaining it in 100 seconds. Cheers
I didn't realize how intuitive this programming language is...
☝️☝️ Thanks for your comment message me for more information and guidelines.
It is. It is also hell to use.
It's only intuitive when you do simple things like in the video. Once your application grows, it becomes a black box because all the actual logic is hidden behind a pretty facade and you don't know what's happening on a deeper level.
it is not. It is great if you are writing the code. It is hell if you are reading the code. Worse if you have to maintain some old code.
It is extremely intuitive
OMG THANK YOU! I was just working on an RoR project (and struggling with it cuz I know nothing about Ruby), but this will surely help me comprehend a lot of things I don't understand
Many thanks, for making this video about Ruby, I was waiting for it. I hope people make more videos about this language and bring back the prosperity of Ruby again.
I am also waiting for it.
Literally started researching Ruby last week, and I watch every video that comes out. I still don’t know how you read everyone’s mind.
Same here. I was also studying/learning Ruby and Ruby on Rails and this video came out.
I've always loved the name of this programming language. I look forward to learning it and adding it to my stack
Refreshing to see a Ruby video in 2022 that doesn't use that same format: "Why _____ is dead in 2022". Ruby is still a beautiful language and for web development (particularly backend, paired with Rails), is still a masterpiece & has a special place in my heart.
Unfortunately popularity for ruby is waning compared to other languages.
@@Rust_Rust_Rust Fortunately*
@@AndyThomasStaff why?
The most underrated programming language.
I think lua takes that role, but Ruby and Lua both are my favorite
@@aqzp. Lua is such a programming language that releases a new version every 5 years. So it's hard to get on the list.
A lot of the reason is because Python does everything Ruby does and Ruby doesn't have any stand-out features. Python's feature is being easy to learn and good for scripting, PHP's feature is the size of the community, JavaScript/node's feature is using a skill you already know on servers and writing games/desktop apps, what does Ruby do that would make people want to switch to it over its competition?
@@s1nistr433 :)
@@s1nistr433 Ruby's standout feature is Rails. Would have been nice if it had offerings for other areas, too
I really like Ruby. As an enthusiast, it's one of those languages that pique my interest. I want to devote some time to learning it.
☝️☝️ Thanks for your comment message me for more information and guidelines.
Dude omfg??? I was searching for this video yesterday in your channel, didnt find. And now you release it, im jawl dropped
Jeff please make a video explaining different types of software licensing. You're the only person who could make me understand it!
I was just considering learning ruby. i will start solely because this video engcared me and simpllified core concepts.
The best syntax in a programming language
I used to write Ruby a lot before I discovered PHP but it still has a special place in my heart
I'am a developer Ruby and the language is amazing, very intuitive!
Ruby was the first language I learned (RPG Maker XP days), and what got me started into programming. I rarely use it nowadays aside from personal scripts on my own machine and extending it with C (not really "Ruby" programming), but I will always have a soft spot for it. Ruby blocks as first-class citizen has no equal in other languages, at least near as elegantly or simple to use.
Ruby was my first language to learn. No html, no Css, straight to back end. I fell in love with the syntax, it got me to like JavaScript. NodeJs.
I know it's a complex topic but if you are familiar with event sourcing, it would be nice to see a video about it in the future.
Big fan of your 100 seconds series.
Ruby, a gem if I ever saw one
☝️☝️ Thanks for your comment message me for more information and guidelines.
these videos are great
i feel that what makes them even better is that none of them are 100 seconds
Learning Ruby for my classes, I love it a lot more than python
Nice!
One of my favorite programming languages!
thank you for this video 😃
i waited for it for days
Now I understand why ruby devs almost always win code length format coding competitions😅
i've always had a rough time learning ror due to how odd the ruby syntax is for me, but this has been quite concise
love ruby and RnR. haven't coded on it for years but i could easily say that my career path would have been a lot different if I didn't tried out RnR as an experiment that would eventually land me my first job
Good timing. I started learning ruby a week ago :)
Yeah, Ruby and Rails are pretty neat. Nice video! 🙂
Idk about others but ruby has always been appealing to learn:d
Ruby is great because of its simplicity - I agree. Nice video
just started to learn ruby and i fell in love with the language
Fantastic explanations and examples.
Great video!
The first programming language I've seriously studied ❤
Though I've started my webdev journey with React, I'm still very much curious with Ruby. Hope I can find the time to dabble on it soon!
I've been learning Ruby recently. It's not going to replace C# for me, but I love it, and I wrote an implementation of Game Of Life in the console using it yesterday. It was so much easier than doing it in C#.
Beautiful, I'm a JS developer and I smiled while watching this delicious proglang
i was waiting for this video thank you so much
Fact is I really love your content and thanks for the video!! really loved that you filled my wish about this video and thanks again for a wonderful concept clearing video! Beyond 100 seconds will be a great video for us I guess 🥰🥰🥰 Tons of love for you 🥰
Edited: After a year, still recommending this to others. 🥰🥰🥰
Request for a Datadog in 100s & Vault in 100s :D These videos are so valuable, thank you for doing what you do!
just started using ruby for backend and i gotta say webrick and sinatra are pretty awesome
Great content as usual, Jeff.
There is also the Crystal Programming Language whose authors claim to be as neat as Ruby and as performant as C. It will be great to see Cryatal in 100 seconds soon.
I've had used Crystal for about 2 years until about 2 years ago, at which point I stopped coding as a hobby so nothing against the language. IMO, it's a really good and, from the community, seriously under-rated programming language. It's like Go but with Ruby-goodness. Seriously can recommend!
Yes, a nice language. Invidious, the RUclips proxy backend was made with Crystal
Concise presentation. Thanks.
Love to see ruby getting some attention from fireship 👏🏼
ive never used Ruby before, but now i kinda wanna try it. it looks pretty cool
The syntax looks clean.
This video is a gem!
I’ve never been so happy 😃😃😃 I’ve been wanting this for a year
This video is priceless. Thank you!
I loved RoR, but left the ecosystem in search of a better life in the Node world. Ow, I’m rebuilding my startup in RoR again. It took 5 years for me to realize, I was already using the best tool.
Awesome! Do Elixir next?
Can you also do haxe? It's a really nice language with a lot of targets it can transpikle to, along with what I would consider really good synyax
blocks and procs are amazing.
Nice Video! Do you mind telling me what font you're using? It looks really cool
Can't wait for a video about Ionic in 100 seconds!
I remember when i was at the end of primary school and we were learning codecademy when I wanted to learn ruby whilst my friend wanted to learn python. It was when python was not adapted as much. I told him "Python us probably gonna flop in like 2 years man." That aged well
python hasn't flopped.
@@BinuJasim you don't understand sarcasm
Javascript is more popular than python nowadays anyway.
One of the best languages out there. It should be even more popular than it is.
Will you also do your type of video on Ruby on Rails? :D I know there is a copy of your format already, but I guess I like yours more.
Awesome. Thanks for sharing this.
What I still find mindblowing about ruby, are the dynamic method evocation possibilites. you can call a method foo by sending the string "foo" as an argument of the send function
"jeff".send "quack" is the same as "jeff".quack
Thank you for that info, seems useful
Ruby is too magical. Probably explains why startups eventually migrate away from it.
Can't JavaScript do the same? I think it's just a matter of personal preferences to use it or not
Ruby is my favorite language so far, easy to read, easy to manage, fast to develop, bad performance is the only downside, but it can be smoothed out if you use the right methods
Jeff: The expert in every programming language and framework the world needs.
You should do a video on why there are so many languages that do the same thing at the same speed, but have different syntax 😜
This channel is quite them gem ;)
Ruby ❤️
My first love 😍
Mine too
☝️☝️ Thanks for your comment message me for more information and guidelines.
RPG Maker XP/VX times just flashed in front of my tired eyes... thanks a lot!
I swear to God, I swear to God.
I decided to pickup up ruby today and lo and behold you posted this 🤯
What the hell??
💚💚💚
☝️☝️ Thanks for your comment message me for more information and guidelines
1 more 100seconds video will make 100 videos in this series, awesome
I'm enjoying learning Ruby, the simplicity makes small projects to be pretty fast and easy to do, i would dare to say it is simpler and easier than Python.
I’m not sure how I feel about Ruby but it was a really useful vid. The syntax seems confusing to me I’m too used to being verbose I guess. I was moving some Python code over to C# and both loved and hated it so yeah think I’m just torn about working with dynamic languages again. Not been back to them since I left
Yeah, something is really off with ruby. I think python overall is much more clear with intent and purpose
@@Yaxqb I think it depends. I personally found Python the weird one with the method colons and its stress on indentation.
It's a great language if your main requirement is saving disk space. Personally I like to actually see what's going on instead of hiding everything behind syntactic sugar.
Yeah, I like dealing with strict standards. With Ruby, you don't have that.
man that looks real cool, no semicolons or variable type definitions needed, tho idk if removing the {} makes it more readable or not, guess u just gotta learn your indents lol
Could you do delfi?
I have seen it but i never knew why you would use it
As a rubyist, may biggest promblem with ruby, is that ruby missed the data science revolution, but also big companies like google did not adopt this language and did not create libraries. I literally hate python but it has become de facto language for machine learning, data science etc. Also it does everthing, ruby can. Another problem is that matz did not create the compiled version of this language. Because of these factors, ruby is not popular as it used to be. I despise python so much that I learned julie to use in scientefic computing. I still use ruby of and on but not as it used to be...
Mah man ❤️ what a dedication
Who hates python tho 😏
To tell you a good info,i searched over ML in Ruby in last 1-2 years & found some on internet..
Also ruby can act as a glue code that works well with many thus features..
All we have to do is make a universal simple syntax,fun programming,make it compiled while making trendsetting softwares in it..
The ability to works well with other software,languages is huge plus btw (if we need motivation to do & market so) 😃
24.01.2023 08:08 pm ist
@@azhagurajaallinall126 For ML or data science it is just too late. For glue code, there are far better alternatives like lua. I do not see a future for ruby. Crystal programming language seems promising but brings nothings special to the table other than ruby like syntax and static compilation, and it is another language. I can be better with go or rust, both have unique features and sound base. So really, I pitty on myself for committing to ruby at 2004 after perl. Just bad luck.
What's wrong with Python? The only big issue with it is that it's single threaded but that's basically all interepreted languages.
Ruby has been my favorite languages for the past couple years. Trying to diversify and learn Rust though 🥵
Another awesome video! Had a friend who coded in ruby a long time ago when I first started out, where as I started on PHP & am now building a lot of stuff in react. We built a few projects together, he did the backend, I the front. I'm a full stack, but he didn't really know frontend. Bit of a tangent, anyway.
I can see why he wanted to learn PHP now 😂 I didn't realise the syntax was that bad, and people complain about the loose type system in js. I don't want to imagine how unreadable massive projects would be.
My first programming language!
Ruby on Rails!!!! I hope tha would be the next one! 😬
Never used Ruby, but this looks great.
Next videos on-
1) File Management
And 2) Bluetooth
With javascript
Please
Wow so damn simple as JS developer I loved the simplicity of Ruby.
Well Explained 👌