Articles by Tag #metaprogramming

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Rust Procedural Macros: Unlocking the Power of Custom Code Generation

When you first hear the word "macro," it might conjure images of complex, mysterious code constructs...

Learn More 15 1Oct 5 '24

In defense of `union` and `goto`

Like mentioned in my previous video, memory safety has been an issue since the dawn of programming,...

Learn More 11 1Apr 26

Macros no Flutter/Dart: A Revolução da Metaprogramação que Você Esperava

Macros no Flutter/Dart: A Revolução da Metaprogramação que Você Esperava Fala Devs, No...

Learn More 7 0Jun 24 '24

Building a Mini ORM with Ruby Metaprogramming: A Deep Dive into Active Record Pattern

Code Writes Code Object-Relational Mapping (ORM) frameworks like ActiveRecord are...

Learn More 6 0Mar 25

Building a Custom DSL for RSpec: How I Reduced Testing Boilerplate by 77%

Testing is essential for reliable software, but it can become a significant burden when tests grow...

Learn More 5 0Mar 21

Advanced Python Concepts - Metaprogramming

Imagine writing a Python code that can modify itself or dynamically generate new code based on the...

Learn More 3 0Dec 1 '24

Using meta-programming in Ruby to build a REST API from a JSON file

So I asked ChatGPT, as you do, for stuff I could do with meta-programming in Ruby. If you don't know...

Learn More 1 0Oct 21 '24

Meta Programming - Writing code that generates or modifies other code dynamically

Imagine you are working on a project that requires logging function calls across multiple modules....

Learn More 1 1Mar 18

DSL in Ruby with Metaprogramming

Metaprogramming in Ruby allows developers to write programs that can modify themselves at runtime....

Learn More 0 0Jul 4 '24