I started learning pythonPython and I am wondering why empty function are needed in a programming language.
e.g. in python:
def empty_func():
pass
evenEven in shell scripts empty function empty functions are available.
My Understandings and question:
Why do programming language neededlanguages need empty functions? Is it for just playing around with programming language or nothing else that really matters?
If this has a purpose, can anyone describe the use case or give a real example of the usage of empty functions?
Or is there any tradition of programming languages allowing empty functions?
**EDIT (Things I got from reading your answers) :**
EDIT (Things I got from reading your answers):
- For Sketching Algorithms or with Abstract Functions
- For Submitting forms with no action needs to be performed
- Placeholder for some mandatory operations