I begun learning programming a few years ago, and it feels like I barely progressed. I know the basics and a bit of advanced python(I have learnt to use a few libraries), html and css plus a tiny bit of c++, but not much outside of those. I enjoy programming and solving problems using code, and it’s an enjoyable hobby of mine. But I feel like all I do is extremely basic and I want to advance but it feels overwhelming seeing the countless of things I could learn.

I wanna know what are ways I can actually apply the things I have learnt/will learn on somewhat worthwhile things, because the main problem right now is that I don’t really have anything to do with the things I’ve learnt other than silly projects that don’t really last more than a day and aren’t that complex. I also want to advance my knowledge as previously stated since I feel like I know too little for the amount of time I’ve been learning to program.

For context I’m still in school but not too far off from higher ed, and I have a decent amount of free time on most days(~2-4 hrs).

Thanks if you reply

  • Sage1918@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    I think what you need is inspiration, there’s so many things to build to improve your skills and broaden your knowledge. Not every project you work on needs to be novel and exciting, even basic things can provide ample complexity to learn new things.

    For example, in c++ you can make a basic image viewer that takes the name of a file and displays it, using some library like SDL (or OpenGl/Vulkan(hard)). This would teach you a lot about file formats, dynamic memory allocation and managing it, graphics pipeline etc.

    For html and css, you can try to recreate some cool websites you see online. I hope this gives an inspiration(best viewed on PC).

    For problem solving there’s always leet code, advent of code and other similar services.

    Here’s more stuff to get started

  • z3rOR0ne@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    It’s a lot of work. I’m in a similar boat. I’ve been self teaching myself how to program in various languages and working as a Fullstack developer at a very small startup.

    While I’ve learned alot, there’s always more to learn and finding direction is a challenge you’ll hit many times over if you stick with it.

    Right now I’m reviewing various Open Source Projects I could contribute to as I know ultimately this will make me a much better developer. There are so many CLI and web development tools I use that I’d like to expand on but will require a marginal jump in my skills. Here are a few examples:

    • Add a feature to the rTorrent client that would allow it to torrent over i2p
    • Expand the amount of tools available within the SolidJS framework ecosystem to be competitive with React’s ecosystem.
    • Create a HTTP server in Rust that has feature parity with Golang’s Caddy
    • Add a feature to AntennaPod akin to YouTube Sponsor block that would allow for user contributed timestamps to facilitate auto skipping of ad mentions in podcast episodes.

    I also am slowly working out plans to learn enough about Rust and browsers to recreate the terminal based browser Links in Rust.

    But these are all just me spitballing. In truth, my skills aren’t quite there yet and the amount of time to get there for each one of these is a lot. So I have to choose wisely and dive in deep on the project’s codebase, probably for at least a year or more to make headway. But this is the mindset I think might help you. Look into the software you use a lot or like the concept of. Figure out how you’d like to improve it or add to it. Reach out to the developers of said software however you can, either make your case for the improvements you want to make or just help out on something they want to do with the software. Learn, listen. Rinse and repeat.

    Hope this helps a bit.

  • slackj_87@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Try to replicate software/apps you use everyday. Not to improve them, but to figure out how they work. In addition to learning how they work, you’ll learn the problems the original devs had to solve, and one way to solve them.

  • 0x01@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Leetcode is a great way to polish your skills. When I was your age, I read programming books and made projects I cared about, it’s turned out very well.

    I’ve helped a few others learn programming, practice and working on any project at all always help more than anything.

    • fool@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      My friends Leetcoded and Codeforced quite a lot. Advent of Code is up there too, with the interesting caveat that Advent of Code also teaches you refactoring (due to the two-part nature of every problem).

      However, when I was younger I had contempt for the whiteboard-problem-esque appearances of these, but everyone is different.

      If you look hard enough there is always a project at medium difficulty – not way too hard, like a huge project you feel won’t give you returns – not way too easy, like some cowsay clone. Ever tried making a blog? You can host for free on most Git pages implementations (codeberg, github, gitlab…).

      As for programming books, consider trying security books like Art of Exploitation – in the same strain, CTFs can use a decent amount of code, and they’re fun in terms of raw problem-solving. I started with the Bandit wargame, which does Linux problem solving from any machine that has SSH.

      I’m not by any means a l33t hax3r but I found them pretty fun in my learning journey.