Autobob is a set of scripts that can be used to post excerpts of Bob's books onto Slack channels.
It basically sends a message to Slack channel with some formatting around it, to accentuate the passive-aggressivity of what you wanna say.
I used to use it back at BuildDirect to disseminate words of wisdom. It was fun. At least for me.
- Copy some paragraph from Bob's e-book from your favorite Kindle reader.
- Run ./autobob.sh and answer the questions.
- See it crash because you're not using a Mac
- Buy a Mac
- Run again
- See it crash because you didn't setup the environment variable
SLACK_HOSTNAME
andSLACK_SLACKBOTTOKEN
. Go figure what their value should be. - Run again
- See it crash because your channels are probably not the same as mine
- Fix the channels you want to send to
- Run again
- Observe that at this point the formatting is really screwed up because it played with the clipboard in a very bad way. And yeah, it's tightly coupled with the clipboard and non-idempotent.
- This tool really sucks.
- Copy again, then run again.
- At this stage if it works it's a miracle. But if it does, it's gonna send a message from slackbot that looks like below
- Also the tool pre-dates Clean Architecture, so if you wanna add it, have at it.
- Alternatively you can use
bobify.sh
which just formats what's in your clipboard (and also works only on Mac)
Behold, the word of Bob
Fired
The next day my supervisor thanked me for my help, and terminated my employment. Apparently ASC didn’t feel they had the time to nurture a 17-year-old.
Martin, Uncle Bob - Clean Coder, page 4
Glory to you, O Bob!
Hopefully you'll use the tool to disseminate more useful insights, such as -
*Do no harm*
The true professional knows that delivering function at the expense of structure is a fool’s errand. It is the structure of your code that allows it to be flexible. If you compromise the structure, you compromise the future.
The fundamental assumption underlying all software projects is that software is easy to change. If you violate this assumption by creating inflexible structures, then you undercut the economic model that the entire industry is based on.
Like any tool that preaches something it absolutely doesn't follow the precepts that gave it birth, it's tightly coupled to Mac (use of pbpaste) and to Slack. And there's some copy and paste. So it's pretty much worthless. But, eh.