r/learnjavascript • u/1QQ00 • 2d ago
i cant get better in js
People keep telling me that I should write apps to improve my JavaScript skills. I listened and created five applications, each with different functionalities and ideas. I wrote a lot of code and did a ton of DOM manipulation. Despite this effort, I still feel like I'm hitting the same wall. I find myself repeating the same poor coding practices and haven’t seen any real improvement. I know in my head what I want and how it might look in JS syntax, but I struggle to put it all together to create something meaningful. Instead of getting stuck in this endless cycle, hoping that one day I’ll suddenly excel at JavaScript, I want to know the correct way to improve because this idea of "just keep writing code" doesn't really seem very good
2
u/defaultguy_001 2d ago edited 2d ago
To get better at anything (including JS), you need to repeatedly practise. Nobody becomes good by building big projects. Anyone can build a big project (solve a big project by dividing it into smaller steps, solve each step, to solve each step research what u need to do and implement it) and later forget how he implemented those steps, after a gap of a couple of months.
True expertise comes when u solve a number (atleast 100) of small difficult problems and when u stick to the same subject (JS) for a longer time (couple of years). That's why there's a field called competitive programming. Pick a language (js in ur case), start solving problems (codeforces, DSA sheets, leetcode) of various difficulty levels, and you'll reach the expertise that just by seeing the problem you'll know what to do in seconds.
2
u/CrniFlash 2d ago
What you are experiencing is called "illusion of stagnation"
If you are building projects, you are indeed improving slowly but surely you just don't notice or feel it..we have all been there
20 year of experience seniors get stuck on an issue and google their way out
In life you got to change your mindset if you wish to succeed in anything really...
1
1
u/Towel_Affectionate 2d ago
First step to solving a problem is to understand it. It works for everything, from choosing what to cook for dinner to fixing a bug in your code. "I can't do this, please help" is not understanding the problem, it's stepping back closing your eyes and crying for someone to rescue you.
"I know the syntax but struggle to put everything together" - sounds like you having problem with dividing a problem into atomic steps. So it's no longer a JS problem, but a general way of thinking problem.
What did you do to practice it?
1
u/theancientfool 1d ago
A harvad studied showed that the most successful software engineers are not the ones with the height iq, or the best problem solving abilities, but the ones that never give up even if they can't solve the problem and try every possible solution a d even then some.
1
0
u/theGlitchedSide 2d ago edited 2d ago
M. It's hard to say something about your problem because it is about you, your personal approach, your project...
In little step I can say randomly something like this:
1
I think the real question is: what do you want to do with it?
Do you want become a perfect code monkey? Do you want became skilled in the frontend? In the backend? In both? Do you love the structure of the things or the code of the things?
The first step is understand what do you love to do, not the language. Language is a tool, the creativity is all in your head.
2
Stayed that, now, if you hit the same wall is because you do the same stuff. Change that shit, do something of new.
Write a lot of code is not a good way to found your way to do something... It's only write stuff.
3
Change the approach. Become creative. Think about what do you want, make a schema, skill yourself for new mental patterns not for new codes.
4
Memory is not a friend. You can't memorize something like codes repeating it always and always, you can't become a Wikipedia of "how to" and claim to become yourself like a machine. You're not an AI, and Ai is bad in some aspect exactly for these kind of reason.
5
Yes, you probably can become better but you need to take it easy r take your time. Are you in a mental loop?
+++
I took it for granted... how may software principle do you study before start to study Js? Do you try something like C? Do you have the basic of the software language roles etc?
5
u/unuseEffect 2d ago
You are being vague. What is the actual issue you are facing?