My Problem With Teaching To Code

  • tomsmith 

I often come across people who at some point, got the bug for coding (sorry) and signed up to LEARN HOW TO CODE, and then spent weeks learning Python. And all of them expressed a disappointment that it had been really difficult and at the end of the day it hadn’t been worth it.

The thing is, I kind of think it’s Python’s fault. Whilst I’m a massive fan of Python, and spent rougly 14 years where it was a primary tool, and the story went, back in the day that “Google was written in Python, you know”, it’s not a fun tool, it’s an astonishingly capable programming language.

Python is not the tool to teach coding

I have had lots of ridiculously positive feedback from teaching tools with which you can do fun things fast. I tried to write a game in PyGame once. That was a hard year.

For example, with (Livecode Community Edition) you can quickly create a multimedia adventure game and compile it to an .apk file for Android. Amazing!

With Thunkable, which uses Scratch code blocks, we create an app that immediately runs on the students’ phone that speaks whatever you type. Great fun!

With p5js within the hour we create ridiculously fun animations and visualisations, whilst student stealth-learn Javascript.

These are sorts of tools people should be learning when “learning to code”.

With each of them you learn the fundamentals of coding, variable, control structures, repeat loops, lists etc… BUT the results are completely immediate and fun!

There’s an interesting discussion about the whole area of “teaching to code” vs. “teaching to Adobe” which for me boils down to helping students to see the possibilities rather than only the outcomes and deliverables, or end product.

https://discourse.processing.org/t/teaching-to-code-vs-teaching-to-adobe/15126

More later…

My Problem With Interactive Fiction

  • tomsmith 

I’m planning to teach a session on Twine soon. Draft here.

Don’t get me wrong, I’m a huge fan of hypertext, but when it comes into Interactive Fiction, I both love it (conceptually darling) but also, have these issues.

https://crowscrowscrows.itch.io/the-temple-of-no

Presentation. The fonts, font size and screen layout are awful. They need to be Kindlized. Often just hard to read. Reading. I link to the Temple of NO because it was a breath of fresh air in this regard. It felt both subversive (of the genre) and stylish at the same time.

There is always the nagging feeling of “have you read it all?” or “How far through this am I?” because it breaks the physical contact of a book. I don’t like the loss of control of time but love the loss of control in narrative. It could end at any point

And whilst the uneccesary diversion is a fantastic thing in itself, a weird island of experience, for some reason, I feel like I’m not getting anywhere. Maybe that’s just something I need to get over?

Temple of No Spoiler alert… “Er, yeah…. psshh, pff, pff!”

There is a fear of losing one’s place or stare, and that feeling that you haven’t won somehow and the idiocy of “getting a different outcome” and therefore wanting or needing to play the game again to get a different outcome, or a better outcome. What’s that all about?

But then. I have a problem with fiction. It’s all made up you know.

When I watched Bandersnatch, to be honest I wasn’t in the mood. I didn’t like having to click all the time, when sometimes I want something to just wash over me. I stopped half way through, although where half way is moot, and watched that Ennio Morricone/Tarrantino film.

Then, all interactive narrative has to deal with the distractions of the internet. See Netflix. I wonder what Twine on a Kindle is like?

What I Like About Interactive Narrative

In the case of Temple of NO, it was the playing with form and the humour.

Authors make people DO things. The inverse of the clicking thing. I actually sang along with a song. I clapped. I’m not sure how much sentience and agency the media I am interacting with has. Can it hear me? Can it see me? Can it rifle through my internet history and send for help? I don’t want to give away any spoilers but this is an idea I want to play with myself.

With https://zachstronaut.itch.io/actual-real-time-machine I really enjoyed what the author did. Go try it. I’ve always wanted to time travel and this must be what it is like.

I have always been a fan of dada and the disclocatative. I love Tristram Shandy, Monty Python, Q8, Vic Reeves Big Night Out. Personally, I am naturally distracted, distractable and passionate. I get lost in thought rabbit-worm-holes every second. Maybe this tendency makes interactive narrative games a challenge, not that they’re too weird, but they’re too close to home.

Despite being hyper since Ted Nelson’s Intertwingularity, the rise of indie games and interactive narrative is all new to me, and it’s clear I have a lot to learn.

So here goes.

Creativity is like Marmite

Can You Teach Creativity? Of course you can’t, but let’s do it anyway.

The thing is, creativity is like Marmite, but not in the “you either love it or hate it way“. No, creativity is exactly like Marmite because it a byproduct of some other completely unrelated thing. In Marmite’s case, that thing is “beer” or the brewing industry. Marmite is like PostIt notes, which were the product of researchers at 3M trying to develop the world’s strongest glue and accidentally developed the weakest.

When it comes to creativity, it is a byproduct of doing and being.

By that I mean, if you be, then you are in a context. And if you do, something will come out.

Do-be-do-be-do… lalalala… do-be-do-be-do…. etc

Now, like the Marmite factory, they don’t just randomly select sludge and waste from the brewing industry, although to be fair, it might be said that that was how Marmite was invented, or is it discovered? And so it is with creativity. It helps if the raw material you feed into this over-reaching metaphor has a quality that will result in something worth spreading on toast, or indeed engaging with in any sense.

The being part, I feel, is important. And by this I mean that creativity, unlike Marmite, is really easy. You can start being creative and not stop quite easily, but I don’t recommend this as an approach, although it is fun. What being brings to the table is a context in which to do.

At this point I get nervous, because that sounds like I’m advocating an almost design ethic to creativity, in which the context provide the problem that you then solve with creativity. This isn’t what I mean at all, but there are elements of it in there. Having suffered, and although I say, suffer, I mean, enjoyed, lengthy periods of mania in which every stroke of an ultraviolet pen was “genius at work”, I don’t advocate this as a way of working, because whilst it might be true, it doesn’t sit well with that most evil of beasts “the real world”.

The real world couldn’t give a fuck, and probably rightly so, and so, a better way of fostering creativity, in my opinion is to give yourself over to certain ways of being, totally. Imagine being Kate Bush singing Wuthering Heights in a Marmite factory, but simultaneously foster an inner critic who has an eye on your rent and the fact that you’ve had a verbal warning about not wearing a hair net.

Here we are with a paradox about what creativity even is, because creativity is only creative after the fact, after something has been created that was “any good”. If something is valued, then the creative process is worth it, but, the cliché of the starving artist isn’t a cliché for nothing.

If your creations aren’t valued, welcome to club. It doesn’t mean they aren’t creative, it’s just being “ahead of your time”, or born without the right connections isn’t a career because, like medieval times, the “winners” are the ones that write the history, or have it written about them. If I had a pound for every thrid rate artist who found a gallery, and a market for their work, I’d be a millionairre. Assuming “art” is the creativity game, which it really, really, isn’t, it does seem that creativity is, as well a being hard to define, is definitely scewed, not just in the art world towards almost random accolades for very average work.

Or do I need to get over myself?

So rather than fretting about what creativity is, or how you foster it, you simply have to do. And by do, I mean you don’t do creativity, that is a nonsense. You simply engage with something as you. And it really doesn’t matter what that is, and it will probably be more successful if you find something that really resonates with you as person, and if the thing you are doing also has that tingle about it.

It will also help if you engage with lots of things, with lots of people. An openness is essential, and whilst you can’t do everything (take a moment to accept that), you will benefit if you are open. Being open often involves feeling out of your depth and a whole heap of “Why the fuck am I doing this?”. Trust me, it will be time well spent.

I still haven’t got to the good bit. The DO part.

That is easy in many ways. You may have lots of avenues you want to walk down, but over the centuries many creatives have outlined both reasons for an means to develop creativity, and the results I’m afraid are GUARANTEED.

The only part of selling the notion that “creativity is easy” that I feel uncomfortable about is that it analygous to a gym membership, which is guaranteed to make you buffer, but you’ve got to turn up and put the work in. And by putting the work in I might mean, taking things out.

“Putting the work in” in creative terms is easy to qualitify:

  • You are interested
  • You make stuff
  • You are curious
  • You collect stuff
  • You prune your collection
  • You reflect on all of this

And there are shed loads of beautiful creativity methodologies, including:

  • Automatic Writing
  • Blackout Poetry
  • Montaging
  • The Cut-up Method
  • Introducing Randomness – like Eno’s Oblique Strategies
  • Creative Prompts

All of the above are great fun, look ’em up and give them a whirl. Even better, why not try them and add your own twist.

I love using both physical real world creativity techniques. Why not get a pack of Story Cubes and write something?

… but I also like to use digital tools to get things started, adding a “bit of random” like…

Generate N Words: https://randomwordgenerator.com/ 

Generate Three Nouns: http://writingexercises.co.uk/take-three-nouns.php

William S. Burroughs and David Bowie are both famed for using the Cut-Up method to help bring ideas to life. https://www.youtube.com/watch?v=m1InCrzGIPU

Get a notepad, or a magazine and a pair of scissors, or again, use digital equivalents such as…

The Cut-up Machine

http://www.languageisavirus.com/cutupmachine.php#.XdVeXTL7SL9

The N+7 Machine progressively mushes your text. Or maybe a text you’ve found.

http://www.spoonbill.org/n+7/

Text Mixing Desk

http://www.lazaruscorporation.co.uk/cutup/text-mixing-desk

Not that I fully understand them, but Markov Chains are an oft used programming algorithm to generate text from a body, or corpus of text.

Whether you understand them or not, there are some interesting tools that may help get started writing such as…

Poetry Generators

https://www.poem-generator.org.uk/

http://michaelpaulukonis.github.io/poetrygen/jGnoetry/index.html

Automatically generated lyrics based on a database of all lyrics

http://billion.dev.losttech.software:2095/top

Character Generators

https://www.character-generator.org.uk/quick/

You can even use Artificial Intelligence to help you with your writing. Using the tool below, you start writing and AI finishes your sentence or paragraph. Can you adapt to what it creates?

Write With AI Transformer

https://transformer.huggingface.co/

I used Transformer to start writing, and although quirky it did help me send this story about a snowflake in directions I wouldn’t have considered.

Once upon a time there was a tree in a forest who felt all alone.

Or did he? He wasn't sure what he felt. 
It was either that h
e was there, and he didn't know it,  or he wasn't and didn't care about it. He couldn't make up his mind. partly because he didn't know if it was his to make up, or not.

Whilst he was busy pondering these questions a passing snowflake landed on one of his branches.

"Hey get out of the way, I'm try to fall over here!" shouted the little snowflake.

"What?" said the tree, not sure of where the sound had come from.

"I'm trying to get down to the snow down there" said the snowflake, pointing towards the fresh snowfall below.

A little confused the tree said "I don't want to be part of your conspiracy theory. What has any of this got to do with me?"  The tree had been watching too many YouTube videos for his own good, he thought. Or did he? He wasn't sure.

 "Yes I understand." the snowflake grumbled.... "I know you didn't mean it, but I'm stuck here and can you shake your branch a bit?"  The tree shook his head, then thinking better of it, shook his branches too, tutting under his breath.

 And the snowflake thought back to a dream , of him being a little water droplet and how at times all the other water droplets would become him and he'd become a bigger drip. They'd be him and he'd be them. Although thinking about it, some were probably girls. Why hadn't he realised this at the time he wondered.

"Thanks old fella" shouted the snowflake as he tumbled free, realising that probably wasn't the best term to have used in that situation. 

The tree huffed and dozens more snowflakes flurried out from his needles. 

When the snowflake landed,  he squished into all the other snowflakes and felt very uncomfortable. 
"Can you budge up a bit?" he asked the snowflake next to him.
"What? And risk damaging my crystalline uniqueness? Sod off!" 
And so, our snowflake, grunted and literally tried to "get with the drift" of things, as fellow flakes started landing on his head.

All around him all he could hear was "Ooof!" sounds, and snowflakes felt other snowflakes landing on them.

It all was a bit of let down and not what he'd expected. Not at all.   He'd probably have had a better staying up the cloud he thought, I mean, up there did used to long for the quiet life and get "cloud sick" but at least he had a bit of space to himself.

The snowflake found himself getting angrier and angrier about everything.

OK. It’s not great, but I only started writing anything so I could get a screenshot of something being written in the tool. I’m not a writer, as you can see, but the way it sort of cajoles in a rubbish way, really helps. The effect is hard to describe.