r/learnjava • • Aug 11 '21

Studying for Java

How do you guys study for Java ?

I am taking notes and coding at the same time with Codecademy. I keep finding my self not able to really put what I learn to use yet. I am having a hard time to learn Java because of not taking the info the right way.

Any tips for beginners and how to study ?

42 Upvotes

23 comments sorted by

View all comments

7

u/[deleted] Aug 11 '21

I have to disagree with people that say, "just do build stuff". That is not how everyone learns.

I do coding in intervals after doing some study sessions.

First concepts of programming and basic syntax. I find videos and books with different perspective until I go "aha! I get it!" I compile my own "wiki" from handwritten notes. I do not type notes on computer directly, because by hand I focus more and after that, I pass them to the computer the next day to see if I understood. And after that, I practice the code, copy code and play with it, break it, twitch it, etc. But first I need to know what I am doing and why.

You can "do stuff" and that is fine, but you should not only do that, since you won't really learn why things work the way they do or why they are used.

My current schedule is 3 - 4 hours Monday - Thursday for study (lectures, reading, organizing notes) and 1 hour every evening actually coding on my small practice projects, trying to implement what I learned.

2

u/[deleted] Aug 11 '21 edited Aug 11 '21

Maybe it's because I have ADHD, but I find the process you are describing to be incredibly boring.

I need to see things work, taking a bunch of notes without actually seeing it do something makes it completely irrelevant to me and hence boring, which prevents me from learning.

I usually do intervals, like I might read theory for an hour at which point I start losing interest, so I have to try it in a real project. I don't feel like I have to know everything to start doing something. Once I start doing something, I'll get a better feel for it. Then, when I feel like I am doing something I don't understand, once I get something working, I'll go back to reading theory (which is now more relevant to me), so I learn it "properly". Then I return to the code and update it with my better understanding (refactor it), or just rewrite it (treating the first one as a "spike" that I can throw away).

What I love about IT in general, is that code is essentially executable notes. Which is why IT works great for my ADHD brain. I studied medicine before I got into IT, and it was too much theory and not enough practical application for me.

2

u/[deleted] Aug 11 '21

Yes, that sounds indeed like the style I hear most people advising. Maybe like you say because of ADHD. Though I do not think of it as an impediment, but a different way the brain works, and as such this works perfect for you and many others.

But I am the contrary, I get lost if I don't understand why are we using a certain code. I can make it work, but I do not feel I am "learning" until I know why. Like... I can copy and paste and make it work, but it is not fulfilling. I feel like I can just do it, but not explain it. Or maybe it is just me expecting it to be harder than it is.

I do, however, dislike wasting my time learning old methods while I can spend time learning what is actually being used now. For this, I do try to find modern code to imitate and learn from, similar to how we learn to speak with modern slang.

What I love about IT in general, is that code is essentially executable notes. Which is why IT works great for my ADHD brain.

Hahaha funny, because indeed what I like about IT is understanding why and how things work, and I guess I apply the same to learning programming.

3

u/[deleted] Aug 11 '21

Though I do not think of it as an impediment, but a different way the brain works, and as such this works perfect for you and many others.

So is Schizophrenia or Bipolar. The reason why ADHD is an impediment is that, as a disorder of the executive function of the prefrontal cortex, there are significant negative side effects in other areas of life (anything requiring organization or goal orientation). ADHD brains do not produce enough dopamine in the prefrontal cortex, which is why stimulant medications really help (and also why tons of caffeine helps me focus and calms me down, while too much caffeine makes neurotypical people jittery and unable to function).

I can copy and paste and make it work, but it is not fulfilling.

Never copy and paste. The infamous Zed Shaw of "Learn C the Hard Way" promoted a method of teaching where he tells students to write the code he tells them to write, but tells his students never to copy and paste. When you type, there is a region of the brain that is activated that asks "why am I doing this?"

what I like about IT is understanding why and how things work

Same here, but I don't get that from reading books, but tearing things apart. Some people need to read documentation to understand how things work, before they will ever attempt something. I rarely read documentation, I prefer experimentation. Then, attaching the debugger, I can see things work step by step so I can understand why it works.

Which might also why I love working on mechanical things, like cars.

1

u/[deleted] Aug 11 '21

😂 That's probably why I don't like cars. But agree with you 100%. Didn't know that was the cause of ADHD. Thought it was about too much stimulus and how it cope with processing information. Always interesting to see how everyone works different!

2

u/[deleted] Aug 11 '21

Thought it was about too much stimulus and how it cope with processing information

That's autism. Autism and ADHD are often confused. This guy gave a good presentation on the subject.

1

u/GhostCode2 Aug 11 '21

Thank you so much ! How do you take notes ? I found my self having trouble taking notes. It is like they are just all over place and not able to go back and reread it because they are bad notes. Any tips ?

2

u/[deleted] Aug 11 '21

Bullet points, try to keep to bullet points and you won't have issues. Just paraphrasing what you study. As short as possible 😊 I also use a lot of diagrams, but that's only once I have notes to see if I understand.