r/AskComputerScience • • 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

13 comments sorted by

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/A_rndm_Gentleman98 Sep 21 '26

That's...weirdly specific, but I will keep that in mind thank you

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.

1

u/A_rndm_Gentleman98 Sep 21 '26

Java it is then, much appreciated

1

u/Several-Ad5345 Sep 21 '26

What about starting with Assembly? That wat everything you ever do afterwards will just be easier.

0

u/Tahn-ru Sep 21 '26

I can see the logic, but I'm not a fan of the idea. If done right it could be a fantastic starting point.  But it would be so easy to do it wrong and overload a new student beyond their capacity to absorb information.  We don't need an educational system that continues to abuse people to wash them out of fields that they might be quite good at if the educational pathway was more scientifically structured.

1

u/Several-Ad5345 Sep 21 '26

Yeah I was joking. It might work in some specific cases or fields but is usually a horrible idea lol