← Back to Ruby Course | Chapter 1: Setup & Basics | Lesson 1 of 7

Ruby क्या है?

Ruby एक friendly programming language है जो पढ़ने में pleasant होने के लिए design की गई, लगभग English में लिखने जैसी। यह websites और हर तरह के tools बनाने के लिए इस्तेमाल होती है।

Ruby क्या है?

Ruby एक dynamic, object-oriented programming language है जो Japan में Yukihiro "Matz" Matsumoto ने बनाई, पहली बार 1995 में release हुई, और explicitly programmer happiness और readable, elegant syntax के आसपास design की गई।

Ruby सबसे ज़्यादा Ruby on Rails के पीछे वाली language की तरह जानी जाती है, एक web framework जो GitHub, Shopify, और Airbnb जैसे products को power करता है, लेकिन यह general scripting और automation के लिए भी widely इस्तेमाल होती है। इसकी clean, expressive syntax इसे object-oriented programming सीखने के लिए एक popular पहली language बनाती है।

Note: GitHub खुद originally Ruby on Rails से built था -- Ruby सीखना आपको industry के सबसे beginner-friendly फिर भी production-proven web frameworks में से एक का direct path देता है।

उदाहरण: What is Ruby?

markup
puts "Hello, World!"
Related Topics
{# common_mistakes/chapter_summary/browser_support: on Hindi pages the view already swaps in the hi_ translation fields (or blanks these out if untranslated), so this renders correctly for both languages without a lang_code check here. #}
आम गलतियां
  1. यह सोचना कि Ruby सिर्फ Rails के लिए है, जब Ruby एक general-purpose language है और Rails इस पर built एक framework है।
  2. यह उम्मीद करना कि Ruby को type declarations या semicolons चाहिए, जब यह dynamically typed है और lines ; के बिना खत्म होती हैं।
  3. Java की तरह System.out.println से code लिखना, जब Ruby puts से print करता है।
🔒

Chapter Quiz — Complete all 7 topics to unlock

0/7 topics done

Complete these topics first:

Login to run this code

C/C++/Java/PHP execution requires a free account. Your code is saved — you'll land right back in the editor after logging in.