]> granicus.if.org Git - fortune-mod/commit
Extract a common class/struct.
authorShlomi Fish <shlomif@shlomifish.org>
Fri, 3 Apr 2020 17:49:20 +0000 (20:49 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Fri, 3 Apr 2020 17:49:20 +0000 (20:49 +0300)
commit1fb6f706566008f58bf8c14d687e8a60e2916fbe
tree30221c0b6fe40d615011fac0128fdb67f5d6ee2e
parente7aae5b7358faeb58fc8e1e6a31839f0f63a467c
Extract a common class/struct.

This is Refactoring / code cleanup.

See:

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

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

* 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.
scripts/debian-packaging/docker-test.pl