in reply to How do I find the missing curly brace??

Use version control. Then it won't matter if you forget where you made the changes.


The way forward always starts with a minimal test.
  • Comment on Re: How do I find the missing curly brace??

Replies are listed 'Best First'.
Re^2: How do I find the missing curly brace??
by GrandFather (Saint) on Dec 30, 2024 at 21:47 UTC

    Not only does version control let you go back to a previous version, you can diff your current version against an earlier version and see exactly where you made changes. For an error of the OP's sort you can usually then look at a few lines around the change areas and quickly spot the issue.

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
Re^2: How do I find the missing curly brace??
by stevieb (Canon) on Dec 31, 2024 at 09:32 UTC
    Use version control.

    Whether a beginner developer or someone who's inherited someone else's code, learning how to use a VCS should be step 0.