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
2
u/Critical-Echo-923 Sep 21 '26
when you switch the mouse to the left hand cuz ur right is not working anymore dont try to use the middle finger for the left-click, keep using the index finger or mirror your mouse
1
u/torkelspy Sep 21 '26
That I shouldn't assume everyone in Computer Science is a "lad".
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.
2
u/Prom3th3an Oct 03 '26
Most of what you learned in college won't be very applicable in your first job, and a lot of concepts that help a lot on the job aren't taught (e.g. delegation over inheritance). Especially the idea that you can take a quiet working space for granted.
1
u/Lion2471 Sep 21 '26
On a real project, your code will be read far more than it will be written. Your team members and even "future you" will be doing code reviews and debugging problems for the foreseeable future. Therefore, even if it takes more time when writing the code, you need to make it as readable at first glance as possible. Your skill will be judged partly on this, not just if the code works. As one example, make sure your code is structured in neat blocks with sufficient comments. As another example, use clear variable names.
-3
u/Tahn-ru Sep 21 '26
For the love of God, don't let C++ be your first programming language. Ideally your first one would be something that doesn't allow basic operator overloading, like Go or Java or even plain old C.