bot icon indicating copy to clipboard operation
bot copied to clipboard

feat: tag loop-remove

Open GriceTurrble opened this issue 1 year ago • 2 comments

Details the gotcha of removing items from a collection while iterating that collection inside a for loop.

This should add tags for !loop-remove, !loop-add, and !loop-modify, all pointing to the same embed.

GriceTurrble avatar Apr 16 '24 15:04 GriceTurrble

I made a gif for this as discussed on discord, you ofc have my full permission to use it. it has a similar quality/fps to the return-gif one (actually slightly bigger).

DefaultTemplate_ManimCE_v0 18 0 post0

vivax3794 avatar Apr 20 '24 18:04 vivax3794

I made a gif for this as discussed on discord, you ofc have my full permission to use it. it has a similar quality/fps to the return-gif one (actually slightly bigger).

That's a really cool GIF. One thing is that I think it's better to show on the right what's being printed, to clarify that the result is "2\n4\n". Currently it looks like it ends too soon before I can understand what you're showing.

mbaruh avatar Jul 05 '24 13:07 mbaruh

Tag looks great, lets merge this. If we want to add a gif we can do so in a later PR.

ChrisLovering avatar Nov 23 '24 19:11 ChrisLovering