With the arrival of Code Blocks in Dynamo version 0.7.0 and later, there are now at least four distinct options for calculating stuff:
Traditional nodes
The Formula node
Python
Code Blocks
(There's a fifth method, too, if you write your own node, compile it, and import the dll using zero-touch import—look for a future blog post!)