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.
Ask HN: I just want to have fun programming again
171–180 of 219 posts
Re: Ask HN: I just want to have fun programming again
#172Yes, 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
#173Re: Ask HN: I just want to have fun programming again
#174Re: Ask HN: I just want to have fun programming again
#175Programming is not always about building the app foo with the language bar. You can have fun by recreating and understanding how existing stuff works.
Re: Ask HN: I just want to have fun programming again
#176Re: Ask HN: I just want to have fun programming again
#177It has grest WASM support, too.
Stuff like Bun.sh which is an entire JS platform is built upon Zig with a very small team. That speaks of Zig complexity.
Re: Ask HN: I just want to have fun programming again
#178Javascript 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…
Re: Ask HN: I just want to have fun programming again
#179The 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
#180You 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.