Metaprogramming

Showing 1-3 of 3 results
EngineeringIcon ChevronBack-end

Creating a Ruby DSL: A Guide to Advanced Metaprogramming

by Máté Solymosi

Write better Ruby code by leveraging its metaprogramming features. In this article, you will learn how to create your own Ruby domain specific language (DSL).

15 minute readContinue Reading
EngineeringIcon ChevronTechnology

Ruby Metaprogramming Is Even Cooler Than It Sounds

by Nikola Todorovic

Ruby metaprogramming, one of the most interesting aspects of Ruby, enables the programming language to achieve an extreme level of expressiveness. It is because of this very feature that many gems, such as RSpec and ActiveRecord, can work the way they do. In this article, Toptal engineer Nikola Todorovic demystifies Ruby metaprogramming using some examples that are relevant to everyday programming and aims to bring it closer to average Ruby developers.

9 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Advanced Java Class Tutorial: A Guide to Class Reloading

by Lê Anh Quân

In Java development, a typical workflow involves restarting the server with every class change, and no one complains about it. But is Java class reloading that difficult to achieve? And could that problem be both challenging and exciting to solve? In this article, I will try to address the problem, help you gain all the benefits of on-the-fly class reloading, and boost your productivity immensely.

12 minute readContinue Reading

Join the Toptal® community.