Udemy

Ruby Metaprogramming - Complete Course

立即報名
  • 1,812 名學生
  • 更新於 6/2017
4.6
(355 個評分)
CTgoodjobs 嚴選優質課程,為職場人士提升競爭力。透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期
全年招生
課程級別
學習模式
修業期
4 小時 55 分鐘
教學語言
英語
授課導師
Said Abduvaliev
評分
4.6
(355 個評分)
7次瀏覽

課程簡介

Ruby Metaprogramming - Complete Course

Learn metaprogramming! Start writing elegant Ruby & Rails code and understanding all the magic behind Ruby on Rails.

Just like many other ruby developers, I wanted to learn metaprogramming to make the leap from Ruby novice to Ruby pro. But, approaching the subject felt a bit intimidating. I tried to learn metaprogramming several times and every time I tried, all available materials were referring to even more complicated and less known concepts such as: eigenclasses, singleton classes, ruby object model, classes being objects themselves, etc.

So, I spent several months reading about all these concepts and synthesised all available material. At the end, it just "clicked"! It turned out to be very simple! The problem was that there was no single resource where all this concepts were put together. So, I decided to produce this corse. I hope it will save your time and you will find it useful.

This video course will teach you ruby metaprogramming by introducing small, simple and less known ruby insights in each video. And once you learn them, metaprogramming will just start to make sense.

At the end of the course, you will:

  • Be better Ruby developer who can write elegant code using Ruby's metaprogramming features.
  • Make your test code more concise by writing test that dynamically generate code that covers all test cases.
  • Be able to understand and explain the magic behind the code/syntax in all popular gems.
  • Better understand the Ruby language.
  • and of course write your own DSL's for your business domain (just like rspec, rake, etc.).

Course overview

Metaprogramming is such an integral part of the Ruby language, that in order to learn it, you need to understand the specific language features of Ruby. This features are less known and not covered in books. But, once you are introduced to them, metaprogramming starts to make sense. That's why, the course will start by introducing several key Ruby language insights. After this section, you will understand why is it that some method or variable is not available in some scope and available in others or how scope changes in your code and more.

In the second section of the course, we will cover all the SDK methods that are involved in metaprogramming. Along the way, we will go through several examples that demystifies magic behind most popular gem code as well.

In the last section of the course, we will put everything we've learnt into practice and will build our own rspec, domain specific language and some of the rails most popular magical methods.

課程章節

  • 4 個章節
  • 39 堂課
  • 第 1 章 Intoduction
  • 第 2 章 Ruby Insights
  • 第 3 章 Metaprogrammer's Toolkit
  • 第 4 章 Practice and Excersises

課程內容

  • Understand the magic behind Ruby on Rails.
  • Write better, more elegant & efficient Ruby code and tests.
  • Join the "Ruby Guru" pride.
  • Write own DSL, gems, etc.
  • Understand most of the code in popular gems.

此課程所涵蓋的技能


評價

  • A
    Anna XWP
    4.0

    Just started this course and so far so good. Quizzes are awesome - I wish there were more of them. One thing that’s really confusing is the usage of MyClass, foo, and bar variables. It adds unnecessary cognitive load to an already non-trivial topic. I don’t know about you, but hearing “My Class class class” gets pretty overwhelming.

  • S
    Salvador Pasquier
    5.0

    The quizes are helpful to learn the topic better.

  • P
    Prasad Surase
    5.0

    This is a fantastic course to learn and understand Ruby Metaprogramming in details.

  • J
    Jovica Susa
    5.0

    This course is an excellent resource for anyone looking to master Ruby metaprogramming. The content is thorough and covers all aspects of the topic in great detail. The examples and the practice exercises are well thought and quite helpful as well. I recommend this course for anyone wanting to deepen their understanding of Ruby!

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策使用條款才繼續瀏覽。

我已閱讀及同意