Logo

Programming-Idioms

History of Idiom 3 > diff from v10 to v11

Edit summary for version 11 by :

Version 10

2015-09-03, 13:26:34

Version 11

2015-09-03, 21:07:14

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Code
def finish(name) do
	IO.puts "My job here is done. Goodbye #{name}"
end