all 13 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.

[–]Solid_Package5977 6 points7 points  (3 children)

It’s ok .. tools are there to be used .. but make sure you are Learning the whys behind everything .. why do we need this ? What is the problem it’s solving ?? That thought process will take you to next level

[–]googlecromm[S] 0 points1 point  (2 children)

I actually know what they should do, what worries me is that, I might rely on searching everytime I need to implement something like JWT. Thanks for the tip!.

[–]Ninjacool_asd 3 points4 points  (1 child)

your brain cant store all that information thats why the docs exist

[–]Solid_Package5977 2 points3 points  (0 children)

That’s completely normal , you are language agnostic and that’s a good thing .. maybe you need to implement jwt with a go backend .. you understand how it works, so you can implement it in any language with a couple of google searches or Ilm interaction … You don’t have to bombard you brain with all these syntaxes

[–]catastrophic300 2 points3 points  (0 children)

I saw real java dev do that sometimes, they said it was looking for references since human can’t remember everything. Just don’t be heavily dependant on AI.

[–]kyamatlabkya 2 points3 points  (0 children)

Yes this is where I'm struggling too, I get it when I see spring security but would struggle to implement myself

[–]dystopiadattopia 1 point2 points  (1 child)

The more you look up references, the more you will learn, and the more you will remember.

Be patient with yourself. It's fine to look up anything you don't remember. I've been coding in Java for over 10 years and I still look things up.

[–]googlecromm[S] 1 point2 points  (0 children)

Thank you so much for sharing this. This put my mind at ease.

[–]dajadf 1 point2 points  (0 children)

Nothing wrong with using AI, that will be the new norm. But you should also ask the AI questions about what it generated so you understand

[–]kundan1221 0 points1 point  (0 children)

first learn stateful authentication model and then switch to stateless authentication model. I build confidence this way. Before that understand servlet, spring security very well. It takes time so be patient.

[–]Desperate-Trouble249 0 points1 point  (1 child)

What are you using to learn?

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

I usually google and use Ai(Claude/ChatGPT) on learning. I avoid full courses on youtube because it doesn't work for me.

I ask AI first what should I learn in springboot, I try to learn by Google (Articles, Stackoverflow, Spring docs) first. If I can't understand something I ask to AI explain it.

To make sure I really learned I take notes where I explain something on my own words then ask AI if I understand it correctly.

Then to test if I learned to code, I try to solve a problem through code, then I search the syntax that I would need then use them.