Genuine question. - /g/ (#105727261) [Archived: 739 hours ago]

Anonymous
6/27/2025, 11:51:10 PM No.105727261
27408
27408
md5: ed714bd77f1ed15a51e4760ceffd3b9a🔍
I'm a college dropout and I'm currently learning JS at an acquaintances company. I feel like I've grasped HTML and CSS pretty easily, and I can manage my way through it, but since starting on JS using a YouTube course and asking friendly co-workers there, I haven't felt like I've improved too much in this language. I struggle a lot with finding what loops to use in what context. For example I spent 2 hours fixing setTimeout() bug where it wasn't clearing the previous timer.
The point of this post is to ask anons if this is normal to not feel any improvement or if there's any solutions for this problem. It's also been about 1 and a half weeks since starting on JS. Thanks in advance!
Replies: >>105728246 >>105728474 >>105728813 >>105729279
Anonymous
6/28/2025, 1:46:47 AM No.105728246
>>105727261 (OP)
Your problem is Anime. Eject this from your life and you WILL improve.
Replies: >>105728969
Anonymous
6/28/2025, 2:14:33 AM No.105728474
>>105727261 (OP)
Less 4chan, more programming. It takes time to digest programming concepts. The best way is to use them in nontrivial context. Either implementing your own thing or solving programming exercises/challenges.
Passive learning by watching youtube videos or reading books only works for kids. After a certain age, you need to learn things actively. This is obviously more demanding, and uncomfortable to your brain.
Anonymous
6/28/2025, 2:54:37 AM No.105728813
>>105727261 (OP)
setTimeout logic can become tricky, so a beginner spending a couple hours on a bug sounds fine to me.
Anonymous
6/28/2025, 3:14:01 AM No.105728969
1665535399331374
1665535399331374
md5: 814df7a6da92d9953c87c24abff3083e🔍
>>105728246
wrong
Anonymous
6/28/2025, 3:55:01 AM No.105729279
>>105727261 (OP)
Loops are a code smell anyway, just use recursion.