segunda-feira, 11 de junho de 2012

Persistence vs Endurance

Quick post about a distiction that I find important for programmers in general, and specially for those involved with declarative programming. You can thank Ritch Hickey for this post 1 2.

Persistence is a synonim for immutable. That is, any function applied to this structure should produce a new version of it instead of mutating it.

Endurance is the capacity of a thing to resist the passage of time. This is what usually what people refer to as persistance.

2 concepts decomplected. Cool.

Nenhum comentário:

Postar um comentário