CSC/ECE 517 Fall 2010/ch4 4g km: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 16: Line 16:


=What’s Next?=
=What’s Next?=
Next article on static-analysis tools for Ruby


=References=
=References=

Revision as of 11:58, 17 October 2010

Metaprogramming in dynamically typed languages


Introduction

Previous article on the Command pattern in static and dynamic languages

Metaprogramming is the ability for a computer program to manipulate itself or other programs at the time of compilation as opposed to performing this manipulations at runtime. This tends to allow for greater flexibility for a program to handle new situations.

Example of Metaprogramming

Dynamic Programming Languages

http://en.wikipedia.org/wiki/Dynamic_programming_language

Conclusion

What’s Next?

Next article on static-analysis tools for Ruby

References

  1. Metaprogramming on Wikipedia
  2. Dynamic Programming Languages on Wikipedia