Wow, idk if I should be honored or ashamed. Lots of great discussion/things for me to think about! Thank you for that . I made a HN account just for this, want to make a few things clear. - I'm new to Clojure, but did a…
Haha, the number of folks who have told me this! Yeah, probably a byproduct of the era I learned in. I just reach for the macro first, just what it's programmed into my head as
The example is meant to be largely trivial. What if there were 50 cases I wanted to render. On another note, I'd suggest ternaries with explicit null returns. Just need to get burned by it once to have it engrained!…
Bingo, IIFEs are and affront to god and nature. Ones in JSX arguably even more so. However, it's really the only way you can colocate all your display code to one part of a function.
> I’d be very interested in a follow up blogpost after you’ve been at Reify for a year or two. Me too!
Wow, idk if I should be honored or ashamed. Lots of great discussion/things for me to think about! Thank you for that . I made a HN account just for this, want to make a few things clear. - I'm new to Clojure, but did a…
Haha, the number of folks who have told me this! Yeah, probably a byproduct of the era I learned in. I just reach for the macro first, just what it's programmed into my head as
The example is meant to be largely trivial. What if there were 50 cases I wanted to render. On another note, I'd suggest ternaries with explicit null returns. Just need to get burned by it once to have it engrained!…
Bingo, IIFEs are and affront to god and nature. Ones in JSX arguably even more so. However, it's really the only way you can colocate all your display code to one part of a function.
> I’d be very interested in a follow up blogpost after you’ve been at Reify for a year or two. Me too!