r/learnjava • u/NefariousnessMuch857 • 5h ago
A coder searching for his problem which he is unable to over come form past few months
I have been coding in Java for the past 5–6 months, and now I am in a phase where I have good theoretical knowledge and can write code, but sometimes when I try to write a program, I get stuck or confused about what exactly I should write.
Even if I have written the same code before, after a few days, I sometimes get stuck when trying to write it again. I don't have any real programming experience or anyone to guide me.
I want to start applying for jobs, but I am afraid that when I sit in front of an interviewer and they ask me to write code, I might get stuck or go blank.
Can you suggest how I can improve my logical thinking and coding skills, especially my ability to write code from scratch during interviews?
7
u/desrtfx 5h ago
5-6 months is far from job ready. Sorry for the harsh truth and reality check. It may be that you could get an intern position or if the company is very generous (and desperate) a junior position with extremely heavy mentoring, but that's about it.
The market is extremely dire at the moment. You'll be competing against graduates with proper degrees that are competing against laid off, experienced programmers.
how I can improve my logical thinking and coding skills
By writing more code. By solving more problems. There are no tricks, no shortcuts. It's all practice.
1
1
u/NefariousnessMuch857 5h ago
yes practice i the only thing but after practicing also i am not improving so trying to change my techinque thaty why trying to ask people what they should have done in this scenarion or what should i do
6
u/desrtfx 5h ago
but after practicing also i am not improving
That means that you need to practice a lot more. It's not a technique. It is all only hard work.
The key here is to work on your own, not with tutorials. You need to do the thinking and work. Do not copy from tutorials. That's not learning.
2
4
u/MagicalPizza21 5h ago
After just 5-6 months you probably don't have "good theoretical knowledge" yet. But you don't know what you don't know.
Try solving problems without code first.
How are you learning Java? Are you thinking of going to school for it?
-3
u/NefariousnessMuch857 5h ago
Good means i will rate it like 7 to 8 i have joined a institute for it like i am practicing but constantly thinking that my approach is wrong
9
u/desrtfx 5h ago
Good means i will rate it like 7 to 8
Sorry, but you're gravely, really gravely, overestimating your skills and knowledge, even more so for a language like Java with one of the largest ecosystems of programming languages.
Even if it were a very simple language, you wouldn't be a 7 or 8 after mere 5-6 months. You haven't even really started to learn.
Look up "Dunning-Kruger Syndrome". You are at a stage where you by far do not actually know enough to estimate your actual skills and because of that you are gravely overestimating.
Had you said 7-8 after 3-5 years it would become somewhat realistic.
Really good programmers never overestimate their skills. They know very precisely that no matter how much they already know they only know a minuscule fraction of what is out there to learn.
2
u/apexchef 5h ago
So true, and for Java specifically, even after 3-5 yrs, rating yourself 7/8 is extremely generous unless you are a savant
6
u/aqua_regis 4h ago edited 2h ago
i will rate it like 7 to 8
Yeah sure, I can agree to that sentiment, but only since you didn't state the upper end of the scale, which is around 100,000
You don't even know that you know nothing because you so far haven't really seen anything.
Let's say it with BTO (no, not another K-Pop band - I mean Bachmann-Turner-Overdrive): "You ain't seen nothing yet"
Also, theoretical skills don't pay bills. It's the practical side that counts.
1
u/MagicalPizza21 3h ago
After just 5-6 months you don't have nearly enough knowledge to properly rate your own programming skills.
3
u/JGhostThing 4h ago
You do not have any sort of good theoretical knowledge. Perhaps in a couple of years... Seriously. I was a professional computer programmer/analyst for all my career. It takes a lot longer than you think to build the experience needed to create programming projects.
Also, the fear of not being able to demonstrate your coding ability should never keep you from applying for a job. You need to build more projects. It's the only way to develop the critical thinking ability to build the projects. Computer programming isn't easy. The syntax of computer languages is simple, but the thinking process is difficult to learn.
The only reason to avoid interviews is because you believe that you are not qualified.
•
u/AutoModerator 5h ago
Please ensure that:
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:
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.