Hello!

I just wanted to make a post to share my excitement over discovering programming with Java. For context, my previous knowledge of any programming language barely extended into classes as I always struggled with understanding more than the basic basic things (classes? like what you wear on your face? get and set what? the table?).

I really liked the idea of programming though! So over the years (maybe 15-20?), I tried learning (and failed) with different languages, hoping something would help things click. I’ve tried C#, Basic, JavaScript, HTML/CSS and more but never Java. As to why not, I have no clue.

The reason for Java, now, is that I’ve been playing Minecraft a lot recently (my adhd thanks you Mojang) and I figured, why not give it a try? So I started a free online course covering the basics: variables, methods, objects… A week later, and after a lot of DuckDuckGoing, I now understand not only the basics but classes, IO, exceptions, and so much more! I’m currently wrapping my head around Generics but I’m having a wonderful time with it. After that, who knows :)

Take care and thank you for reading!

  • Timwi@kbin.social
    link
    fedilink
    arrow-up
    11
    ·
    9 months ago

    I applaud your success! I’m curious though: what is it about C# that made it inaccessible compared to Java? The two are extremely similar, so much so that I think you’d have to learn for more than a year before you start noticing any differences.

  • dust_accelerator@discuss.tchncs.de
    link
    fedilink
    arrow-up
    9
    ·
    9 months ago

    Virtual high five! Keep it up, I’m always happy to see someone find joy and a sense of accomplishment in programming things.

    Check out polymorphism and concurrency when you feel you’re solid enough on the other things. Concurrency/threading can be a bit weird to wrap your head around, but essential to build powerful things. (See Reader-/Writer problem to start)

  • pcouy@lemmy.pierre-couy.fr
    link
    fedilink
    arrow-up
    4
    ·
    9 months ago

    Do you mind sharing links to the courses you found ? I’ve been teaching Java to students who almost never wrote code before, and I’m always looking for beginner-friendly resources I can recommend to them.

    • Serinus@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      9 months ago

      If you teach them factories in tyool 2024, I swear I will find you and I will take away every color compiler and runtime you have outside of Radio Shack Level 1 BASIC (TRS 80).

    • SendMeYourTaTas@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Sure! The course that finally worked for me is at Codecademy. I’m only doing the free content but it’s broken down in ways I can understand, with immediate examples after the explanations. It has you create a small program after each short lesson and keeps slowly building up. There are hints for each task as well, which has helped me tremendously as well.

      It reminds me of freeCodeCamp’s courses, but for Java. It’s also not so wordy (no offense to FCC), which is great for keeping my focus on the content.

      I’m currently on the ‘Learn Intermediate Java’ course but I started with the ‘Learn Java’ course.

      https://www.codecademy.com/learn/learn-java

      • pcouy@lemmy.pierre-couy.fr
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        Thanks for the detailed answer about your learning experience and for the link 👍 ! I’ll make sure to check it out.

  • agent_flounder@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    That’s kickass, way to go! Online learning is the way to go. I have a hard time learning stuff directly from a book (ADHD may be why idk). Something about the structure and pace and external motivation of a course does the trick for me. That’s how I learned AngularJS, anyway. All kinds of stuff you can do with Java: Desktop apps, web apps, etc etc.

  • RobertoOberto@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    9 months ago

    Nice work!

    Without formal a formal education program, finding the right subset of a new skill or hobby is probably the best way to hook yourself in so it’s easier to keep at it long enough to really start learning. It sounds like concepts are finally sticking for you because you have an immediate and fun application for them.

    I hope more people continue to find unconventional paths into the field like you did, keep going with it.

  • aluminium@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    Very cool. Thats in a way the beauty of Java. It offers you just enough Tools for Object Oriented Programming to get everything done in some way (maybe not the most elegant or efficient way, but in a way).

  • elxeno@lemm.ee
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    9 months ago

    I never got the point of using classes from tutorials, all those animals/cars/person examples were utterly useless to me, but then i started writing C++/Qt and then Flutter and i think i got it…

  • thepiguy@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    That’s great to hear! Always nice more new programmers. Minecraft modding is great, and it also provides you with a platform with a lot of reach and a lot of really amazing devs willing to help. My most successful project to date has been a simple Minecraft mod. Keep it up and good luck on your modding adventures!