Discussion

Ask HN: Which alternative to Python for personnal use would you recommend?

As a professional fullstack dev that specialize in PHP backends (Symfony and Laravel mostly) and does a bit of Bash when required, I am looking for a general purpose programming language to use for fun little personal projects at home (essentially API consuming, local LLM use and I/O interactions through either websockets or similar tools)...

... that isn't Python !

I had a really bad first experience with the language and find it quite messy in terms of syntax and debugging, so ideally I would like to avoid it.

Looking at popular and/or similar languages, I found quite a few that seems like they could match what I am looking for, but I would love to have some feedback from people who used them in order to make an educated pick.

Here are the languages :

- Rust (seems rather complex and inadequate for "fun little projects on the side" but powerful) - Go (fast, reliable, with quite a few community packages to extend its capabilities) - Ruby (a personal preference probably because I am using PHP at work, syntax looks really appealing)

- Kotlin (apparently good for GUI, much more than Rust for example, surprised that it was recommended but who knows...) - Lua (another one that was recommended to me, could be useful as I am also interested in modding some games in the future)

Thanks in advance for your feedback and help :D

20 points Nickydigit 2 years ago 37 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton