Книга: Metaprogramming Ruby 2
Назад: About You
Дальше: Ghost Towns and Marketplaces

Part 1

Metaprogramming Ruby

Chapter 1

The M Word

Metaprogramming is writing code that writes code.

We’ll get to a more precise definition soon, but this one will do for now. What do I mean by “code that writes code,” and how is that useful in your daily work? Before I answer those questions, let’s take a step back and look at programming languages themselves.

Назад: About You
Дальше: Ghost Towns and Marketplaces