Re: Comments on first function

2013-11-18 Thread Leonardo Borges
Hi, Good inital effort. Only a couple of things to comment on: - You're not closing the stream after you're done with it This is a very common bug and for that reason clojure provides a macro - with-open - that takes care of closing the resource for you. - As you're using a string as the accumu

Comments on first function

2013-11-17 Thread jskdlfj999
Hi everyone, I'm new to Clojure, and after a lot of reading I wrote a couple of functions. They are working and doing what they are supposed to, but I was wondering if the way I wrote the functions was optimal and if I made any conceptual errors which advanced programmers avoid. Basically: Are