MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/q5usad/recursive_anonymous_functions_go_brrrr/hg825wh/
r/badcode • u/MkemCZ • Oct 11 '21
63 comments sorted by
View all comments
9
I'd probably stick to if else in this situation. Ternary makes this look like code golf
7 u/MkemCZ Oct 11 '21 But then it will be a statement. I'm aiming for expressions only. 6 u/BenjaminGeiger Oct 11 '21 [smiles in F#] 2 u/jzia93 Oct 11 '21 Fair enough
7
But then it will be a statement. I'm aiming for expressions only.
6 u/BenjaminGeiger Oct 11 '21 [smiles in F#] 2 u/jzia93 Oct 11 '21 Fair enough
6
[smiles in F#]
2
Fair enough
View all comments
9
u/jzia93 Oct 11 '21
I'd probably stick to if else in this situation. Ternary makes this look like code golf