How to keep Code short?

Here is the context : How to shorten a calculation-syntax?