should we pass event parameter all the time

should we pass event parameter all the time

hi,

   In following example event  parameter is passed  in the function .
q1)  is it optional  can we do with out it ,?
or it is good paractice to keep it there where it is.

     $( document ).ready( function () {
  
$( "a" ).click(function( event ) {
alert( "Thanks for visiting!" );
});
});

yours sincerely