Live data from Hacker News

Ask HN: I just want to have fun programming again

news.ycombinator.com

51–60 of 219 posts

Re: Ask HN: I just want to have fun programming again

#51
Modern OS's are to blame. If it's not your cup of tea but you still want to release on them I'd look into a framework, toolkit, or game engine.

I don't know what project you have in mind but what about targeting an older platform? If it's purely for fun/satisfaction try making an Amiga or DOS program. Plenty of emulators for modern platforms to help you run it on a Mac or Windows machine.

Depending on your project one route to consider is to build your UI with an immediate-mode style library (or write one yourself, it's not terribly difficult). You'd be sacrificing accessibility likely but it would get something out there fast that's pure code and doesn't require a ton of fiddling to get going.

Another "fun" area is to try Common Lisp or Emacs; both have options for UI and graphics programming and all usual facilities on modern systems. The benefit is that you can stay in warm-and-fuzzy parentheses and get a highly interactive development environment that you rarely have to leave.

Re: Ask HN: I just want to have fun programming again

#52

You don't need much expertise in CSS to build common web UI patterns. It's been around a long time, and tropes like "it's hard to center a div" aren't really true anymore. It's absolutely possible to build JavaScript apps in a single page with no external dependencies. All you need is a single .html file and a simple development server (I use python http.server). Writing in typescript is a easy as a single dev depend…

Trouble with CSS is still this: https://media.giphy.com/media/yYSSBtDgbbRzq/giphy.gif (Peter Griffin trying CSS)

And centering a div can still be very hard depending on the circumstances.

Re: Ask HN: I just want to have fun programming again

#54
Find out which sort of language features you find really cool that apply to your project. For example I have this idea in my head of writing ML stuff in Haskell, since everything is lazy and you could run models off disk. That would be really fun not only because of the end goal but because writing Haskell code is a borderline psychedelic experience. Using core language features tends to give you that feeling of using divine tools as opposed to writing a textbook in a second tongue.

Other than that I'd recommend C. It's ubiquitous and can be as simple as you want it to be. With macros or source to source transformation you can have your cake and eat it too by picking how you want your code to be written then figuring out how it would compile to C.

Re: Ask HN: I just want to have fun programming again

#55

Write some C for your own pleasure and fun on an undead platform, like AmigaOS. Due to the constrained nature of the undead platform there is no real possibility of decision fatigue, since the ways of solving a problem are few.

I'm doing something similar with an old laptop I've repurposed as a web server. If I can't deploy it there, alongside my other applications, it will not get built.

I really like constraints. I also believe that's what made the early Internet so special.

Re: Ask HN: I just want to have fun programming again

#56
You seem to have two very conflicting wishes here:

1) To have fun 2) To write a cross-platform web-base app with good HTML canvas inter-op ...

If you really want to deliver this cross-platform app, then it seems that's going to be more work than fun, although no doubt good tool/framework choice can help minimize the headaches.

For a fun project it seems better to avoid all of the things that you already know are going to make it not fun!

My current fun project is writing a compiler to run on an old 8-bit system (initially targeting en emulator) ... 99% useless, but fun, and I get to choose whether to implement the bits that are stupidity on behalf of the language spec, or extend the language to make it better, etc, etc - no practical considerations forcing requirements on me, since it is purely for fun.

Re: Ask HN: I just want to have fun programming again

#57
post #21

I'm going to suggest Clojure. It is a very opinionated language made a person who was about to quit professional programming because of an explosion of complexity (both accidental and incidental). Check out the talks by Rich Hickey to see if you have the same sentiment or perhaps this paper: https://download.clojure.org/papers/clojure-hopl-iv-final.pd... The community of the language largely follows this philosophy,…

And as a bonus, once you know Clojure (on the JVM) you basically get ClojureScript, on top of JavaScript, for free, which is amazing.

Re: Ask HN: I just want to have fun programming again

#58
Try a Lisp. I got seriously into Lisp because of Guile, a Scheme -- but Common Lisp is also a great place to start and the Portacle environment is an easy way to jump into that.

Lisp is the easiest, most fun language I've encountered to work in. It's like clay out of which you can sculpt a solution. Every programmer should give it a go.

For an even easier way to get started, consider building an app in Emacs Lisp. It needn't be huge, it could just be an automation for a pain point in your daily work. Emacs is easier, and more fun, to extend than just about any other editor.

Re: Ask HN: I just want to have fun programming again

#59
post #21

I'm going to suggest Clojure. It is a very opinionated language made a person who was about to quit professional programming because of an explosion of complexity (both accidental and incidental). Check out the talks by Rich Hickey to see if you have the same sentiment or perhaps this paper: https://download.clojure.org/papers/clojure-hopl-iv-final.pd... The community of the language largely follows this philosophy,…

I love Clojure, and listening to Rich Hickey talk is often enlightening.

I don't know that learning clojure was a good investment from a practical standpoint, but I took a deep dive into lisp-like languages and don't regret it.

Re: Ask HN: I just want to have fun programming again

#60
I remember I had the most fun when my code sucked. I made all sorts of silent tradeoffs because I didn't know that I was trading things off.

"Look! I built a whole App that does the thing! Isn't it cool? Oh, yea, you need to use this gnarly url and - crap - yea, use chrome. Refresh it... Hold on, let me restart the Raspberry Pi... Got it! Look at that! So cool! Wait - did someone HACK this?"

The grown up version of this might be just building for one platform, and one happy path. Who cares if lots of people can't use it? If it's popular, you can turn it into a job then. But until that happens - just make the computer do something cool!

Post reply on HN