r/learnjava • • Jun 17 '19

It's time to buckle down and learn some programming.

I'd say for the past 5 years I've tried to learn programming off and on. Ever since I was a freshman in highschool, I've wanted to learn coding. I mean, I've always been a computer geek, mostly with the software side of things, since messing with hardware still scares the crap out of me (yeah yeah, I know, it's LEGOS for adults. But shits expensive, yo). Programming, to me at least, was always that next level goal. The one skill that would truly awaken me in some form or another.

The problem? Consistency and ADHD. You really don't want to know how many fucking times I cracked open some beginners programming book, sat down at my computer, completed a few chapters, and by the next day I would completely forget all about that ...Until about a week/month goes by and I want to start again. But hey, maybe python didn't do it and everyone says learning C is like learning Latin and every language afterwards is easier. Fuck it, load up some C tutorials. I mean, why spend time learning to program when I can spend that time picking the best text editor? Or spend 30 minutes sorting through color schemes? Oh yeah, Solarized Dark looks awesome on all this non existent code I have. Oh, and every new book I start gets less and less attention, since the basics I've already read from other books. Great.

So today, I'm changing all that. I'm gonna set some reminders and try and get a schedule going. I've already got an IDE, a PDF copy of Head First Java, and some ADHD meds. Why Java, you might be wondering? Well, I think my local community college starts with that, and if I go in for CompSci like I've been planning to do since Highschool...At least I'll have a bit of a head start in one way or another. Also, I've started and forgotten so many Python books...I just can't do it. Yes, the language is easy, but for me...it might be too easy, if that makes any since. I always get a few chapters in (you know, what a variable is, what strings are, etc) and just lose interest since it's the same stuff I've read countless times...

If any of you guys have similar problems to me, if you can offer any advice on what I'm going through or a different subreddit to post this tangent in, it would be appreciated. Oh, and thanks for reading.

TL;DR - Bad ADHD, wanted to be a programmer since Highschool, always get off track and start over with different books/languages.

EDIT: Notes update

47 Upvotes

41 comments sorted by

14

u/doodooz7 Jun 17 '19

You can do it

4

u/Tonker_ Jun 17 '19

That's more like it! Thanks for the motivation. I'm in the process of making some sticky notes for stuff like source file, classes, methods, etc. Gonna be a fun night.

12

u/TesLake Jun 17 '19

I had a similar problem like you, wanted to program since like 14 years old but always got on and off. About a year ago, when I was 21, I felt bad how good I would be in programming if i had stick with it for those 7 years (time really really flies). Anyway I have been programming now consistenly for about a year, I have learned so much and I love creating programs that solve real world problems.

Here are some tips that in my experience helped me stick to programming and learn more efficiently:

1- Dont be too strict with your studying schedule. I found it really hard to try and complete a daily goal of 4 hours of reading coding books. I found its best to set a 1 chapter a day goal. Then if you have energy to continue just keep practicing that day, but you will not be stressed that you didnt complete your goal. I have read some psychological studies on why this is better but dont want to make this comment longer.

2-Find how you learn better. Do you focus more when reading coding books, or watching videos? Personally I focus more with books and I find they explain stuff more in-depth. But if you feel like videos teach you better than just stick to videos.

3-Practice what you learn. Its really tempting to just jump from subject to subject trying to learn as fast as possible, this leads to forgetting basic stuff. Trust me, practice what you are learning until it feels natural, this is probably the most important advice.

4- Finish what you start. If you set a goal of finishing a tutorial or a book, finish it. Maybe halfway through you dont feel like learning that particular library or language or whatever. If you start it, you finish it, even if its really boring, this will only make you better in every way.

5- Its not always fun. Sometimes is boring sometimes is frustrating, but it pays off. Dont feel discouraged just because one day or one week you are not having any fun coding. Stick to your 1 chapter a day goal (or whatever goal you set).

6- Dont feel bad about the days you didnt practice. We are humans we are not perfect.

7- Make your own side-projects, you dont really learn until you make your own stuff, if you are only following guides, even if you understand everything you will not really get the grasp of it. You have to use what you learn by yourself (or with a team if you have one).

8- Be patient and understand that to become good at this it takes time(years).

9- Practice clean coding, even in small scripts.

Thats all I can tell that has really helped me learning in my experience, hope it helps as it really helped me.

3

u/Tonker_ Jun 17 '19

Thank you for the advice! The one chapter a day thing sounds great, and will be key. When I tried to learn in the past, I always tended to go like 4 chapters deep within a few hours. Seemed good at the time, but I never really tried to get it down to memory. By the next day or week, I'd forgot the most basic of functions and ideas.

I'm spending much more time going slowly, writing down definitions of even basic things, and really taking it all in. I haven't done much practicing (yet) but there's a lot to take it a first. A lot more than Python, that's for damn sure haha.

I'll try and keep you guys updated along the way. Oh, and do you have any recommendations for things to do after I finish Head First Java? I'm thinking of writing a web scraper or super basic IRC client (I swear...If anybody says "Python would be better for that" I might explode).

2

u/TesLake Jun 17 '19

You are welcome :) Cant really recommend what you can read next since Java is not the main language I use and dont know any books.

I forgot to also mention that studying in the morning usually works best, atleast for me.

Good luck! Hope you become great someday. Keep focused.

1

u/thiccchicken4256 Jun 17 '19

"node.js would be better for that"

1

u/[deleted] Jun 19 '19

Your comment was really insightful. What books would you recommend to start?

3

u/titratecode Jun 17 '19

Just note that comp sci won’t really teach you how to program. You’ll learn how to print stuff out to the terminal and that’s it from CS education. You’re on the right track in learning from external resources, just keep that up and you will make it.

3

u/Tonker_ Jun 17 '19

Yeah, I sorta get that. CS is all about the theory of computation as I understand it. I've always wanted to go into it regardless of the programming knowledge I might get out of it though. I was diagnosed with Autism Spectrum Disorder at an early age (thank fuck I'm high functioning) and spent most of my life delving into computer related things, so it might be stereotypical of me to say this but...I think I'll fit right in! Any upper hand I could get, such as already knowing some programming, would be beneficial I think.

1

u/my5cent Jun 17 '19

Dont think so much about the psy side of it. People grow out of it when they socialize more. Society expects everyone to be social butterfly's on birth..

0

u/[deleted] Jun 17 '19

[deleted]

1

u/Tonker_ Jun 17 '19

I've only heard of Software Engineering as a job title up until recently. I'm not sure if any schools around me offer it, but I'll look into it in the future. Yeah, I don't think I'll burn out in the traditional sense -- I mean, I keep coming back to programming for some reason, despite past attempts. I do plan on sticking to this though! I'm taking notes in my journal right now, writing down what a source file/class/method is and some example code to go with it. I didn't do this when I attempted Python numerous times, mainly because I just assumed I could memorize all the functions I came across each chapter, speeding through it. Then the next day...nothing! Slow and steady wins the race.

....And there's a lot of stuff I need to understand in Java. So far, it seems most of the "programming" side of things happen inside the method. Which happens inside the class...inside the source file...which if I'm reading correctly a source can only contain one class, but a class can contain many statements.

Very interesting if you ask me. :)

2

u/Rinfaf Jun 17 '19

A single source file (.java file) can have multiple classes although each class gets compiled to its own .class file.

Also don't use an IDE like eclipse or ItelliJ as you're learning. Use a a simple text editor like sublime/atom. Helps in the learning process.

1

u/Tonker_ Jun 17 '19

Gotcha, that makes sense...

1

u/Worldsazoo Jun 17 '19

A computer science major might not be the best but a CS major with a focus in programming is actually really beneficial for some.

2

u/[deleted] Jun 17 '19

If you can concentrate long enough to write that post, you can learn a language.

1

u/Tonker_ Jun 17 '19

Haha very true! Although I can vent and write a post pretty quickly, a programming language cannot be learned in that time frame, as my many past attempts have shown me. At least, not the first language anyway. I've read that as you get better at this stuff, it gets easier to learn more and more languages. I don't know how you guys do it though. So many different function/method/class names across each language!

Anyway, it's back to writing down definitions for me. See my other comments for some of my progress.

1

u/[deleted] Jun 17 '19

I also recommend the book "Deep Work" by Cal Newport to help reduce distractions on focus on what you want to accomplish.

1

u/Tonker_ Jun 17 '19

I'll look into it. For now, I'm finishing this chapter. I don't want to distract myself with a book about not distracting myself, ya know?

1

u/Tonker_ Jun 17 '19

Here's an update. Just some notes I've taken on the stuff I've read so far, taking my time with this stuff this time around. Wish me luck tomorrow! I kinda hope this bot works here...

RemindMe! 18 Hours

1

u/RemindMeBot Jun 17 '19

I will be messaging you on 2019-06-17 22:29:31 UTC to remind you of this link.

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


FAQsCustomYour RemindersFeedbackCodeBrowser Extensions

0

u/[deleted] Jun 17 '19

[removed] — view removed comment

1

u/Tonker_ Jun 17 '19

... What? I've done the examples and lessons along with the notes. Writing things down helps motivate me and improve my memory retention. Try it some time :)

1

u/shinefull Jun 18 '19

That's great, keep going.

I relate to your problem with actually pushing through the starting barriers. Because you show your notes I feel like I should judge them. Then I think they should be more precise, which comes later on when you actually grasp the theory through practice. And I don't want you to get stuck again.

Please keep going.

1

u/Tonker_ Jun 18 '19

Thanks, and yeah, the notes could use some work. It's a 3 dollar dotted book from hobby lobby lol. Not really great for notes, but it's something. I'm doing the second chapter today and the book is jumping straight to explaining OOP...It's gonna be tough...

1

u/shinefull Jun 18 '19

Oh yeah serious business time! It will make sense in the end

1

u/my5cent Jun 17 '19

Freecodecamp and some udemy 10 dollar sales can help vs reading. Reading is quite slow. Video can convey more than what words can.

1

u/Tonker_ Jun 17 '19

Maybe, but I've learned videos go a little too fast for me. I'll look into it though! I haven't heard of freecodecamp, I'll do some research on it later and see :)

1

u/my5cent Jun 17 '19

Videos have range of speed. .5 normal 1.25, 1.5 to 2x.

1

u/[deleted] Jun 17 '19

If you want some things to practice, here's my freshman comp sci course

https://ccse.kennesaw.edu/fye/1321_labs_assignments.php

The slides give you examples and the assignments are to practice

1

u/Tonker_ Jun 17 '19

Nice. I'll look into it.

2

u/[deleted] Jun 17 '19

Don't beat yourself up, remembering syntax is hard. What makes it stick in your brain is repetition. You've got to continue doing, and not get discouraged by not remembering the next day.

2

u/Wubdafuk Jun 17 '19

Hi, I also "suffer" from AD(H)D. I've tried a couple of courses but the only one who did the trick for me was the MOOC course. I just finished it and I'll be applying for jobs soon! If you go the MOOC route, I highly suggest using the NetBeans IDE. Good luck and enjoy!

1

u/desrtfx Jun 17 '19

Get on board with the MOOC listed in the sidebar -> Free Tutorials. It is textual and offers plenty practical exercises.

It is work at your own pace and the graded exercises should help with staying motivated. The textual nature is less distracting than videos.

Good luck!

1

u/Viksinn Jun 17 '19

This sounds exactly like my situation. I hope it goes well for you, I'd be keen to see your progress and help if I can

1

u/Worldsazoo Jun 17 '19 edited Jun 17 '19

I’m still a beginner too but I just want to say - Java is sooo much more than the basics you speak of (declaring variables etc). You won’t be bored. I’m half way through an accelerated Intro Java summer course and my heads spinning. I’m still in the game but programs that are simple (like getting a date from the user and making sure it’s valid including leap year etc) are taking me hours to figure out. We got a long way to go.

It’s great when it works, though. If you know your basics and understand syntax well just go ahead to the next thing because there’s a lot to learn. And take that class you mentioned... I’m a very disorganized person and the formal education is working well for me as opposed to self taught.

-1

u/[deleted] Jun 17 '19

[removed] — view removed comment

4

u/Tonker_ Jun 17 '19

Hey, that's not very nice :(

Already set some reminders on my phone. Gonna try and go for a few chapters a day, and maybe take some physical notes. Java seems to have a lot more stuff thrown into the mix at the beginning.

So yeah, might be good to hold onto your money for this one! I will be a failure no longer!

-3

u/[deleted] Jun 17 '19

[removed] — view removed comment

3

u/Tonker_ Jun 17 '19

Honestly? Yeah. Pretty much. I had a lot going on most other times I attempted it, whether it be school/work/moving out or any number of excuses. Now...Well, I have a lot more free time, I'm not stoned 24/7, and I'm in a stable living situation. No more excuses. No more bullshit.

1

u/desrtfx Jun 17 '19

That's not the way to talk here.

Removed