I'm new to Cypher so trying hard to write idiomatic Cypher where possible.
Some of my larger queries were calculating data that, say, only changes once a day, on the fly, e.g. a person's age, and then using that age in a WHERE clause.
I've now realised I can, of course, pre-compute their age and store as a property on the node and do the same for computed relationships. It makes the original queries much smaller and easier to understand, just like refactoring code.
It strikes me this is just weighing up the relative costs of time, space and readability. But is this idiomatic Cypher? Are there other benefits or costs I am overlooking?
Thanks in advance.