@trq212 I have even wished for a “super plan” or “sub-plan” feature for a higher level broad overview with different sub tasks with their own plans with their own contexts, but they can still refer to the context of the parent plan.
@trq212 It’s hard to articulate beyond vibes but for some tasks I just really like to iterate and refine on what we’re going to do prior to execution. I like to have it summarized beforehand and make changes then rather than after execution.
@trq212@simonsarris I really like @addyosmani ‘s https://t.co/vw7LQmGOBj for example but I was actually hoping to get that kind of stuff further baked into Claude Code as first class features/enhancements of a “planning mode”
@leerob@philippberner Do you have any educational material on using ad hoc visual regression tests / screenshots in agentic tasks with cursor? Sounds powerful for a refactor, I haven’t tried that out yet
@siriusblack9999@Luck30893653@WarrenInTheBuff I don’t see where this is allocating any copies of the array? It is mutating it in-place.
[arr[i], arr[j]] = [arr[j], arr[i]] is just convenient shorthand for swapping two elements of an array.