Stop Designing Languages. Write Libraries Instead

Dev world brawls: Stop inventing languages? Fans say build better libraries

TLDR: An essay argues libraries drive real productivity and Rails can’t be cloned in Java or C because it relies on Ruby’s quirks. The crowd splits: some say build libraries, others refuse to stop designing languages, with extra drama over headline wording and languages swallowing popular libraries.

Programming languages sound the same—variables, loops, functions—but the libraries make the magic, says an essay that worships Ruby on Rails, and asks: if libraries are king, why isn’t there a Rails for every language? The author’s twist: you can’t just copy it, because Rails leans on Ruby’s fancy tricks, so a Java or C clone falls flat.

Cue comment chaos. One camp cheers, chanting “libraries over languages,” while another fires back: do not tell me to stop inventing languages. A practical voice suggests using a domain‑specific language (a mini language for one job) or just building the same thing in Python, noting that AI tools are trained better on Python code, and plugging Starlark for predictable behavior. Meanwhile, a title-gate erupts when a reader points out that missing quotation marks change the message—HN’s favorite sport: argue the headline, not the article.

Then the spice hits: a rant claims modern languages are kneecapping their most popular libraries by baking them into the core—hello, Node.js test runner drama—turning community favorites into “official” competitors. Memes fly: “Java on Rails?” “C on Rails? Good luck.” And a referee steps in, saying the comments are clearly split between headline warriors and content readers. It’s messy, it’s loud, it’s very online—and totally addictive.

Key Points

  • Libraries significantly boost developer productivity, especially for non-experts.
  • Ruby on Rails is cited as a transformative framework enabling rapid web development.
  • Python has Django, but Java and C lack Rails-equivalent frameworks that are as easy to use.
  • Popularity and economics (per the TIOBE Index) do not explain the absence of Rails-like frameworks in Java/C.
  • Rails depends on Ruby’s semantics (e.g., metaprogramming, runtime evaluation), limiting direct porting to other languages.

Hottest takes

"I will not. I refuse" — tonyg
"it's stupid that languages are now trying to kill their most popular libraries" — conartist6
"The quotation marks... stripped from the title changes the meaning quite a bit" — xigoi
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.