Top all-time · #9748
Tom Lokhorst
Personal blog · tom.lokhorst.euprogramming
Tom Lokhorst's personal blog at tom.lokhorst.eu covers programming. Since 2009, 8 different Hacker News readers have linked it 8 times, most often “Why Libraries are better than Frameworks”. The last post was in 2022, but the archive is still widely read.
Too few sampled comments (4) to say how often HN recommends it.?
Why HN links it
HN commenters link this blog in discussions of frameworks versus libraries and of embedding DSLs in typed languages such as Haskell. The comments do not say much about the writing itself.
Summarised by Claude from a sample of 4 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Why Libraries are better than Frameworks4 people · 4 mentions · first linked 2010-09-24
- Deeply embedded DSLs in Haskell: overloading everything under the sun2 people · 2 mentions · first linked 2009-09-04
What Hacker News says?
Many of the Go core contributors and well known to hold that frameworks present an unhealthy inversion of control compared to libraries. The standard library reflects this, for example as "net/http" is very much a library and works very different from applications using IIS or Apache. Many of the earliest gophers hold this position as well. I have been writing Go professionally since before Go 1.0 and I think saying…
Comment linking /2010/09/why-libraries-are-better-than-frameworks
on “Building Web Apps with Go”Submitted Deeply embedded DSLs in Haskell: overloading everything under the sun as a story · 30 points
HN discussion> I really don't get what people mean when they say they're against frameworks. Your app that you're making with no framework...how are things structured? Do you just repeat yourself everywhere? So, there are frameworks and there are libraries. With a framework, you use the structure provided by the framework, and hook pieces of your code into it; with a library, you structure your code to your problem, and use libr…
Comment linking /2010/09/why-libraries-are-better-than-frameworks
on “I won't be using Angular for my next project”Submitted Why Libraries are better than Frameworks as a story · 26 points
HN discussionLanguages with expressive type systems, Haskell likely the most mainstream, allow for deep embedding of an DSL, such that the type system of your DSL can be embedded into the parent language. IMHO absence of static analysis is a huge downside of using an interpreted language. Having type safety in an embedded DSL can only be dreampt of in a language like ruby. http://tom.lokhorst.eu/2009/09/deeply-embedded-dsls
Comment linking /2009/09/deeply-embedded-dsls
on “Benefits of Writing a DSL in Ruby”Submitted Why Libraries are better than Frameworks as a story · 9 points
HN discussionI don't know about meteor in particular - but my advice would be to eschew frameworks in favour of libraries, I'm not the first person to suggest this and it's worth using some google-fu to read the differing opinions. Essentially, Common JS + NPM lets people/teams create their own "frameworks" with very little effort whilst also freeing them from the bulk and cruft of a framework that has a limited future; if it ha…
Comment linking /2010/09/why-libraries-are-better-than-frameworks
on “Ask HN: Is Meteor.js mature to enough to use it for building big applications?”Submitted Leaky abstractions in Swift with DispatchQueue as a story · 4 points
HN discussion