General Comp Sci Notes

A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters. https://stackoverflow.com/a/156787

A procedure executes a sequence of commands. A function returns a value based on its inputs. Not really an important distinction anymore.

An expression evaluates to a value. A statement does something. Expressions can have side effects as well. https://stackoverflow.com/a/4728147

results matching ""

    No results matching ""