Functions

  1. Hello World function
  2. Hello You function (passing parameter)
  3. Function with multiple parameters
  4. Function with return value
  5. Multiple return values
  6. Returning an error from a functions
  7. Named return parameters
  8. Passing a function as a parameter - Callback function
  9. Callback function with one parameter
  10. Anonymous functions
  11. Anonymous functions assigned to name
  12. Numbers are passed by value
  13. Function Overloading - Multiple function with the same name
  14. Defer
  15. Defer early returns
  16. Deferred cd in a function
  17. Defer in if-statements
  18. Defer and parameters
  19. Exercise: Fibonacci
  20. Exercise: Defer remove temporary directory
  21. Exercise: FizzBuzz in function
  22. Exercise: ROT13
  23. Solution: FizzBuzz in function
  24. Solution: ROT13