Live data from Hacker News

Ask HN: I just want to have fun programming again

news.ycombinator.com

171–180 of 219 posts

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

#171

Some recommendations for fun (web) programming: - Forget about the JavaScript ecosystem, don't even touch it, it's a monster - Use htmx on the front-end ( https://htmx.org/ ) - Use plain-old CSS with minimum dependencies (sanitize.css) - Use lightweight CSS framework if you need one (bulma or purecss) - Use Go on the backend (all other modern languages are bloated) - Use AWS Lambda - Use DynamoDB if you don't need da…

Meh. I enjoy doing full stack javascript work over all other stack including Go. To each their own I guess.

If you already know the javascript ecosystem then it's probably fun. But if you don't its heavily draining. Also Go is decidedly antifun so maybe not a good comparison.

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

#172
My two cents would be on F#.

Yes, isn't a mainstream language but there are a lot of interesting things with it:

- build for .NET or languages supported by Fable (JavaScript, Dart*, Python*, Rust*, PHP*) - I did build a proof of concept Flutter app with it

- multiparadigm - FP or OO, you choose

- clean syntax - based on indent just like Python

- Type providers, type inference, ...

* These are on Fable 4.0.0-theta-018 at moment

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

#178

Javascript isn't complex. It was implemented in 2 weeks. React is also simple (in concept, not implementation). I suggest programming with chat-GPT. I got it to help me to get started, research and break down very ambitious project that alone I just couldn't muster. You didn't specify exactly what you problem is but if you are looking for easy UI that's canvas based then I guess https://flutter.dev/ might be just for…

ChatGPT has actually helped to get unstuck with my hobby project. I asked for a SQL query, it got it wrong, but I got hooked on fixing its mistakes and somehow overcame the "programmers block" to continue building my app.

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

#179
Your long list of desired features and properties, especially cross compatibility, is sucking all the fun out of the project. I also suspect the hobby project you chose (whatever it is) has so much idealism in it that it implies a lot of toil, e.g. a cross platform messaging app or one-storage-system-to-rule-them-all or The Next Great MMORPG.

The goal is too big and you are but one person with a day-job.

Don't quit your day job.

If you want to finish a project and have fun: Do not attempt to solve world hunger or censorship or any big problem, because you will find it is big and thorny.

Do: make a list of tiny projects. Extra tiny. Make sure they are fun, e.g. asteroids or Snake or displays-a-random-emoji or something silly.

Make a list of non-goals for your project: e.g. it will not be cross-compatible, it will not be multi-threaded, it will not support multiple users, it will not be scalable, it will not support multiple resolutions, etc. Try to make it so dang simple you think you can knock it out in 2 days. (It might still take a month)

If you need a framework or library, pick one and only one library. (write the rest yourself) Pick the smallest one you can find that covers the part of the project you don't wanna do, whether that's game physics calculations or databases or whatever.

And then write your project, preferably all in one big ugly file that does not meet anyone's definition of organization or documentation or quality.

That's when it's fun, when the scope is small and understandable, and there is no expectation of having to fix anyone else's bug reports but your own.

(To be clear, these rules are only for personal projects, I do not recommend this level of anarchy on a team or a "real project", just a project where the goal is to have fun.)

I've made snake, asteroids and Galaga clones in JavaScript. I had fun with them, and I threw the code over the wall for other people to look at; but for personal projects I am not promising anything other than that I had fun writing the code and playing the game I wrote.

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

#180
> I feel like there aren't really any good options in software development any more. It's always one big compromise with lots of possible decision fatigue. Every direction has drawbacks.

You just gotta pick something and go. I know nothing about your app, but there's plenty of general purpose languages out there that wouldn't be a bad choice. Over-optimizing is gonna kill the fun and you'll get nowhere. Choose some tech that solves your immediate problems and maybe keep things modular so you can break out the pieces that aren't working later.

Remember the fun part is building things. So go build something.

Post reply on HN