回复 老兵帅客 的帖子2 t* V0 q& _$ x- t
( x' T5 l. i# r# y& A; F
在wikipedia上搜了一下reflection C++。, X2 ] q6 H1 ~$ B; O
Qt/C++ 2 G; ^0 {9 U: X1 d/ {7 a; L# _# D* x0 _# J9 c
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.
N4 j( N6 s @( x' Z2 b" m. m* c澄清一点,Linq和Linq to Sql不是同一个东西。 + R* E- j! `& N3 ^Linq是.NET引入的一种新的语言特性,是一种类似于sql的集合操作语法。Linq是个有意义的尝试,有了它对集合操作的coding效率大大提高了。Linq可以操作所有集合类型(例如System.Collections命名空间下的所有集合类),除了Linq to Sql之外,还有Linq to Xml, Linq to Dataset等等。! u C2 Q9 }4 p9 N$ s# B9 T
& b' C. `7 e# b7 Y0 h: m+ d- v. ?
Linq to Sql是架构在Linq上的一层对数据库访问的支持。对数据库的访问还是通过API来做的。微软停止的是API的开发,Linq的语言特性是保留的。