HACKER Q&A
📣 chovybizzass

What's a fun language to program in besides JavaScript?


I've been doing JS for about 10 years, I used to do perl, php, ruby but now I'm learning v-lang. The only problem is it is pre-alpha. I'm considering learning Go instead as its very similar. I want to be able to build things (apps, etc) without have to install 8 billion javascript libraries to do a "hello world".


  👤 drannex Accepted Answer ✓
D-Lang and Julia.

Dlang if you want a compiled, next-generation C (low level language) that writes like Javascript but powerful like C, similar to Vlang but imo far better designed and has been around for 20 years. Incredibly easy to get started, and to learn! The docs are great, and the tutorial really outlines and explains how everything works.

Julia if you want a nice scripting language that crunches numbers quickly and efficiently and just ease of development.


👤 ironmagma
Rust is great. It interops reasonably with JS as well since there's a WASM-subculture to the user base. That said, the real answer to your question depends on what kind of apps exactly you want to be able to build.

👤 yesenadam
Tcl/Tk is fun! When I first learnt it, within a few days I'd written 2 GUI games. Also it's different, in the "will affect the way you think about programming" kind of way. Everything is a string. You can also change/add to the fundamentals of the language, in a way you can't in most languages—as if you could change the meaning of "if" or "while" in C, or add your own keywords.

"Anything goes in Tcl...except braces in comments"


👤 oriettaxx
Ruby has been created with that in mind