6 ms·
Ask HN: What is a programming language that you don't use at work but enjoy?
At work, I use Go and Python, but a short while ago I started learning Clojure and fell in love with the simplicity and a totally different approach to everything.
What is your favourite second language and why?
- deleted 2y ago[deleted]
- stray 2y agoCommon Lisp.
- sandwichsphinx 2y agoI really like Lua, it's simple and easy to compile
- pmontra 2y agoI use Lua for small scripts on my small server at home. I use it inside OpenResty, one file per URL, sometimes calling local programs and always printing HTML for the browser. It's small and it works.
- iLemming 2y agoFennel is great for someone who values homoiconicity and structural editing. It's a great joy to be able to reduce big chunk of Lua boilerplate into a three-liner macro in Fennel.
- ocean_moist 2y agoBQN[1] (an APL variant). There is something really beautiful/elegant to me about composing higher order functions in a purely point free way. Array programming is a nice application of this, and this one has the best ergonomics. [1] https://mlochbaum.github.io/BQN/ https://mlochbaum.github.io/BQN/
- sk11001 2y agoGo is lovely - it’s super pragmatic and things just work.
- jarl-ragnar 2y agoClojurescript. I used it to build an MVP proof of concept for work and now have to watch a small team re-write it using Typescript and Angular They’re still not at feature parity with 2x the team, 2x the time and 3x the lines of code.
- iLemming 2y agoI love Clojure for data-related tasks, it's just better than anything else, even Python. And I love Clojure dialects for anything that talks to JS-engines - Clojurescript, nbb, squint - it's really nice to be able to use something like Puppeteer or Playwright and "interactively" click buttons, and navigate through pages in the REPL, it's like playing a video-game - super fun. And babashka is awesome for system scripting.
- metaketa 2y agoCrystal; compiled Ruby!
- purple-leafy 2y agoC! My job is typical web TypeScript + Python But in my spare time I’ve been deep diving C and loving it for the most part. Though I really hate strings in C!
- ironlake 2y agoForth. I learned it very late in my programming career which started with Java. It just feels like home in a way that no other language ever has. Mostly useless tho
- fastresearch 2y agoSwift and SwiftUI is fun for my own projects. I use Python and C++ for work.
- nextos 2y agoMozart/Oz, see the CTM book. Dafny and F* are also evolving pretty nicely.
- nwnwhwje 2y agoPython, funnily enough
- dtagames 2y agoLua
- wruza 2y agoIt was Lua 5.1+5.2. Then came out decent js versions, decent typescript ecos and Lua moved on to 5.3+. Ended up using ts for everything. Feels absolutely down to earth, practical and useful, what I searched for all my life. All my non-bash home code is ts, except for ML chunks, where I have to suffer through the hideous abomination.
- jdougan 2y agoSmalltalk
- tnvmadhav 2y agoI don't currently use Python at work. I freaking love it.
- numerosix 2y agoAda, from 8bits microcontrollers to amd64 and arm too... really portable, so readable and robust, strong typed, and great community too.
- horsellama 2y agoJulia
- bicepjai 2y agoRust, I thrive on its complaints :)
- 8BitArmour 2y agorust
- kazinator 2y agoOne I made myself: https://nongnu.org/txr https://nongnu.org/txr
- constantinum 2y agohaskell
- VirusNewbie 2y agoScala, it's very elegant and functional style just ends up with less runtime bugs. You fight the compiler more, but that's more satisfying than having to RCA something eight weeks after it ships.
- tetek 2y agoElixir