Closed enitrat closed 1 month ago
I am applying to this issue via OnlyDust platform.
Hello, my name is Benjamin and I am a software engineer with expertise in blockchain development. I have experience working with cairo and I have written smart contracts for different use cases in cairo.
This should take approximately 2 to 3 days.
I am applying to this issue via OnlyDust platform.
My name is Fabricio Robles, I work as a full stack dev since 3 years ago. Also I have been involved in web3 where I have contributed successfully to projects like dojo engine, Concrete and this project as well creating some testings. I have experience working with Rust, Cairo, Go, Python and Javascript, I am sure that experience would help me delivering a quality solution for this project
I estimate this would take me from 1 - 2 days
For loops being relatively recent, we're not using them everywhere we should in the codebase.
if you do a global search for
while i
, you will encounter several instances like:where we instanciate a loop counter and increase it manually just to loop through a collection.
Instead, we could simply write:
If the loop requires tracking of the internal index, or is not iterating on a collection but on a range of values, like
we can use a
for
loop with therange
operator:If the instance you encounter cannot be refactored to use a
for
loop, keep it as it currently is.