DEV Community

Discussion on: How do you practice programming?

Collapse
 
ben profile image
Ben Halpern

There are some apps devoted to "practicing" programming, but they all kind of fall flat for me. I'd rather be hacking in a real environment. I like the idea of places like exercism.io. They may be the right thing for some, but it has never appealed to me.

So how do I go about "practicing"?

I "spike" on ideas. That is: I create a new branch that I know I will be throwing away, and just try things. I do this to try things out and to practice techniques. Sometimes I wind up running with what I'm working on, depending on its applicability, but usually I stash it. The main point is to gain practice doing things outside my usual flow, but applicable to my current environment, so the dots can be connected.

I think some people treat answering questions on Stack Overflow as "practice", and I think that makes sense. I've never gotten really into this. I find it a bit stressful. But any opportunity to mentor appreciative newbies is an amazing way to "practice".

Practice is might be considered different from "learning" in that you're taking ideas that mostly exist within your brain and are sharpening the tools. So learning something brand new is different from "practice", but tutoring someone in your own craft is "practice".

Anyway, that's my 2 cents.

Collapse
 
spences10 profile image
Scott Spence

I "spike" on ideas.

This! I'm still learning but I like to have real world results, I don't want to sit in front of a text editor for hours with no end result. There needs to be a 'finish line' I guess.

Collapse
 
guitarino profile image
Kirill Shestakov

I have a similar experience with Stack Overflow, in that it's a bit stressful, especially when someone downvotes your answer after you went out of your way to help. But every now and then I will stumble upon a question that will be challenging to tackle, and that's when I find it really fun and engaging.