Live data from Hacker News

Ask HN: I just want to have fun programming again

news.ycombinator.com

121–130 of 219 posts

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

#121

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 f…

It says on the front page Mac and Web only

https://github.com/makepad/makepad#prerequisites

(windows and linux are coming )

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

#122

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 f…

It says on the front page Mac and Web only https://github.com/makepad/makepad#prerequisites (windows and linux are coming )

Yeah, but check the mastodon updates and the commits. I've run my makepad app on Windows. And you can see from his updates that he's finishing up Linux and moving on to Android, now.

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

#124
> I like an environment that feels sane and logical and where I am not facing loads of incidental complexity along the way

You should try my (esoteric) programming language (theorem prover), Budge-TP :)

You might find useful my recent write-up about https://bor0.wordpress.com/2023/02/05/writing-your-third-pro...

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

#125

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…

I've found that sometimes the hardest issue is getting mentally unblocked enough to find a problem that seems approachable. One of the best ways I've found to prompt you is to start browsing libraries till you find some that imply a goal you might enjoy. My last fun personal project was making a command line AppleTV remote with a lib for doing such. I'd been so burnt out till I saw a random link to the lib, and it just sucked me in.

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

#126

    I'm also attracted to implementing my app cross-platform.

    I just want to have some fun writing something without headaches
Building cross-platform native apps is like consuming the contents of a bottle labeled "CONCENTRATED HEADACHES". Those two goals are fairly incompatible...

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

#127

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…

>, but I think you need a fun problem to solve. Pick a toy app and work on it.

I think you've read the op's question too fast and not fully empathized with his situation. He already found a problem when he wrote, "I have a clear idea in mind with some code already in C++ to proof-of-concept it for myself, ..."

The bulk of op's words surrounding that goal is asking about the process of coding being fun. But then we get several (well-meaning) advice to just focus on the end goal being fun rather than the coding process being fun. Yes, that's a valid perspective -- but a lot of people also require the process itself to be fun too.

E.g. Let's say a programmer wants to code a custom music library manager:

- John wants to use Lisp because having a REPL for quick iteration and feedback loop is "more fun".

- Jane would rather use Python because having a bunch of 3rd-party libraries for lots of tasks is "more fun" than coding a lot of boring low-level tasks from scratch.

Advising people to have a sort of zen enlightenment of only caring about the final product and being totally detached from the process is unrealistic for many programmers. It's a perspective that may work for you but for many others, the particular tools do matter in terms of joy.

In the op's case, he wished that there was a tool that was cross-platform, with easy multi-threading, no incidental complexity, etc. (To answer op's question, there isn't such a tool that meets all requirements.)

We often see variations of the lament: "I wish programmers would quit focusing on particular programming languages. They're all Turing Complete. Just pick one and get on with it."

That's true if the product is corporate project. In that case, the employee needs to suck it up and just use whatever (not-so-fun) programming tool to get the job done. But personal projects like the op's question can try to look for alternative coding environments that are more fun to use.

An analogy in woodworking was illustrated by 2 different shows on PBS:

- Norm Abrams (The New Yankee Workshop) used power tools to build his projects.

- Roy Underhill (The Woodwright's Shop) used hand tools to build his projects.

Roy Underhill likes hand tools because power tools are noisy. On the other hand, Norm Abrams uses power tools as they're fast. Neither are wrong. Both can craft a chair but the tools still matter.

A lot of woodworkers can't just detach themselves from the usage of tools and only focus on the final product. The choice and use of particular tools is a core part of the joy.

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

#130
If you're looking for the type safety afforded by swift I recommend two languages:

Elm and elm-ui for the front end. Elm is so safe that with the exception of the FFI and OOM it cannot have runtime errors.

Rust for the backend. You already know C++ so borrowing (move semantics) references and whatnot should be pretty familiar. Rust is like C++ but without all the horrible baggage and swift esque type safety.

Other people are like build stuff with this! Build stuff with that! They don't get it. I know what you're looking for: type safety in a good language without the garbage. Look into the two things above^^^^

Anyway the thing that's sort of related here is functional programming. Swift and Rust both share the same creator and the type systems from both are derived from Functional programming languages like haskell and OCaml. Elm derives its syntax from the same family, but elm is strictly functional while rust is not.

Post reply on HN