Two blank lines are expected between functions and classes and one blank line is expected between methods of a class.

Anti-pattern

This example has too many blank lines.

function Foo(Bar):
End Function

Best practice

Function Foo(Bar):
End Function