How to Approach Problem Solving Before Writing Code?

0
10
Asked By TechieExplorer99 On

I've been in development for about three years now, and I'm struggling with writing code from scratch. I heavily rely on language models to help me, but I often feel overwhelmed when tackling exercises on platforms like LeetCode. I'm looking for resources that can guide me on how to think through problems before starting to code. Specifically, I need help with decision-making regarding syntax and structuring solutions on the first try. It feels like I'm missing some foundational understanding, and I'm hoping to find more theoretical resources to help me improve. Any suggestions would be appreciated!

3 Answers

Answered By CodeNerd42 On

I've shared some resources in related discussions that might help you gain clarity on coding and problem-solving. Check out these links for some insights: Getting Better at Coding, How to Become a Better Engineer, and How to Actually Learn Problem-Solving Skills. Also, I advise trying to wean off relying too much on LLMs. It's important to develop your own coding skills without those crutches.

Answered By DevCardWizard On

You can use 3x5 or 4x6 index cards to map out your thoughts and code structure. This helps break down problems into manageable parts before diving into coding. It's a practical method that many find effective!

Answered By SyntaxSleuth On

It sounds like you're looking for some advice on software design! A book I recommend is "Grokking Simplicity." It covers fundamental design principles that could really help you think through your coding problems before jumping into the syntax. It's not just about JavaScript; the concepts are broadly applicable, so it might be useful even if you primarily code in Python.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.