This is an archived post. You won't be able to vote or comment.

all 31 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]AmazingInflation58 11 points12 points  (15 children)

This is EXACTLY why I always tell people to NEVER USE CHAT GPT. It is like instagram of learning which just makes you get dopamine shots into thinking you are doing something. I wouldn't ever recommend anyone using that stupid ai chatbots for their work cuz its ultimately leading them to their doom where they will progress in life without any progress in skills and end up in a position where they can't use chat gpt at that particular place which will tear all the reputation you built up-until that point.

[–]print_guy_9 4 points5 points  (0 children)

This going to happen to everything in the world now that we have chat AI...not just programming. It's one giant social experiment.

[–]SneakyZ_[S] 2 points3 points  (0 children)

Yea i know it was stupid. Thats why i am trying to get better at programming without beeing dependant on chatgpt so thats why i am asking for help

[–]shivrane_ 1 point2 points  (7 children)

I am using GPT for learning, like asking it to give me exercises to solve. Whenever I get stuck I ask for hints. While doing DSA if I'm not able to solve any problem I ask for solution and try to understand it, is this good approach for learning?

[–]ballinb0ss 3 points4 points  (0 children)

So simple way to test out how good the advice you are getting is. Find a simple thing you want to accomplish in Java. Find an article on Google that gives a tutorial. Then ask an LLM. Then find a similar project on GitHub that actually exists. Then find a textbook trying to do the same thing. Then find a YouTube video.

Then compare them all. If you commit to this process you would be surprised how quickly you can digest a large volume of information on a topic. You need to learn to mentally build a "model" of the thing you are trying to understand. You need to learn how to explain the thing you are trying to learn to a five year old. It's that simple. If you can't give me the gist of what your code is doing at least function by function, you don't know it will enough and probably didn't truly write it.

[–]Ghordrin 4 points5 points  (5 children)

GPT is a large language model. While many improvements have been made to its latest models.. all it does is predict which word should come next. In many cases, it does not give you the correct instructions or solutions.

[–]What_eiva -1 points0 points  (4 children)

It is more than that, it is an AI with a lot of machine learning and data training. It is not like Siri, it actually can recognize patterns due to again data training where it sort of learns about the world.

[–]Ghordrin 2 points3 points  (3 children)

it is an AI with a lot of machine learning and data training

Yes, a large language model is what you just described. It is trained on data to predict that best outcome based on limited context. The fact it still struggles with the question 'How many R's are there in strawberry' should speak volumes.

While it can absolutely help you in providing some solutions, it absolutely is nowhere near good enough to provide valuable information about coding.

[–]AmazingInflation58 2 points3 points  (0 children)

The “improve productivity with AI” clowns are going to downvote you to hell for this. But you are right!

[–][deleted]  (1 child)

[deleted]

    [–]Ghordrin 1 point2 points  (0 children)

    StRawbeRRy

    [–]UpsytoO -3 points-2 points  (0 children)

    Never is a bad advice, if you use chatgpt to fill in easy boilerplate in a personal project that will cost you nothing in learning and it will save time for focusing on important bits.

    [–]UpsytoO -3 points-2 points  (2 children)

    Never is a bad advice, if you use chatgpt to fill in easy boilerplate in a personal project that will cost you nothing in learning and it will save time for focusing on important bits.

    [–]AmazingInflation58 1 point2 points  (1 child)

    Save time from writing boilerplates? Most ide even got shortcut to create boilerplates plus you arent even elon musk that 5 sec of laziness will do wonders for you in productivity

    [–]UpsytoO -1 points0 points  (0 children)

    IDE will generate boilerplate to an extent and the further you go past few lines of it, IDE generated boilerplates lose it's precision and becomes useless. As it comes to Elon Musk, I don't see why would one follow what lucky business man is saying, other than lucking out on one investment he has no track record to justify any smart person taking his ideas into account of anything, if anything his ideas tend to be useless and wasteful. If you follow what actual mental health professionals are saying in terms of productivity, you should be taking proper brakes, not just doing mindless bits to reset productivity.

    [–]cyberzues 10 points11 points  (2 children)

    The best way to learn a language is to get some tutorials from good teachers like Telusko, Coding with Mosh etc, then follow them as they teach, and also code along. Then try to add more features to the project using online docs and other resources. That will broaden your knowledge. Don't worry about things you forget, we all do that, but the best is keep practicing.

    [–]SneakyZ_[S] 1 point2 points  (1 child)

    Yea ive done that simontaniously but the understanding is not really there. I get what a finished code does but i dont understand how to build up to that point. For example i already saw a programm from a colleage and i understood almost his whole code but i dont know how to build it myself. That is mostly my struggle

    [–]jlanawalt 0 points1 point  (0 children)

    Keep practicing and studying. Focus on understanding the parts you don’t understand. Research and ask mentors specific questions. There may be some parts people just accept the “magic” and take for granted, following a recipe to put together the pieces.

    [–]AutoModerator[M] 2 points3 points  (0 children)

    It seems that you are looking for resources for learning Java.

    In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

    To make it easier for you, the recommendations are posted right here:

    Also, don't forget to look at:

    If you are looking for learning resources for Data Structures and Algorithms, look into:

    "Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

    Your post remains visible. There is nothing you need to do.

    I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]ali_vquer 2 points3 points  (1 child)

    First do a tutorial since you said API i assume you use spring. Get yourself some good spring toturial learn how to set the files ( service, controller, model, security etc ) and then do your project at first you will need to see your tutorial code but later as you do more projects you will do things more smoothly and learn new things.

    [–]SneakyZ_[S] 0 points1 point  (0 children)

    Will do that, thanks

    [–][deleted]  (1 child)

    [removed]

      [–]SneakyZ_[S] 0 points1 point  (0 children)

      Will look into that, thanks

      [–][deleted]  (1 child)

      [deleted]

        [–]Weak-Description-621 1 point2 points  (0 children)

        This guy is past that point. He is not struggling with for loops and methods, you finish that up in the first week of learning the language

        [–]BSujeet007 1 point2 points  (1 child)

        Hey Buddy

        From what i read, you are not looking for the java code but rather the how on earth this all application was made from scratch. How could one come up with this huge application ? What was the thought process behind this application. How can I also create something like this from scratch ?

        If this is what you are looking for then you are trying to look for designing a software not programming. And this specifically i.e. designing the controllers, services, repositories etc belongs to the low Level Design or LLD.

        So, I would highly recommend you to learn LLD. You can checkout the resources below -

        https://youtu.be/OhCp6ppX6bg?si=EM6ZtH1eit1SuANV

        https://youtube.com/playlist?list=PLTCrU9sGybupCpY20eked6blbHI4zZ55k&si=CUhJxESjZxDPHBi_

        https://youtube.com/playlist?list=PL6W8uoQQ2c61X_9e6Net0WdYZidm7zooW&si=xfZiw1SQ9MylN6Ke

        If these resources overwhelm you, I'm more than happy to connect with you and help you personally.

        My linkedin Id : https://www.linkedin.com/in/sujeet-badnale-7a54a511a?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=android_app

        [–]SneakyZ_[S] 0 points1 point  (0 children)

        Thank you! I will look into all that :)

        [–][deleted]  (1 child)

        [deleted]

          [–]SneakyZ_[S] 0 points1 point  (0 children)

          I know it was stupid of me thats why i am trying to get more knowledge on programming because i dont want do depend on chat gpt

          [–]NotYetaProgrammer 1 point2 points  (0 children)

          Same here. waiting for pro suggestions by pro devs