r/learnprogramming • • 1d ago

Computer sci tips pls

Currently i’m learning DSA (Divide and conquer, stack and queue, Binary search, Greedy….etc) and Back End development (Express.js, node.js……etc) and I need some tips or maybe some resources that could help me.

Also i feel like computer science isn’t for me. I mean it’s normal to feel that way but i’m still trying to find ways to enjoy CS

5 Upvotes

13 comments sorted by

2

u/Greedy_Ad_7658 1d ago

On enjoying it: DSA in isolation is the driest part of CS for most people, and it's easy to burn out on it. It helps to tie it to something you can see working.

Since you're already learning Express, build one small API and let it pull in the topics you're studying. A URL shortener is a good one: a hash map for lookups, then a database once it works, then a rate limiter (a queue or sliding window) so you meet a real use of stacks and queues. A job queue that processes tasks in the background is another. Binary search and greedy ideas show up naturally once you add search, pagination or scheduling.

Practical split that works for many beginners: a few days a week on one or two DSA problems, written by hand first and then coded, and the rest of the time on the project. Keep the project small enough to finish. Finishing something is what makes it feel less like homework.

If you still don't enjoy it after trying that, it may be that you like a specific side of CS (web, games, data, systems) more than the general theory, so it's worth sampling a couple before deciding.

1

u/Fun-Canary6272 1d ago

Ah okay thank you! :)

1

u/No-Professional-9618 1d ago

You can try to use various Deitel & Deitel C++ or Java How to program textbooks. I used these textbooks in college.

2

u/Fun-Canary6272 1d ago

Ahh okay! How about for javascript?

1

u/No-Professional-9618 1d ago

You can try to create various games using Javascript.

I remember buying a copy of the Dummies Guide to Learning Javascript after I graduated high school.

But you can also use the Deitel & Deitel Internet & World Wide Web Programming book. I used these books on my own though, not for a class.

1

u/Correct_Rain_9438 1d ago

For the Express and Node part, MDN's Learn web development section has a free Express tutorial series that builds up from what Node and Express are. For the DSA side, VisuAlgo animates data structures and algorithms step by step, which can make the ideas stick better than reading alone.

1

u/Fun-Canary6272 1d ago

Got it! thank you

1

u/Due-Result7928 1d ago

Looking for a psychologist ?

1

u/OAMNG 1d ago

I mean... not all dentists love teeth. It's still good, analytical work that can be of service to others. Unless there is something else you would much rather be doing for work, I would say keep up the studying and focus more on doing an excellent job and deeply learning each concept, rather then stressing out about whether it's fun. A lot of things worth doing aren't fun, and learning has a kind of "friction" to it, like lifting weights or running, that isn't fun even though the result is that it feels good to be in good shape.

1

u/cyrixlord 1d ago edited 1d ago

you need to enjoy what you do. If you don't then you're going to have a hard time. people who become IT engineers because of the money will not be happy. Find your Niche and then find how you will get there. good luck. maybe you just need more time if you really enjoy the field but are getting the firehose. It will take some time to learn this new world. as for coding if all you are doing are the exercises just to 'get by' you aren't really going to make it. You need to be curious about what you are doing and tinker with the code at every turn to learn how it behaves. It is your private laboratory to help you answer questions about how things work. No teacher can give you this curiosity spark. You have to have it from within. Just like with happiness. it comes from within.

Ways you can enjoy it is to do your own fun projects on the side. Find excuses for using the stuff you are learning into something you really REALLLY want to do like that indie game, or that image processor or that way to keep all your photos and metadata in your own database.

0

u/aanzeijar 1d ago

I mean it’s normal to feel that way

Hmm, no it isn't really. I really like it. Comp-sci is also much more than just DSA. What else have you done, and what's your background?

1

u/Fun-Canary6272 1d ago

year 1 student, Already did Front end development (html, css, tailwind…) , Basic javascript, Linux, Ubuntu

1

u/aanzeijar 1d ago

Remember that comp-sci is not "master in software development". In fact, usually there will be very little software development in your studies. DSA is just an undergrad course that introduces you to all the stuff people found in the last 80 years of computing.

The more interesting stuff later on will be databases, chip design, machine learning, numerics, cryptography, robotics, distributed computing, graphics, signal processing, cross overs with psychology and whatever your university has in store. If you just want to code, comp-sci won't be that.