Skip to content

Conversation

dotemacs
Copy link
Contributor

Started to read your Software Design X-Rays and then came across this repo.
Still not finished with the book, but I had a look at the code and there were small changes/tidy ups.
See what you make of it.

A summary:

  • removed unused namespaces in requires
  • using require over use, especially when it comes to inchanter
  • fixed arg vector/doc string ordering
  • whitespace removal of all the files I've touched

Since they aren't used, removing them
I did it since the second argument wasn't used
Requiring incanter instead of using use, since it's idiomatic
Doc strings come before arguments vector
Requiring it with an alias as it's idiomatic
Using an alias within require, over use, as it's more idiomatic
Removed the extra whitespace.

All the files that I touched added this change, since somebody else
coming after me might get tripped up by this, I'm adding this.
Made the git commands cut & paste friendly.

It is just the redirection of the output to a file, but the less the
user has to "figure out" when reading the README, the nicer their
experience.
@adamtornhill adamtornhill merged commit f415477 into adamtornhill:master Dec 29, 2020
@adamtornhill
Copy link
Owner

Solid PR -- thanks a lot!

@dotemacs dotemacs deleted the tidy-up branch December 29, 2020 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants