LSD::RELOAD -- Leo Simons' old weblogLeo Simons' old weblog. The new one is at www.leosimons.com. Mostly about java / open source / apache.Natural-language java is often possible- August 26, 2005 It is nice to have compact yet readable code. Here's an example from JMock: mockSubscriber.expects(once()).method("receive").with( eq(message) ); The newer scripting languages (Ruby, Python, Groovy) are famous for readability and conciseness. Java, put mildly, is not. Consider this snippet of python code: print "s - "%sn" % (key,val) for (key,val) in coll.iteritems() if not isinstance(key,UnprocessableObject) and not key == null In nearly-english, it reads...http://www.jroller.com/lsd/entry/natural_language_java_is_often Cool technology- August 8, 2005 Here's a list of technology movements I am very interested in: Peer-to-peer. Centralisation of the web around the main players annoys me. Technology that decreases the need for or advantage of centralisation is a good thing. Seems there are two things at the core here: Messaging Distributed storage Semantic web. The wealth of applications that become possible as data becomes more and more uniformly structured is staggering. Language workbenches. What happens when...http://www.jroller.com/lsd/entry/cool_technology |