Live data from Hacker News

Ask HN: How to rediscover the joy of programming?

news.ycombinator.com

231–240 of 337 posts

Re: Ask HN: How to rediscover the joy of programming?

#231
I became a manager. This didn't, in and of itself, make me rediscover the joy of programming. But it did free up the mental energy I needed to program outside of work, for fun.

As a 9-5 programmer, I often found myself too mentally exhausted to do any coding outside of work. This meant that over the years, programming became just a job, and nothing more.

But once I changed career tracks, I found that I had the energy to write code after work. It actually felt like taking a break. I went from "I need to get away from the computer and go talk to people" to "I need to get away from people and just write code". And when I was writing code on my own terms, without any project managers or other people telling me what to do, it became fun again.

I'm not necessarily saying you should move into management too. I'm lucky that I enjoy the people side of the job, unlike a lot of programmers. But I think that if you put yourself in the same situation as you were in when you first discovered the joy of programming, you'll be able to rediscover it.

Re: Ask HN: How to rediscover the joy of programming?

#232
post #136

Great write-up on that subject is in the first chapter of "Mythical Man-Month". Here is small excerpt. Why is programming fun? What delights may its practitioner expect as his reward? First is the sheer joy of making things. As the child delights in his mud pie, so the adult enjoys building things, especially things of his own design. I think this delight must be an image of God's delight in making things, a delight…

I completely agree on everything said. I think we all need some personal projects to give us creative freedom and let us do things the way we feel they should be done without inhibition. When I was making https://mockadillo.com, I made all of the choices I wanted to make, vanilla JS, simple interface, no unnecessary bloat, and I loved every moment of making it.

Re: Ask HN: How to rediscover the joy of programming?

#233
post #42
post #7

Earlier quoted context omitted.

What was it about JavaScript that wanted you to leave programming? I'm just curious.

As someone considering leaving the web development industry after 12 years: JavaScript is a never ending grind. Callbacks, then Bluebird, then Promises, then a sync await. a new testing framework every six months. a new web framework every couple of years. aimless, massive changes to the language (classes in a prototyped language? Why not). JavaScript then coffeescript then three versions of typescript. too many UI l…

Maybe I haven't been doing this for long enough (~8 years), but I think we're starting to see a plateau in JS-land.

I jumped into React early-on (5 years ago), and it's still going strong, and has been for way longer than Angular / Backbone / ExtJs ever did.

I wouldn't say Express is abandoned, I feel it's more that it's "matured". I mean what else can you add / improve?

State management is still an un-settled area; 2 years ago it seemed like Redux was the best choice, but GraphQL / Apollo is eating its lunch. However, when you think about it it still follows a similar conceptual model, but making it even more declarative: You have your "store" (the query result), and you dispatch "actions" to modify that store (the mutations). You just don't have to dispatch an action to fetch data from the server anymore; Apollo handles that for you.

It's true that JS churned very fast for a long time, but I'm seeing signs of it slowing down as problem areas become "settled" one-by-one.

Re: Ask HN: How to rediscover the joy of programming?

#234
I got into creative coding and procedural generation using things like Processing[1], StructureSynth[2], ContextFreeArt[3], libcinder[4], but also just plain C programming to do similar kinds of things, and there are some inpiring subreddits, r/creativecoding r/generative r/proceduralgeneration

I think the major difference with this kind of programming is that unlike normal programming, you don't necessarily have a very clear idea at all what your program's output will even look like until after you try it. So there's more of a feeling of "discovery" rather than "invention" and much less of a concrete notion of "correct" and "incorrect" output and it's a pretty different feeling that more "normal" programming.

[1] https://processing.org/ [2] http://structuresynth.sourceforge.net/ [3] https://www.contextfreeart.org/ [4] https://libcinder.org/

Re: Ask HN: How to rediscover the joy of programming?

#235
I could really go on about this at length but my advice is: - keep things simple. Avoid complexity at all costs. - keep it fast - fast to compile, fast to run, fast to change - if you don’t Like something, change it.

I stopped using frameworks, stopped using heavyweight runtimes, switched to a language that built and ran faster, and kicked out everything I didn’t like.

I can now focus on the actual problems I’m trying to solve instead of trying to work out how my problems fit into someone else’s idea of how to do things.

Just my 0.01c. Good luck.

Re: Ask HN: How to rediscover the joy of programming?

#236

I became a manager. This didn't, in and of itself, make me rediscover the joy of programming. But it did free up the mental energy I needed to program outside of work, for fun. As a 9-5 programmer, I often found myself too mentally exhausted to do any coding outside of work. This meant that over the years, programming became just a job, and nothing more. But once I changed career tracks, I found that I had the energy…

Yes, it's when your hobby becomes your job.

Re: Ask HN: How to rediscover the joy of programming?

#237
When my day job has slowed down enough that I found I had the time and energy to code at home on my own projects, the fun returned.

I hate to say it, but I have given up on "enjoying" programming while it is still my career.

I will retire (or change careers) soon enough and will go back to enjoying coding as a hobby again.

In the mean time, I'm trying to enjoy all the fish.

Re: Ask HN: How to rediscover the joy of programming?

#238

I could really go on about this at length but my advice is: - keep things simple. Avoid complexity at all costs. - keep it fast - fast to compile, fast to run, fast to change - if you don’t Like something, change it. I stopped using frameworks, stopped using heavyweight runtimes, switched to a language that built and ran faster, and kicked out everything I didn’t like. I can now focus on the actual problems I’m tryin…

I really like your comment.

> switched to a language that built and ran faster

Which one did you switch to?

Re: Ask HN: How to rediscover the joy of programming?

#239
post #2

Programming is 1,000 room hotel of which we live in only one. I recommend you study different programming paradigms because in them we can find really interesting approaches to solve problems. For me those have been: - functional programming (with Haskell) - logic programming (prolog) - Constraint Programming with the excellent Coursera class on minizinc. Those paradigms made programming fun again for me . PS: I also…

When I first started learning to program. Every three months I switched languages/stacks, re-implemented a project in that language. Trying to learn the different approaches to development.

I also brought this on when I was a tech lead. Twice a month we would do code katas. Where we would do exercises together in a new language, or library. To continue learning, see if we could do things better.

I ended up in a similar place Functional(ocaml/ML) and multi platform (shared code for back end, mobile, web, and ops).

One of the problems I'm having right now, and is making me want to leave software. I can't find many roles that match that style. My brain hard locks when I try and go back to OOP at this point. I love programming, and working with the community. But right now I feel like I'm banging my head into a wall. Has any one else had this problem?

Re: Ask HN: How to rediscover the joy of programming?

#240

On a last resort there is an extreme solution that seems to work in any field especially artistic ones: stop doing it professionally. Get back to it as a hobby, exploring and playing with anything on personal projects without any financial pressure, and I'm sure you'll find that joy again.

I experienced this while entering game jams.
Post reply on HN