Metaprogramming

Showing 1-4 of 4 results

Share

Code Writing Code: An Introduction to the Theory and Practice of Modern Metaprogramming

With a tour that includes Julia, Rust, and more, dive into the fascinating world of metaprogramming and get a taste for its history, common forms (such as macros), importance, and potential future.

16 minute readContinue Reading
Will Beddow

Will Beddow

Creating a Ruby DSL: A Guide to Advanced Metaprogramming

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
Máté Solymosi

Máté Solymosi

Ruby Metaprogramming Is Even Cooler Than It Sounds

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
Nikola Todorovic

Nikola Todorovic

Advanced Java Class Tutorial: A Guide to Class Reloading

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
Lê Anh Quân

Lê Anh Quân

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.