回复 老兵帅客 的帖子9 \" W/ e" R1 q9 m4 C. b( H, A
* s* ?* H9 |: k1 o$ U& a) u( |7 e
在wikipedia上搜了一下reflection C++。 9 d/ |- J% `$ C7 }" w. R
Qt/C++" W8 [+ W+ u: ^4 `' _0 A
) F* [, r/ _2 P: }Qt framework extends C++ with its meta-language and provides reflection ability of member/method reference and query by name for Qt objects with QMetaObject class, which contains meta-information about the Qt objects.
Objective-C is a reflective, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.
回复 老兵帅客 的帖子3 c6 t f1 h1 i' g8 N0 T
! ?1 Q2 I. o! |6 D% x
澄清一点,Linq和Linq to Sql不是同一个东西。 ) |6 [, ^7 g; `- ]- BLinq是.NET引入的一种新的语言特性,是一种类似于sql的集合操作语法。Linq是个有意义的尝试,有了它对集合操作的coding效率大大提高了。Linq可以操作所有集合类型(例如System.Collections命名空间下的所有集合类),除了Linq to Sql之外,还有Linq to Xml, Linq to Dataset等等。 U' y$ A3 S& R" ]8 y5 a: M3 x: v5 m1 ?9 H
Linq to Sql是架构在Linq上的一层对数据库访问的支持。对数据库的访问还是通过API来做的。微软停止的是API的开发,Linq的语言特性是保留的。