2007-12-11

Perizone project started.

关键字: perizone pokemon
"This is a professional, web-based simulator of the game of Pokemon..." I just started a project named Perizone on google code. My ultimate aim is to bring PMs into reality, and the web based Perizone project would be a very important step. How could it be 'reality'? Err...it's not the time to talk ...
2007-12-09

其实Annotation这样就美了...

关键字: annotation 配置文件
是的,annotation的出现减少了繁杂的配置文件,将那些原本可能是runtimeException的东西扼杀在了编译期。 不过最近在考虑一个小项目的时候发现想要用它来完全代替传统的配置文件还很困难。 首先,它无疑使得代码变得难看,这一点不用多说了; 其次,它不支持多份配置: 因为annotation怎么说也是直接写在代码里的,写在类的定义里的。也就是说一个类也就只能对应一套annotation。那么遇到这种情况:我想初始化同一个类的很多个对象作为prototype或者说单例的共享对象,我要求这些对象虽然是同种类型、拥有同样的行为,但要包含不同的数据。我在项目中遇到这样配置要求的话目前的an ...
pf_miles
搜索本博客
我的相册
B5ff80b4-2ec3-3fc2-84c0-8dd1445b0135-thumb
svP4
共 10 张
存档
最新评论