r/womenwhocode • u/byteofpixle • Sep 23 '26
gettingstarted Java Programming
Hello everyone! I’m a compsci freshman who just got their first taste of computer science and it’s java. I’m struggling so much with applying concepts and it’s making me think I’m not cut out for this which is really disheartening. Does anyone have tips or resources to understand java better?
23
Upvotes
6
u/Wonderful_Bag_6604 Sep 24 '26
Girly I cried trying to understand linked lists and now im a software engineer at one of the big banks and am getting my masters! You will learn and get through this ♥️♥️♥️
6
u/BasicMidnight7854 Sep 24 '26
In my opinion, Java is a diabolical language to teach in an intro course. Java isn't necessarily an objectively challenging language, but as a first language, it prematurely introduces concepts and questions to the point where nothing makes sense.
When doing my masters I took a class for fun on CS education and we talked a lot about learning curves and how it filters out beginners, so I don't think I'm shitting out my mouth here.
Java prematurely forces in complex abstractions, like OOP, far before beginners have sufficient prerequisites (like boolean logic, variables, data types, conditionals, loops, functions). This is like asking a kid to solve calculus problems in elementary school; in order to do calculus, they must understand arithmetic, algebra, geometry, and all that fun stuff that takes time to learn.
Java fails at basic instructional design because it has zero progressive disclosure. Countless decades of research (cognitive load theory) prove human working memory can only process a few new pieces of information at once, which Java fails to do. This is because Java, as oppose to other frequently-taught first languages (Python, C), features both a high level of abstraction and high verbosity. This does nothing beyond overload and confuse the learning mind (cognitive load theory), and the content of the prose itself makes little to no sense without a substantial understanding of fundamental computing concepts, making Java a very unfit first language.
There also is a strong discriminatory aspect to your class' teaching approach (backed by countless educational studies). Classes like these heavily privlege prior background, and as we know, the prior background in tech gender ratio is heavily skewed. This is such a well known phenomenon that many universities now separate freshman based on experience, to not throw beginners into the deep end and hence, chipping away at closing the skewed ratios in tech. And it is proven to work which is great, just a shame that your school hasn't seemed to adopt this approach.
As a woman who has experienced and seen this happen time and time again, I promise that struggling through Java in your intro course is not a reflection of your intelligence, capability, or belonging in the field. Your intro class fall into the old, implicitly discrimatory educational model that overloads your working memory and rewards prior exposure. I'm sorry that this response was so long and I wasn't able to provide you any advice, but I wanted to let you know that you can do this, and you definitely aren't alone.
5
u/AgrarianAAB Sep 26 '26
With all due respect to your instructors: Java is a horrible first language.
I mean, there's so much you need to know to even understand Hello World.
Java forces an object oriented model on everything, so there's a
public classin which you have the main function.But it's not just
int main()like C or something, where all explanation that takes is simply:mainis the entry point, it returns an integer signalling success (0)/failure (nonzero). It'spublic static void main(String[] args).Yeah, there's only two ways to do this as a 'first taste of programming'.
Tweedledum and Tweedledee. Bad and worse. Not sure which is which.
2
u/meemoo_9 Sep 23 '26
What are you struggling with? Also it's normal to find learning programming difficult. It took me a year to nail down the fundamental ideas of object oriented programming.
5
u/ninhaomah Sep 23 '26
Took me 1 month to understand Hello World in Java if that makes you feel better.
1
u/gerlstar Sep 23 '26
Did you do any programing prior to Java?
1
u/pdgiddie Sep 23 '26
Just checking -- have you asked Claude or OpenAI to help you understand the bits you're finding tricky? The LLMs are great at explaining things patiently at the level you need.
2
u/HappygilmoreL Sep 26 '26
My first two semesters of computer science were difficult (2nd semester was the most difficult), then everything got easier. I don’t remember, I used a lot of StackOverflow at the time.
2
u/PuppetOnions Sep 29 '26
Hey girl! I’m also a compsci freshman! I find it a bit odd they threw you straight into Java, my first scripting and programming course used a pseudocode that made it easier to learn the basic concepts. I don’t have any Java classes until much further into my degree. Even so, Objects and Classes were still a little difficult to wrap my head around for some reason and I know I still have a lot to learn! Just know you’re not alone in this, never be afraid to ask for help or ask lots of questions even if they feel stupid. It was nice being able to read everyone’s responses here as someone also just starting out. I wish you good luck!
1
u/JustSomeDude500 Sep 23 '26
My condolences.
On a serious note though, you need to take it slow. Take a step back, try to work on a couple simple projects involving topics you struggle with. Maybe try a simpler language for a little bit.
I'm a man tho.
0
u/GoldsteinEmmanuel Sep 23 '26
What if you're actually not cut out for this? Will you flunk out, switch majors, or drop out? Do you have a Plan B?
Because if you're on square 1 and already having second thoughts, you should know it doesn't get easier from there.
5
u/[deleted] Sep 25 '26
[removed] — view removed comment
0
u/[deleted] Sep 23 '26
[removed] — view removed comment