Re: Which is the most idiomatic way to go

2013-03-26 Thread Ryan
Ah! Got what you mean, thanks a lot :) On Tuesday, March 26, 2013 3:52:39 AM UTC+2, Herwig Hochleitner wrote: 2013/3/25 Ryan areka...@gmail.com javascript: Thanks for your input Herwig. When talking to a database, there might already be record and list-of-records interface, for step 2.

Re: Which is the most idiomatic way to go

2013-03-25 Thread Ryan
out which is the most idiomatic way to go in a project I am doing. I've noticed the following pattern in my code and I started wondering if there is a more clojurish approach to go with it. For the shake of readability and simplicity, I will provide a pseudo-code that represents the actual

Re: Which is the most idiomatic way to go

2013-03-25 Thread Herwig Hochleitner
you implement batching, switch to another DB, etc. without touching the data processing code. So I would trust your instincts on this one. :) --Leif On Sunday, March 24, 2013 8:24:53 AM UTC-4, Ryan wrote: Hello all, I am trying to figure out which is the most idiomatic way to go

Re: Which is the most idiomatic way to go

2013-03-25 Thread Ryan
lets you implement batching, switch to another DB, etc. without touching the data processing code. So I would trust your instincts on this one. :) --Leif On Sunday, March 24, 2013 8:24:53 AM UTC-4, Ryan wrote: Hello all, I am trying to figure out which is the most idiomatic way to go

Re: Which is the most idiomatic way to go

2013-03-25 Thread Herwig Hochleitner
2013/3/25 Ryan arekand...@gmail.com Thanks for your input Herwig. When talking to a database, there might already be record and list-of-records interface, for step 2. I didn't fully understand what you meant with that. Can you please explain? For example clojure.java.jdbc/insert! [1]

Which is the most idiomatic way to go

2013-03-24 Thread Ryan
Hello all, I am trying to figure out which is the most idiomatic way to go in a project I am doing. I've noticed the following pattern in my code and I started wondering if there is a more clojurish approach to go with it. For the shake of readability and simplicity, I will provide a pseudo

Re: Which is the most idiomatic way to go

2013-03-24 Thread Leif
instincts on this one. :) --Leif On Sunday, March 24, 2013 8:24:53 AM UTC-4, Ryan wrote: Hello all, I am trying to figure out which is the most idiomatic way to go in a project I am doing. I've noticed the following pattern in my code and I started wondering if there is a more clojurish