User loginNavigation |
archivesFunctional libraries for JavaOver the past few months I have collected a few links for Java functional libraries (I haven't actually used any of them yet in any major project). Thought it might interest people here: Towards the best collection traversal interfaceThis has been discussed before on LtU, but I don't think you can add new messages to threads in the "classic" section. I came across this presentation while I was contemplating ways to generalise a SAX-style interface to a parser I was writing and realised that I'd practically written a fold already. The API proposal is excellent and I think would make a good fit for some collections I've been thinking of writing for Tcl (I'd adapt the fold to be able to optionally make use of Tcl's event loop for doing traversals in the background, and use Tcl's break/continue/error exceptions rather than an explicit continue/don't continue indicator in the result). However, I thought I'd just check to see whether there is any new research on this that I should be aware of. Also, I'm struggling somewhat with the Haskell code demonstrating the enumeration->cursor transform without call/cc. Specifically, I'm wondering if it would be possible to translate the example into a language like Tcl which is strict and has relatively weak support for functional programming techniques? I think I could probably get my head around the Haskell enough to try and make a cheap+dirty imperative version, but any ideas on good ways to go about it would be useful. What is considered source code?I have seem many posts about technology that lets you change the behavior of a program with changing the code. They claim that changes to production environments can be made as easily as changing a config file. Many times these config files hold import details like database queries. My question is, what is considered source code? Obviously, anything written in a programming language and compiled is source code. But what about non-compiled code? Are SQL statements considered source code? What if they are in a config file? Should the database structure be considered "source code"? What about the stored procedures it contains? How about a config file that makes minor changes the way the program works? For example, using a different factory class based on a flag. What if the changes are major? For example, one that injects code in the fashion used in Aspect Oriented Programming. This is important because, in the real world, all changes to source code need to be documented and tested. |
Browse archivesActive forum topics |
Recent comments
22 weeks 6 days ago
23 weeks 45 min ago
23 weeks 51 min ago
45 weeks 1 day ago
49 weeks 3 days ago
51 weeks 8 hours ago
51 weeks 8 hours ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago