Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+16 votes
asked in CSC211_Winter2018 by (1 point)

2 Answers

+7 votes

Not sure if this is what you meant, but if you know what you're looking for and don't want to comb through 500 lines of code, Ctrl+f (on Windows) will bring up the Find/Replace menu. Use it to find certain keywords, replace one string with another, etc.

answered by (1 point)
+3

I already knew that but thanks!

I was wondering more about finding logic errors and making sure to sift through everything and being thorough.

+6 votes

The most important thing is "modularity" -- breaking up large projects into a lot of smaller pieces, each of which can be tested separately. One important example of this is procedural decomposition, where you break up long methods into more small methods (with parameters and return values), that you can test separately.

(There are also some techniques, like "unit testing", that help to make testing the small pieces faster and easier...)

answered by (508 points)
+1

Thank you!

...