Live data from Hacker News

Ask HN: How to rediscover the joy of programming?

news.ycombinator.com

121–130 of 337 posts

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

#121

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…

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 Python 3.8 installed. There’s installers for Mac and Win. 2. Create a folder for your new project. 2. Inside that folder, use your console or terminal to write: python3 -m venv p_env 3. You now have a virtual env, all your stuff will be stored in that p_env folder. 4. Activate it with another command: source p_env/bin/activate 5. It’s now activated and you can use “pip” to install packages like Django a great web framework.

By the way go check out Django and go through the tutorial. It’s very fun and will get you going with a CRUD in no time.

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

#122
post #39

I'd like to plug the Recurse Center (recurse.com) - it's a "writer's retreat for programmers" and helped me find a community of people who really enjoy programming. I attended 7 years ago and it's still a part of my daily life. I also would plug !!Con (bangbangcon.com) and StarCon (starcon.io) as conferences specifically about the joy and excitement of computing. Those might be a good source of inspiration for you. (…

Is it hard to get into Recurse? Is the whole program costly? (I believe you'd need to live in NYC?)

Both questions are answered on their website and their extensive handbook. If you’re seriously interested, have a read.

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

#123

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 have decent experience with PHP/MySQL from past

Let's be honest: you don't have any experience with php or mysql anymore. 12 years ago was the era of php 5 with some remnants of 4. Php 7 and the ecosystem are a lot better nowadays (composer, Symfony etc.). For database people tend to use Postgres when they can but even MySQL added lot of good things with JSON, CTE, window functions.

You may want to start learning from scratch.

"Hello world" is still those letters in a .php file uploaded to a host tho.

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

#124
I'm still in it after 10 years... self-taught at 12, did some "proggies" for AOL--mostly did programming for fun, eventually at 18, I quit, and would not return until I had to.. at 26. I just wasn't interested in it. Wanted nothing to do with computers... went off to college, studied psychology, lived in another country, taught English, came back home... no one was hiring, except a company that needed the skills I learned when I was 12.

Although he was a tyrant boss that I couldn't stand, he taught me what I would need to know to go on and stay focused on the "task at hand" when it came to programming. I started getting into web design and development at the time as well, and made the switch. Been at it ever since.

I used to be a gamer in high school. I'd skip school to stay home and play Asheron's Call. I was so addicted to the game that I was the first to max out on the server of Harvestgain. Had a whole bunch of people come watch the fireworks. It was awesome. Anyways, it was a year after high school and I had been playing that game for 5 years, before realizing that I was just "wasting my life away" playing video games, which is what escalated a push for me to go to college and kind of taught me a valuable lesson: what if I could monetize something I enjoy doing? Programming = being creative, coming up with new ideas, making them a reality, etc.

I work for the media, I freelance for a few companies, started a blog, and started my own business ( https://notetoservices.com ), developing web apps for a variety of different purposes. So I tend to just keep myself busy, coming up with new ideas, and a lot of ideas stem off of other ideas, some free, some monetized. Keeps things... joyful.

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

#125

A few things to consider... Try side projects. Could be something you're been thinking of trying out (scratching an itch), or to learn something new. For example, recently I made a macOS Quicklook plugin for displaying the Basic listing for program files for the first 8-bit computer I learned to code on ( https://github.com/sebastienboisvert/ZX81QuickLook ). Another one I'm working on is modernizing support for a USB…

Try side projects

I don't think more programming is a solution to being burnt out on programming.

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

#126
I dropped programming after my first real job. I used to program from a young age (Basic, pascal, C, ASM) then played with GNU/Linux and BSD then on networks with Cisco and Juniper to setup some BGP route (internship) all of that was a lot of fun I loved building mini video games or my own operating system. But once I started to work and some guy who did not know programming was asking me to do some not fun code about accounting and I had to work with other programmers I realized I loved to play but not to work. I then moved to the business side as I liked learning new things and I got to tell programmers what to build without having to be bored. But consulting became boring too. It took me a while but I found happiness in entrepreneurship and started to code a little again while doing business or non profits. I think building your own thing is a lot of fun. At this point I would maybe recommend you to take a break and not code for a little while to see where your true north is. Good luck!

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

#127
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…

This is going to be personal and dependent on the person, but for me the opposite advice was useful.

I.e. stop programming for the sake of programming. A new paradigm, language or methodology to be more efficient.

Instead solve problems, and use the tools at hand, my excitement from programming originally was the idea that I could build anything.

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

#128
I’d say give Racket a go. It is quite easy to pick up and very rewarding to program in. I feel that I got some of the excitement back while learning racket and toy-coding the material i was learning. DrRacket is weird at first, it a very idiosyncratic IDE but i grew to like quite a bit as well as the LISP parantheses. I find them quite visually pleasing after a while and the IDE makes it very friendly to code in. If interested I could expand on details.

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

#129
I think you have to find what interests you. Think back to the times you were most excited—what was different then?

Personally, when it comes to putting code on the screen I am motivated mostly by two things:

1. I am excited to put a puzzle together. The same thing that makes me interested in finishing a basic puzzle like a sudoku applies to writing code. I want to see my end result work, and putting all the steps together in my code is enough to keep me up late.

2. I am oddly excited about learning and applying best practices. Often I initially solve a problem by mimicking existing patterns. Then I will spend hours pouring over man pages and standard library documentation in order to figure out the best way to do something.

For me, everything else feeds into those two basic motivations. In my career I get to apply those concepts at a larger scale. I'm finding that my motivations extend to domains other than code, both in my career and in my personal life.

I encourage you to reflect and consider the moments when you felt the most joy and the moments when you felt the least joy, and what was different between them.

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

#130
post #116

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.

Im looking to build something similar to HN
Post reply on HN