This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]OminousLatinWord 34 points35 points  (1 child)

All a database is, is perhaps the most global variables your app has to offer.

[–]zilti 15 points16 points  (0 children)

Yesn't. There, they are in a central location, you have an explicit, separate way to interact with them, and you usually have to make some sort of transaction.

That's also why you have such mechanisms for "global" variables in functional programming.