loading...

re: How to Utilize Enum.any?, with a Refactoring Twist! VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Nice post, Noel! I, too, have seen Elixir code that's gone awry with a bunch of nested conditions. It's usually a code smell whether we're operati...
 

Hey David,

Thanks for pointing me to the with expression. I actually wrote a post of my own here. I am by no means an expert, but just writing the post helped me get a better handle on all the possibilities.

A big caveat we have in the project I'm working on is when/if to do the rounding. I ended up rolling my own module to simply add the $ and commas in the correct positions, since ultimately that's all we needed.

Thanks for reaching out, I appreciate the feedback and advice!

 

Ah! Totally missed that! Hard to go back to Ruby after all this jazz, huh?

code of conduct - report abuse