Programming-Idioms

History of Idiom 3 > diff from v31 to v32

Edit summary for version 32 :
New Python implementation by user [A]

Version 31

Version 32

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 a():
	pass
Comments bubble
Without side effects