Hi I’m learning toddle by doing some projects I did when I was studying intro to python. Is this the best way to write this formula? Or is there another method?
Yes that’s what I’m asking, the formula is working. It’s just looks a bit overwhelming compared to the few lines I had to write in python. I think Toddle also lets you write custom code so would what be a better way to do it?
It's not particular to toddle, but rather a way to put together a page before displaying it. SSR is good and not every builder does it so you'll want to take advantage of it when possible
Lucas G
1 year ago
In this case, your AND nodes could be their own formula for example, where the 2nd numbers that the variable is being compared to can be inputs for the formula
Then you'd have 1 node there instead of the small AND branch