I'm in a bit of a reverse situation. I left programming some 12 yrs and want to get back into it. But I find it so hard with all the commandline installs, config files etc. The barrier to just getting to "hello world" seems so high now. Pasting my recent ask HN here in case I have better luck: What is the easiest way to launch a simple PHP website these days? -A simple CRUD web app -No new sytax to learn (just good o…
I can't think of anything that doesn't have a steep learning curve, aside from just not using any frameworks and writing PHP code. If you're building something solo and it's not too complicated, that's a decent option if you don't want to spend time learning things that won't get you to hello world. But, depending on what you're doing, something like WordPress might do what you want out of the box.
Ask HN: How to rediscover the joy of programming?
131–140 of 337 posts
Re: Ask HN: How to rediscover the joy of programming?
#132Earlier quoted context omitted.
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.
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.
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.
Re: Ask HN: How to rediscover the joy of programming?
#133I.e. some time ago I discovered https://github.com/janestreet/learn-ocaml-workshop and I blasted through the exercises and it was fun :-)
Re: Ask HN: How to rediscover the joy of programming?
#134Earlier quoted context omitted.
I can't think of anything that doesn't have a steep learning curve, aside from just not using any frameworks and writing PHP code. If you're building something solo and it's not too complicated, that's a decent option if you don't want to spend time learning things that won't get you to hello world. But, depending on what you're doing, something like WordPress might do what you want out of the box.
Im looking to build something similar to HN
I think lobste.rs is open source.
Edit: it is. Also I thought it was written in PHP but it turns out to be Rails.
Re: Ask HN: How to rediscover the joy of programming?
#135So, I had a Mac and iPhone, some hobby projects I'd dabbled in, and just went all out to learn Macos and iOS development, starting with Objective-c and later swift. I know many here will balk at MacOs, and it is a bit niche, but iOS was really interesting and led to a new job. I think iOS can still offer some challenges that older programmers might enjoy, there's still room for optimising and tweaking perfomance, memory and file size, and it's fun to find out how powerful modern mobiles really are. It's really easy to get started, and you can quickly get to building something really powerful, play around with the AR tools, look at the machine learning. There's good frameworks to get started and powerful stuff like using Metal once you feel like really tweaking things.
Re: Ask HN: How to rediscover the joy of programming?
#136Why 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 shown in the distinctness and newness of each leaf and each snowflake.
Second is the pleasure of making things that are useful to other people. Deep within, we want others to use our work and to find it helpful. In this respect the programming system is not essentially different from the child's first clay pencil holder ''for Daddy's office."
Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts and watching them work in subtle cycles, playing out the consequences of principles built in from the beginning. The programmed computer has all the fascination of the pinball machine or the jukebox mechanism, carried to the ultimate.
Fourth is the joy of always learning, which springs from the nonrepeating nature of the task. In one way or another the problem is ever new, and its solver learns something: sometimes practical, sometimes theoretical, and sometimes both.
Finally, there is the delight of working in such a tractable medium. The programmer, like the poet, works only slightly re- moved from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures. (As we shall see later, this very tractability has its own problems.)
Re: Ask HN: How to rediscover the joy of programming?
#13720 years is a long time in anything. My first piece of advice is that nobody here knows who you are, nobody here knew you as a teenager, and nobody is going to understand what "love programming" and "don't enjoy it" actually means for you. The point is: anybody who claims that they got de-burned-out with this one trick isn't necessarily dishonest or naive, and if something in the comments here resonates, then by all…
Re: Ask HN: How to rediscover the joy of programming?
#138I'm in a bit of a reverse situation. I left programming some 12 yrs and want to get back into it. But I find it so hard with all the commandline installs, config files etc. The barrier to just getting to "hello world" seems so high now. Pasting my recent ask HN here in case I have better luck: What is the easiest way to launch a simple PHP website these days? -A simple CRUD web app -No new sytax to learn (just good o…
Does it have to be PHP? No offence but you’d get so much more from learning Python and the barrier to entry really isn’t that high. The hardest hurdle initially is to set up a “virtual environment” which means you have a project by project collection of all the packages you need instead of installing everything globally. Setting up virtual environments used to be a pain. Today it’s so easy: 1. Make sure you have Pyth…
Re: Ask HN: How to rediscover the joy of programming?
#1391. Stop programming when you don't feel like you want too. Forcing yourself to do anything turns it into a chore. Let yourself relax 2. Stop programming what you don't like. If you hate java, stop programming in Java.
[Note, I realize the above two are difficult if you have a demanding job. I hope you really consider it though in any case, because long term it will help you]
3. Try building small things that you're actually interested in, in languages you love -- i.e playing in lisp or python, on a problem you're curious about, for a short time, can be very fun.
Re: Ask HN: How to rediscover the joy of programming?
#140Take a 6 months break and don't use a computer during that time. Then see how you feel.
Not everyone can do that.