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?

11 points | by dondraper36 257 days ago

24 comments

  • ocean_moist 257 days ago
    BQN[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/

  • ironlake 257 days ago
    Forth. 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

  • sk11001 257 days ago
    Go is lovely - it’s super pragmatic and things just work.
  • jarl-ragnar 257 days ago
    Clojurescript. 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 250 days ago
      I 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.
  • tnvmadhav 256 days ago
    I don't currently use Python at work. I freaking love it.
  • numerosix 256 days ago
    Ada, from 8bits microcontrollers to amd64 and arm too... really portable, so readable and robust, strong typed, and great community too.
  • purple-leafy 257 days ago
    C!

    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!

  • wruza 256 days ago
    It 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.

  • VirusNewbie 254 days ago
    Scala, 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.
  • kazinator 254 days ago
    One I made myself: https://nongnu.org/txr
  • tetek 254 days ago
    Elixir
  • stray 257 days ago
    Common Lisp.
  • fastresearch 257 days ago
    Swift and SwiftUI is fun for my own projects. I use Python and C++ for work.
  • nextos 257 days ago
    Mozart/Oz, see the CTM book.

    Dafny and F* are also evolving pretty nicely.

  • sandwichsphinx 257 days ago
    I really like Lua, it's simple and easy to compile
    • pmontra 257 days ago
      I 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 250 days ago
      Fennel 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.
  • bicepjai 256 days ago
    Rust, I thrive on its complaints :)
  • jdougan 256 days ago
    Smalltalk
  • metaketa 257 days ago
    Crystal; compiled Ruby!
  • nwnwhwje 256 days ago
    Python, funnily enough
  • horsellama 256 days ago
    Julia
  • dtagames 256 days ago
    Lua
  • constantinum 254 days ago
    haskell
  • 8BitArmour 255 days ago
    rust