CSC/ECE 517 Spring 2013/ch1 1h jc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
=Uses of Metaprogramming in statically typed languages= | =Uses of Metaprogramming in statically typed languages= | ||
==Pre-generate static data at compile time== | ==Pre-generate static data at compile time== | ||
===Example=== | |||
==Eliminate boiler-plate== | ==Eliminate boiler-plate== | ||
===Example=== | |||
==Abbreviate statements and prevent mistakes== | ==Abbreviate statements and prevent mistakes== | ||
= | ===Example=== | ||
=Metaprogramming in Java= | =Metaprogramming in Java= | ||
==Reflection== | ==Reflection== |