Metaprogramming and Ruby - or - What the hell's a DSL?

Datum: Samstag, 19. Mai 2007
Zeit: 17:00 - 18:00
Ort: HS 3
Vortragender: Werner (murphee) Schuster

Über den Vortrag

Metaprogramming is the dark art to make that lazy bum of a computer do all the programming for you. Ruby proves to be highly flexible when it comes to molding the language to the problem - this allows to massively reduce redundancy and keep the code DRY. (DRY == Don't Repeat Yourself).

Topics covered:

- Why LISP only _looks_ weird
- How to use Metaprogramming in Ruby
- What the hell's an internal DSL? (hint: no, it's got nothing to do with wires or phone lines).

What you'll take away:

- How to use declarative programming in an imperative programming language.
- Why Ruby makes Metaprogramming easy and possible.
- Style tips for Ruby Domain Specific Languages (DSLs).



Über den Vortragenden

Werner Schuster (murphee) is a programmer with a focus on Java, Eclipse, and languages such as Ruby, Smalltalk and Mathematica. Among other things, he's developed Eclipse plugins for Wolfram Research since 2004, and writes Ruby news for InfoQ ( His blog is @



Zurück zu Programm...