Lurker News
I remember in my teens I used to love programming. After 20 years of a career, I don't enjoy it anymore.

Have you rediscovered the joy of programming? Any advice?

Comments (329) 141 threads

Earlier comments
beders9 replies#
I had the same issue. Then I went back to the roots: Lisp

And learned Clojure.
You will feel like you know nothing. You will feel handicapped. You will be confused.
Then, one day, you will understand what simplicity means and how Clojure's design embraces that more than in any other language I know. By then you will have embraced the flying-by-your-pants-exploratory style of programming at the REPL. And don't want to go back anymore.
It's awesome!

crispinb1 reply#
I've been learning it for a couple of weeks. It is humbling as an experienced dev to find something quite straightforward (parens-whining aside, Clojure is a small & simple language), yet not have a clue how to approach problem-solving with it.
markc1 reply#
Use 4Clojure for practice. Talk about humbling! You’ll struggle to write a 20 line abomination and then see some wizard’s beautiful 2 liner that does the same thing. You might spend a long while grokking it, but when you do you’ve added one or more new tools to your Clojure problem solving repertoire.
crispinb#
Exactly my experience. I've dipped into 4Clojure (thanks for the suggestion), and also Exercism as the mentoring is handy. I really enjoy the way you can reach solutions that are pithy without being obscure or artificially terse.

It does take me a long time to get there though. It's kicking my arse to be honest. Which is fine, as it means I'm learning - far more enlightening than frustrating.

reinkaos1 reply#
How do you reconcile this with your day job? Or did you go on to work with Clojure full-time?
simongray1 reply#
I'm not the one you asked, but personally after I learned Clojure I completely joined the Rich Hickey cult and only sought out Clojure/ClojureScript jobs or jobs where I could decide what language to use myself. I'm now on my third one. It obviously limits your pool of available jobs significantly, but I try to keep up with which companies and organisations are using Clojure in my city and so far it hasn't been an issue at all.
reinkaos#
Thanks for sharing your story. At some point I might embark on a similar journey but with Elixir.

Side projects are always an option, I guess.

elamje#
+1 for Clojure making me love programming! You likely are burned out from corporate code because of the huge compile times, complex processes, and generally a ton a of typing. This will mostly go away with Clojure. What you will be left with is significantly smaller code bases, fun with metaprogramming, and instant feedback with no waiting for compilation.
markc#
Me too. I was bored with 2 decades of C/C++/Java and didn’t like programming any more. Dabbled with Ruby, Python, Groovy and enjoyed them. Discovered Scheme, SICP, and Clojure and never looked back. Beat my head against not having my old problem solving paradigms, but it was fascinating rewiring my brain. It finally clicked and coding has been a joy ever since. The Clojure REPL rocks.
kleiba1 reply#
What is the best way to get started with Clojure these days? So much has changed since the early days.
iLemming1 reply#
The language itself is very stable. There were no breaking changes. You can pick up just any Clojure book (even old one), and probably 98% of it still be very relevant.
kleiba#
Good to know. I was also interested in the full environment, e.g., IDE's, package management, build chain, etc.
cutler1 reply#
Yeah, then you won't be able to get a job anywhere and will puke at the sight of OOP code. Seriously, Clojure is by far my favourite language but with mouths to feed I had to put it down and get serious with JS, Python and Kotlin.
iLemming1 reply#
Clojure is still massively helpful to learn, even if it is not the primary language of use. It is guaranteed to make a better programmer from anyone who has never done Lisp or FP before. It is my go-to tool for prototyping - whenever I am not allowed to use Clojure, I still first write an initial prototype in it and then translate it to the target language. Even though that sounds counter-intuitive - I am far much faster compared to if I had to write directly in the target language.
cutler1 reply#
I don't really get this. If you're working in the usual OOP environment (JS, Ruby, Python, Java) what use is it modelling your solution in a functional language based on immutable data structures? Isn't that like running around naked before putting on your straight-jacket ready for work?

Continue this thread — 1 reply

slifin#
I came here to say this, the REPL feedback loop is amazing, I think we can do more with LSP in Clojure with spec so I'm trying to build that out to attract people used to advanced type systems that would otherwise be put off

The problem is I don't have a good track record for completing projects so competitors or collaborators would be greatly appreciated

djhaskin9872 replies#
And then you get so good at clojure that repl is "just another style" and it's not much different from Python in terms of effort or thought. After all, Python has a repl too, they just call it a shell.

I have gotten burned out of my personal clojure projects same as anything.
It's just a language people. Whether speaking Japanese or English, it's just a language. Yes culture is a part of it, but it doesn't imbue the speaker with some sort of superpower. Yes other languages are fun, but both get the job done. English has the word "love", Japanese has "yugen" but both peoples seem to get by just fine.

slifin#
Well Clojure is a language designed to be evaluated form by form if for example I wanted to evaluate an if statement in PHP's "REPL" then working out where that statement begins and ends is annoying compared to just sending an if expression in Clojure

In PHP once a function is defined I can't redefine it and then call it again to iteratively build that function
Just because your language has a repl doesn't mean you can get a quick feedback loop from it, in fact the more compile time constructs you have like classes and interfaces the harder it is, particularly if they're sticky with dependencies everywhere
Bret Victor's work I think really illustrates how little respect and investigation we do into feedback loops

iLemming#
> After all, Python has a repl too, they just call it a shell.

No. Most non-lispy (non-homoiconic) languages do not have "true" REPLs (and that includes Python as well). At best they are just that - interactive shells. To understand the distinction, one has to give a sincere heartfelt attempt to use a Lisp. Having able to evaluate any expression and sub-expression without any preceding ceremony is extremely empowering. There's a massive difference in the workflow - any experienced Lisper can attest to that. The benefits of homoiconicity are incredibly underrated in modern programming. Perhaps you just haven't used Lisp for long enough to learn how to appreciate it.
> It's just a language people.
Yes, it is. There are many different ways to express something like "number 42" - using ordinary objects like sticks, or by counting numbers out loud, or by writing the amount using words, or by applying mathematical sigma notation. And Mathematics is just a language as well. And when it comes to expressing something far less trivial than natural numbers, we have not yet discovered|invented better ways.
That all been said - Lisp syntax is not without certain disadvantages. But in many cases - the benefits outweigh the cost. That is why Lisp as an idea is still relevant, even after over six decades. And until we figure out (discover?) a better way, the ideas behind Lisp still would be very useful.

iLemming1 reply#
> You will feel handicapped. You will be confused.

For anyone who wants to learn Clojure (or any Lisp) from scratch, here's my advice:
Don't try to learn it by reading books. What I mean: don't try to mentally parse and analyze printed code written in Clojure. For uninitiated Clojure code may look like unreadable gibberish. If you try to understand Clojure code by merely staring at it, it may feel very exhausting.
Remember: Unlike most other languages where the code is "dead" until you compile it an run it, Clojure code is a "living thing," analyzing its "static" properties without evaluating that code makes little sense.
Get an editor/IDE that supports "structural editing." Learn basic structural editing commands - slurp, barf, transpose. Learn/set a keybinding that allows you to evaluate the expression at the cursor.
And then eval your expressions and sub-expressions. That would make it much easier to learn. And would bring joy to the experience.

runald1 reply#
How is printed clojure code from regular clojure code? Sounds like a maintenance nightmare if the code can't be understood just by reading it.
iLemming#
I should've probably clarified: It is difficult to grok Clojure code only in the beginning - when you are new to the language. To many beginners, Clojure code at first may not look very intuitive. That is why I'm suggesting to learn it by "breathing it" - try changing it in an editor/IDE that supports structural editing and connected to a REPL - change an expression, eval it - see the results, expand, eval again, move onto the outer/inner level expression, eval, and so on. That way you quickly get the insight and learn how the language works. And it won't take too long to learn how to comfortably read and mentally parse "static" Clojure code.

After some time it becomes clear - Lisp is not harder to read. For some people, it's the other way around - going back to languages with C-like syntax may feel awkward.

quicklime4 replies#
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.

JKCalhoun1 reply#
Yes, it's when your hobby becomes your job.
slipwalker#
+1
Chernobog#
Wow, I'm have just started trying out the management track in my company, and your post is very motivating. As in, I thought I would lose out on the programming part, but if I end up with the same experience as you, I will make up for it by doing hobby projects again.
palerdot#
Interesting. Good for you.

One of the criticisms of management path is that it just blocks your mind with anxieties, since you are dealing with lot of unknowns and things which you don't control ...
If you are truly able to switch off after work (as a manager) and still devote your energy on programming pursuits, then I guess you really have a good team and a really good job.
I would be interested to hear your experiences after you work with good number of teams which you inherit (not build them from scratch), and still feel the same way.

_kwmj1 reply#
I have been coding for almost a decade and I don't think I have come home any day and felt like, "oh, today I will code this!". Nope. I always leave work at work - coding, studying, learning about work. It's not really a discipline, or an attempt to keep work and life separate. I just don't feel like it.

After work it's just reading, films, walks, sports etc for me. I used to get bothered by it seeing other people code and learn tricks, tools, and paradigms at home. Thinking whether I am in the wrong profession, or I am doing it wrong. But now I have accepted it as this is who I am.

ptyyy#
>I don't think I have come home any day and felt like, "oh, today I will code this!". Nope. I always leave work at work - coding, studying, learning about work. It's not really a discipline, or an attempt to keep work and life separate. I just don't feel like it.

I'm in the same boat. I've been coding for over 15 years, and since I've been doing it as a career, I can't bring myself to work on very much outside of work like I used to. I have a github full of projects that I used to work on but when I'm home I want to do something that I enjoy. I don't think I've made a significant commit to any of my projects in over a year. Almost makes me want to go back to being an electrician so I can find renewed passion for what used to be my hobby.

oreally2 replies#
Have you ever considered what's making you not enjoy programming anymore? Journalling your day-to-day might help.

Here's one example that I found that really screws with people not enjoying programming. If you have a career, chances are you're going through rules/bullshit(ie. code standards, needlessly large codebases) made up by other programmers within your organization and that's making you not enjoy programming as much - in contrast to when you were younger and only needed to get things working.
On the bright side, there are ways to handle it. While I don't recommend going YOLO and willfully breaking all the rules or even quitting without a plan, I do recommend trying to find some other outlet/hobby that you enjoy after work hours.
You could also try to contribute to people also trying to make programming less friction-ish. https://www.youtube.com/watch?v=De0Am_QcZiQ&feature=emb_logo

jerzyt1 reply#
Are you stuck in the rut of doing corporate cruft? I'm there, and it's unbearably boring. I'm finding inspiration in personal projects. Currently I'm investigating the effect of gerrymandering in the House elections. While I have strong personal political views, I'm doing this purely as a pet project. At the same time, I have to experiment with datasets and data sources outside of my day-to-day area of expertise. I don't have a deadline, but it's interesting. And I'm doing it in a Python, which is a new language for me. Bottom line, it's a challenging problem, and a language challenge, so at the same time I'm expanding my skills.
oreally#
I made games, didnt earn enough to keep it going, and went to corporate. Fortunately this job is a little lax on deadlines/schedules (though not so much on the cruft). Other than that, working on my games or related keeps me alive and looking forward. Spending time reading books helps a lot too.
gwenzek#
> You could also try to contribute to people also trying to make programming less friction-ish.

I'd love to get into the Jai community but really don't know where to start, beyond watching the videos.

doctor_eval2 replies#
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.

ryanolsonx1 reply#
I really like your comment.

> switched to a language that built and ran faster
Which one did you switch to?

amedvednikov1 reply#
Go, probably.
doctor_eval#
yep! but it's not really about Go, it's about finding something that suits my groove. I don't for a moment think Go is the best language (I suspect Rust would be more my thing), but as an ex-Java dev, I'm tired of fighting the tools, and that's something you hear quite often with Rust.

So I compromised by trying Go, and my productivity has been really great. And productivity seems to me to be the thing that is most important about making me happy.
(actually I suspect most people would say they love productivity, but not everyone seems to know how to achieve it).

Syntaf#
I went the opposite route and moved to a language that, while not the most performant, championed the idea of developer happiness (Ruby).

> if you don’t Like something, change it.
This is also super important, and a good point make. Don't ever choose a technology for the sake of looking good; choose something you enjoy working with.

Load more comments