随笔分类 -  Metaprogramming

writing code that writes code
摘要:最近在看这本书,比较实用。抽点时间把公开的部分内容简单的翻译了一下,下文是序部分。书的具体地址为:http://www.amazon.cn/Metaprogramming-in-NET-Hazzard-Kevin/dp/1617290262/ref=sr_1_1?ie=UTF8&qid=1374625885&sr=8-1&keywords=Metaprogramming++in+.NET序对元编程这个问题,我从三个方面的经验进行阐述:作为一个计算机科学家,业务开发员,以及。NET框架的作者。从计算机科学的角度来看,从语言的角度来看,我们的行业已经基本停滞,而且是非常长的 阅读全文
posted @ 2013-07-24 08:42 2012 阅读(1122) 评论(0) 推荐(0) 编辑
摘要:MOPThese dynamic behaviors are governed by the metaobject protocol ( MOP) that each of these languages implements in their runtime. The metaobject protocol of a language defines the semantics of the extensibility of the language artifacts. Take a look at the accompanying callout for a gentle introdu 阅读全文
posted @ 2012-08-05 09:14 2012 阅读(751) 评论(0) 推荐(0) 编辑
摘要:概念Metaprogrammingiswritingcodethatwritescode.Metaprogrammingiswritingcodethatmanipulateslanguageconstructsatruntime.可以编写代码的代码MetaprogrammingRubyThisparticularbrandofmetaprogrammingimpliesthatyouuseaprogramtogenerateorotherwisemanipulateasecond,distinctprogram—andthenyourunthesecondprogram.Afteryouru 阅读全文
posted @ 2012-08-03 08:17 2012 阅读(522) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示