]> granicus.if.org Git - fortune-mod/commit
Extract a method or a function.
authorShlomi Fish <shlomif@shlomifish.org>
Mon, 30 Mar 2020 09:01:04 +0000 (12:01 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Mon, 30 Mar 2020 09:01:04 +0000 (12:01 +0300)
commite1695e40da441d0329d62d7659b3811497763023
treec362e50bf653b29e0d41695bbda8d93791061c2a
parentd5fd9ce0880aebb9cc149017b1c2a7829d2006ca
Extract a method or a function.

This is Refactoring / code cleanup.

See:

* https://refactoring.com/catalog/extractMethod.html

* https://en.wikipedia.org/wiki/Code_refactoring

* https://www.refactoring.com/

* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/

Some small optimisations may have slipped in as well.
fortune-mod/fortune/fortune.c