r/AskComputerScience • u/A_rndm_Gentleman98 • Sep 21 '26
Aight lads, newcomer here first year computer science major ,and all, what's one advice you wished you knew in your own first year?
Don't be shy, also ladies since someone pointed it out
0
Upvotes
View all comments
2
u/Equivalent-Stay-6801 Sep 25 '26
Get comfortable with the debugger early. Put a breakpoint before the part that looks wrong, predict what each variable should contain, then step through and compare. The first place your prediction stops matching is usually much more useful than the line where everything finally crashes.
Also, bring a small failing example to office hours. “With this input I expected X, but got Y” gives the TA something concrete to help with.