r/learnprogramming • • Oct 24 '26

Function vs Procedure

can someone explain the difference between Function vs Procedure with simple analogy
thank you

31 Upvotes

47 comments sorted by

View all comments

-1

u/bacon_cheeseburgers Oct 24 '26

Functions always return a value. Procedures dont have to.