DEV Community

[Discussion] Give the challenges you have faced as a programmer

N Cee Dee on July 01, 2022

Drop your challenges and weakness... and the struggles you made to overcome it, because it's a general thing for a human being to have a mindset of...
Collapse
 
timkovik profile image
timkovik

before writing code, spend time researching the problem and ready-made solutions. This will greatly simplify the task and improve the quality of its execution.

Collapse
 
pyrsmk profile image
Aurélien Delogu

By "ready-made solutions" I assume you don't talk about copy pasting StackOverflow, isn't it? Ahah

Collapse
 
timkovik profile image
timkovik

No, sure, I'm talk about searching function/method/class/etc. in current project sources firstly, then check packages on ~npm.

Thread Thread
 
nceedee profile image
N Cee Dee

okay

Collapse
 
nceedee profile image
N Cee Dee

you are absolutely right,Thanks for that.

Collapse
 
pyrsmk profile image
Aurélien Delogu

The best advice I can give is this : never think you are incapable of doing a task. You just need to learn how to do it, and the best way to learn it is to do your own researches. And asking for help is also important, of course, but ONLY when you're really stuck. If you apply this one rule, you'll grow at blazing fast speed.

Collapse
 
nceedee profile image
N Cee Dee

wow, that's absolutely motivating.

Collapse
 
armousness profile image
Sean Williams

Nontrivial projects take a long time to finish. Like hundreds to thousands of hours. I think there are two ways out of the despair you may be feeling about that: learn to love the process, and/or, celebrate the small victories. Every bit of useful functionality you add onto a project is an accomplishment, and should be treated as such. And taxing though it may be, programming is fun, especially if you find a language you like.

Collapse
 
nceedee profile image
N Cee Dee

wow, thanks for that.

Collapse
 
armousness profile image
Sean Williams

Because I think your enjoyment of programming has a lot to do with which language you're using—and I'm not saying that one language is better than another, but that people like different things—you should learn a bunch of languages and see what works for you. At minimum you should learn one object-oriented language (C#, C++, Java), one functional language (F#, Scala, Lisp, Haskell), and one dynamically typed language (Python, JavaScript, Lua). The languages I listed are just examples, you could also look at Smalltalk, or OCaml, or Ruby...

At some point everyone owes it to themselves to look at Rust, but it's a very complicated language so it should be put off.

Thread Thread
 
nceedee profile image
N Cee Dee

Thanks for the info