News for hackers. Stuff that matters.
Re:Things Java Programmers can learn from Clojure by timbaldridge on Thursday March 07, 2013 @11:23AM (#5338445)
I would go a step farther and say that OpenDoc should be in a separate interface from SaveDoc.
Re:Things Java Programmers can learn from Clojure by mseebach on Thursday March 07, 2013 @11:31AM (#5338500)
That's what I meant - should have said interface_s_, I see now :)

Actually, opening a document is probably not even a good abstraction. DocProvider is better: You can have FileSystemDocProvider and BlankDocProvider - the latter can't meaningfully be said to "open" a document, but it's interacted with in the same way.