Hacker News new | ask | show | jobs
by enoch_r 4627 days ago
> ... which isn't 'functional' in any sense.

Functional programming is very closely tied to the notion of immutable data. "Don't modify data in place" is one of the pillars of the functional model.

> It seems that Hickey just reinvented time series and tries to sell those as database.

Datomic is much more than a time-series, although that's the aspect that arguably makes it "functional." For example, it provides a datalog query interface and has a pretty fascinating and unique architecture that provides extremely high scalability for queries. If you don't like Datomic, or if it doesn't suit your purposes, or if you think it's overpriced for its value-added (I do), that's cool, but don't dismiss it based on a malformed understanding of what it is.

1 comments

> Functional programming is very closely tied to the notion of immutable data. "Don't modify data in place" is one of the pillars of the functional model.

I don't think the Lisp fans here at HN agree.

> Datomic is much more than a time-series, although that's the aspect that arguably makes it "functional."

Not really. Time-series are not 'functional' by any stretch of the imagination.

BTW, an add-on to Hibernate, the (in)famous OR-mapper, tries to do something similar: http://docs.jboss.org/envers/docs/index.html

It's a functional database since it allows you to create database applications using functional programming.