The Artima Developer Community
Sponsored Link

Java Buzz Forum
QOTD: Mock Objects

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bill de hÓra

Posts: 1137
Nickname: dehora
Registered: May, 2003

Bill de hÓra is a technical architect with Propylon
QOTD: Mock Objects Posted: Dec 2, 2008 4:09 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Bill de hÓra.
Original Post: QOTD: Mock Objects
Feed Title: Bill de hÓra
Feed URL: http://www.dehora.net/journal/atom.xml
Feed Description: FD85 1117 1888 1681 7689 B5DF E696 885C 20D8 21F8
Latest Java Buzz Posts
Latest Java Buzz Posts by Bill de hÓra
Latest Posts From Bill de hÓra

Advertisement

Rich Hickey: "Your mock object is a joke; that object is mocking you. For needing it."

Good overview of Clojure. And probably the best introduction to a Lisp I've seen since Practical Common Lisp.

The upside of Clojure seem to be

  • It will run without having to make siginficant decisions on platforms (see the early parts of PCL as to why this matters). Via the JVM.
  • It has libraries targetted for programmers doing useful work. Via Java, but very un-CLOS like.
  • it's focused on concurrency/immutability in the language, as per Erlang. This only gets more important as we get sliced to death through having more and more cores. No locks.

The downside is that it's a Lisp. As a syntax, Lisp is a fail, which if you understand what Lisp syntax provides is a (the) great irony of programming. When you see how difficult it is for JRuby/Jython or even Groovy to break the syntax stranglehold Algol/C based languages have on the industry, you despair. Arguably, it loses out to those more syntactically appealing languages, who have a hard enough time knocking down the door. 

But I could see Clojure wangling it's way into Java shops. Like Groovy, it's syntax is lovely for things like DSLs, configuration or deployment, which are not at all well dealt with today in Java (notable exceptions aside). It should also be (and I'm guessing here) a good language for data pipelining or mapred style work. Incidentally Hickey says he doesn't need invokedynamic, and as I understand it, that translates to will run fast.

 

Read: QOTD: Mock Objects

Topic: Tofurkey Previous Topic   Next Topic Topic: Get Huge Discount on 50+ Mac Apps, Hurry!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use