Re: first time without state - and I'm lost

2020-05-13 Thread Matthew Downey
I totally understand that, I felt the same way first coming to Clojure. For this situation, there are a couple approaches that you could take depending on how hardcore you want to be about keeping things functional & immutable. The most similar thing you could do to your Java code would be keepin

Re: first time without state - and I'm lost

2020-05-13 Thread James Reeves
On Wed, 13 May 2020 at 12:16, Matthew Downey wrote: > The most similar thing you could do to your Java code would be keeping > the token in an atom inside of a connection record. > As a quick note, if you don't need polymorphism, maps should be favoured over records. -- James Reeves booleankno