Live data from Hacker News

Ask HN: I just want to have fun programming again

news.ycombinator.com

111–120 of 219 posts

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

#111
Sorry if this has been said elsewhere, but - Makepad! You should check out Makepad!

https://github.com/makepad/makepad

It's a Rust library for developing cross-platform apps. It's not 1.0 yet; there's still things to finish, but it's being actively developed (https://fosstodon.org/@rikarends#), and it's already pretty fun to play with. And the fact that it compiles and runs with the same widgets on Web as it does for Windows and Mac (Linux and Android are imminent, according to the dev's updates) makes it very appealing for my "write once, deploy anywhere" sensibilities.

Fast, easy, and free. Just waiting on it to be "live", for now! Don't forget to check out the demos.

https://makepad.nl/makepad/examples/fractal_zoom/src/index.h...

https://makepad.nl/makepad/examples/ironfish/src/index.html

https://makepad.nl/makepad/examples/simple/src/index.html

https://makepad.nl/makepad/examples/numbers/src/index.html

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

#112
You may not realize it, but frameworks and libraries are your enemy. Write something with minimal dependencies. Take a language you already know and think of a simple, fun thing to make from scratch (for an arbitrary definition of 'from scratch').

You rightfully complained about the complexity of JavaScript or C++, but you don't have to use the majority of the features. With minimal external dependencies and no other programmers in the mix, you can choose a subset of the language and just stick with that.

It sounds like C/C++ would be a good fit if doing low level things is fun for you. Javascript/HTML/Canvas is also not a bad choice per se, you just don't need externalities such as bundlers, wasmers, deployers, dependency managers.

Whichever environment you decide to go with, start with an empty directory. NO package managers, either. If you absolutely must use an external library, copy it in deliberately and manually.

See how few things you actually need to make something fun and worthwhile!

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

#113
post #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.

It gets better as you practice and learn good practices, and for the kinds of "fun" projects OP wants to do, there's no real downside to using a css framework that abstracts a lot of it away.

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

Only thing i could think is targeting ancient browsers. I'm curious, do other UI languages not have quirks or edge cases to learn?

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

#114
I'm a many year old programmer myself.

The one thing I'd say is: Let the project select your tools, not the reverse.

Take your time, select your tools and libraries... and it is amazing things just seem to come together. Not every problem will fall to what you know today.

Yes, there will be compromise, but step back, and ask yourself... just how thankful you'd be for any of these options 10+ years ago. If the answer is not... don't use that tool. But many times, what we face is really a plethora of great decisions, and we try to look for the best... not realizing it doesn't exist today, only in retrospect.

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

#115
> I feel like there aren't really any good options in software development any more

Totally empathize. Why we ended up this way when "tech" has been eating the world for so long is another story...

One little corner that might be worth exploring is KDE apps based on QtQuick / Kirigami. You can leverage your C++ and deploy on android too.

https://develop.kde.org/frameworks/kirigami/

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

#117
The nuclear option is to transition to a job that isn't programming. Then let it rest a bit and most likely the itch to write some code will strike you, so go ahead and do it. Solve problems you care about the way you like. Treat it as a hobby again.

Of course, if your most marketable skill is programming, then that strategy will likely involve a reduction in compensation. Whether or not that trade-off is worth it is something only you can answer.

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

#118
May I recommend making a simple game? Developing small games is a lot of fun, and you have complete control over the complexity you'd like to delve into, as well as the scope.

I've been making games with varying degrees of seriousness. I even released a full solo game last year, which was a wild ride. I'm lucky enough to have a job I'm satisfied with, but even so, creating games has never failed to introduce super interesting challenges, it's just a great creative outlet for code and art alike.

I think Godot (Python-like with C# support) is in a very interesting place right now, and it's easy to get into and start making some prototypes. If you want something more involved, try Monogame (C#). There are always Unreal (C++) and Unity (which IMO is getting harder and harder to recommend due to their business model and decisions as of late).

Plus, game developers have some of the best online communities on virtually any platform you can think of. You can always find someone to consult or even join a project, from modding to rev-share game development.

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

#119
post #116

Ok so basically how we have fun nowadays is 1) write some random control plane 2) create yaml interface for that control plane 3) watch how your users lose will to live That is fun by definition

I'm sure this was funny in your head, but it was not helpful.

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

#120

This thread has a lot of language suggestions, but I think you need a fun problem to solve. Pick a toy app and work on it. Learn embedded programming with an Arduino. Write an iPhone app to track when you feed the dog. Make a karaoke app for Android. If you pick a project you'll enjoy, the language won't matter. Use whatever is best for the platform. The fun doesn't come with the language, it comes with seeing your p…

Big +1 on this. If you're OK with a broader definition of "programming" and have a bit of money to throw around, I've found tinkering with https://www.home-assistant.io/ to be very satisfying. I got more sense of accomplishment from scripting "text me when I leave the house if I forgot to set the alarm, and turn on the front porch lights when I arrive back if it's after sunset" than I did from months of corporate work, even though the actual _difficulty_ was much lower. I can _see_ the results of my work, and benefit from them most days!
Post reply on HN