One of the functional programming feature is absence of variables
assignments, than allows to avoid side effects. But writing and
reading data is alike set and get external variables, so we again come
to a risk get side effects working with databases.
Are there any ideas how to walk around this risk, excluding 'human
element' from the process.