AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Differences Between for Loops and Indicators in DEX
The core language is based around for loops and ultimately it decomposes to scalar compute. But if you look through like the built-in library, there is map, there is reduced, there is, I don't know, fold. So it's less about always expressing your DEX program in terms of loops and indices. It's more you have two options. You can do it with the array style, if you will, whatever that looks like in DEX. Or if you find that cumbersome or inconvenient, you can switch over back to sort of for loops and indices as well.