
/Java
dcaoyuan
这个作者很懒,什么都没留下…
展开
-
No Static Method in Interface, So I Write Code As ...
Java does not support static method in interface. But sometimes, I just want a static method to say: PersistenceManager.getDefault(), where PersistenceManager is going to be an interface. I don't lik...2006-12-18 09:01:15 · 127 阅读 · 0 评论 -
Java + Ruby + Erlang = JRE (Just Running Environment)
I'm recently doing a project under Ruby on Rail. It seems to be a reasonable programmer today, one should take at least > 3 languages. Personally,I like Erlang: lightweight process + message pa...2007-01-29 17:54:21 · 99 阅读 · 0 评论 -
Functinal Style Ruby
After playing with Ruby for weeks, I found Ruby is yet interesting. I try to write my code a bit in the likeness of Erlang, where symbol vs atom, array vs list. And the most important syntax that I l...2007-02-07 19:12:49 · 70 阅读 · 0 评论 -
Some Tips for Upgrading to Rails 1.2.x
Bellow are some issues that I met when upgraded from rails 1.1.6 to 1.2.x:1.About enrivonment.rbMake sure your application configuration behind: Rails::Initializer.run do |config| ...endI m...2007-10-13 14:44:45 · 112 阅读 · 0 评论