Last night, two of us (Emma & Sara) were pleased to be invited to speak at the Society of Young Publishers’ Coding at the Castle event, along with Ben Bisset. We promised to publish some notes and provide links to the resources we recommended: here they are.

Emma’s slides

Emma both wielded a stick and dangled some carrots in an attempt to provoke and inspire the full-house audience to improve their technical literacy.

Here are her slides. And here’s her code-as-poetry.

To run it, open up IRB (which stands for Interactive Ruby).

  • If you’re using Mac OS X, open up Terminal (Google open terminal mac) and type irb, then press enter.
  • If you’re using Linux, open up a shell (Google open shell linux), type irb and press enter.
  • If you’re using Windows, install Ruby, then open Interactive Ruby from the Ruby section of your Start Menu

You’ll be at a prompt, just like a a blinking cursor at the start of a Word document. It will look like this:

Paste all the code in to the irb window. Then press enter so that the irb console can accept the code, ready to execute it at your command.

You’ll see the prompt again. Paste in the following text to execute the commands.

send_the_jacket_to_the_shops(my_books)

Notice if anything happens, and read back through the code to see if you can follow what happened.

Then paste in the following text, press enter, and see what happens:

my_books.each { |book| book.send_if_approved }

Sara’s slides

Sara wowed folks with code that allows Harry Potter to defeat a dementor. Here are her slides.

Resources

Here are the resources we mentioned:

Please keep in touch and let us know how your foray into coding goes. We’ll be here for you!

Are your current systems sabotaging your growth ambitions? Are you hungry to implement new business models, but concerned you lack the strong administrative foundations needed for innovation?

We're always amazed at how resigned publishers have had to become to the low bar in publishing management systems. Demand more.

Contact us via our contact form, or email us.