RSS
Facebook
Twitter

Wednesday, October 9, 2013

Make the Future Java



I think this is a nice example of how to showcase technology and make it relevant and exciting for people.  Something with this approach could do more for increasing the number of people interested in programming as a career than any of the traditional approaches of getting kids and "minorities" interested in IT.

Wednesday, September 25, 2013

Kids These Days

I'm a great believer in getting kids to code early - after all, I'm of that generation that was taught 


at the age of 9.  There are quite a few approaches to teaching today's kids in an engaging way, but I'm a bit wary of the sandbox solutions that teach kids things like how to navigate a virtual thingie around the screen, or lets them create things in a limited virtual world.  I don't think kids will easily make the leap between these sort of games to seeing the full potential of programming - they're too limited and have no context for the kids.  It's just another game.

Kids need to understand how programming fits into their world, they need to understand the context of coding, if they're going to fall in love with it.

I like Jason Gorman's comparison of programming to music.  Most people learn an instrument because they want to make the sort of music they hear on the radio.  But you give them a recorder and teach them to play "snug as a bug in a rug" and they go off the idea entirely.

"So, is this a sexy tune, Mrs. Badcrumble? I just don’t think, Mrs. Badcrumble, that this is really gonna be a sexy tune.".

Similarly, you give kids a sandbox environment specifically to learn programming for the sake of programming, and they're not going to see how this turns into Facebook or Google or the apps on their phones.  They're going to continue seeing computer programs as something that magicians in a land far, far away made just for them.  The same way breakfast cereal is grown in box only for them.  They don't see programming as something they can do, they don't see the computer as something they can influence.

Just the slightest hint, the slightest push, to show them that they can be the magician, that they can have power over this world. That's the way in.

Many of my generation of programmers learnt by coding those godawful choose-your-own adventure games.  They weren't pretty or elegant, but in a single lesson we learnt that a short magic incantation could create something that looked like those games we played.  With a bit of persistence we could truly create our own adventure, with a story that we created, not just follow someone else's paths.  And then we could inflict that on our little sisters.  It was such a short distance from the BBC command line to a game that many of us saw what programming could create, and that programming was something we could do.

There's an argument these days that computers got so complicated, so elegant, so perfected, that "kids these days" don't have that.

This is not true.

It's just not.  Don't be fooled by this.  Sure, PCs in the 1990s made it more tricky to simply program the thing.  And IDEs felt, to those of us who learnt from a blinking prompt, like cheating somehow.  Or, at the very least, they divorced us from the internals of the machine, provided us with too much separation (what nonsense, by the way - an IDE must be much closer to the command line than  BASIC is from ones and zeros).

But those days are waaay behind us.  Several more levels of indirection later, and actually it's much easier to write something that gives the immediate feedback, something that has real context, that will help kids get it.  This will help kids see why.  They're the same as us, they can't just be expected to do it because, they want to know what's the point.

And these days it's easier. You've got:
To name but a few.  That's not even including the fact that you can get coding web pages and python code pretty quickly and see instant feedback, or even use an IDE to create a UI in something like C#.

The first three items in the list are great for people who are very touchy-feely, who want to see something in the real world.  Can you imagine how exciting it would be for your kid to see that they wrote a program that closes the curtains?  It's a tiny, stupid thing, but you just gave them control of the physical world they live in.  Let their imagination do the rest.

The other ideas are probably more directly related to the stuff they use the computer for.  You're really providing them with a way to customise the tools they already use.  Who doesn't want to imprint a bit of themselves on the virtual world?  These sorts of thing let them control a world they understand - in the context of a tool they know (e.g. Facebook), they create a game or a plugin or whatever that works within that world.  And they start to see that this tool they use to talk to their friends, this tool that is there to fill their spare time, is something they can control.  Maybe they'll start small, but they'll soon learn that everything they use, everything they touch on the computer, is really only code that some other human has built.  They'll start to see that the computer-machine is influenceable, that they can tell it to do stuff and it will do it.

That is addictive.

That's what we want.  We want to open their minds to how their world is constructed, and show them that they can influence it. They can control it.  


They can change the world.

Monday, September 16, 2013

JavaZone, Oslo

For the rest of 2013, this blog will mostly be masquerading as a travel blog.

This week I've been in Oslo, and I liked it.  Actually, you'll be hard-pushed to find somewhere I've visited that I didn't like in one way or another, but Oslo does make my "definitely going back there" list.  If Seville, where I've been for the last month, is stuffed full of History, Oslo is overflowing with Geography.  I've noticed a pattern in that my favourite places were sunny when I visited them first, which subconsciously prompts me to love them (as a vitamin-D-deprived Englishwoman).  Oslo was NOT one of those places, it was overcast and extremely chilly compared to the south of Spain.  But the countryside around it is really pretty, and it's very green and mountainy and watery.  Not like Spain, or the UK for that matter.

I found the Norwegians really friendly, and as with all the Nordic countries their English is better than you'll find in an international and technically English-speaking city like New York or London (I'm not criticising New York or London, I love their diversity and international-ness, and the fact that London has more active spoken languages than any other city in the world, it's just the excellent standard of English in somewhere like Oslo is very noticeable).

Anyway, on to the point, the JavaZone conference.

Over the last two years I've been to a lot of conferences, and over the next month or two I'm probably going to double that number.  So I didn't give JavaZone the attention it truly deserved.  I was, rather boringly, preparing my talk and doing actual work while I was out in Oslo (and less boringly meeting up with old friends) rather than attending the conference.

However that's actually a shame, as from what I saw of the conference it was a really nice one.  Small enough to run into people you've met before or get talking to strangers, big enough to attract some great speakers and exhibitors.

Oslo Cathedral
The thing that struck me the most though is that it had by far the best exhibition space I've seen at a conference.  I'm not sure if it's a result of it being right in the centre of all the rooms, due to the layout of the venue, or if it was simply extremely well designed.  What I liked about it was that the stands for the exhibitors were located around the hall and interspersed with different types of seating for attendees to hang out in - cafeteria-style tables; lounge areas; bar-style high tables and stools; bean-bags; space for people to stand and chat.  This mix of exhibitor stands and social space made it feel a bit like a party.  And while the benefits to the exhibitors are obvious (they can chat really easily to the attendees and hand out freebies), as an attendee it seemed a more relaxed approach and less sales-y than being pounced on by the poor lonely people manning the booths in the sort of exhibitor's hall where you run through it to get to the food.

Speaking of food, JavaZone had the best approach to food I have seen at a conference.  There were loads of hot and cold food tables around the hall, with different types of food, served all day.  I spotted Italian, French, Sushi, American, cake, and the ever-lasting burger bar (a dangerous thing indeed).  This neatly avoids a lot of issues with "dietary requirements" (vegetarian, gluten free, low-carb etc) and gives us the impression of choice rather than having food foisted on us (see: JavaOne.  Sorry Oracle but your food situation seriously sucks).  Serving it all day avoids massive queues that steal away all your break time, and puts less pressure on you to eat when you have to.  I have no idea how much this set up cost, and I'm pretty sure it wouldn't work at most venues as they have their own catering arrangements, but it was something that seriously differentiates this conference and venue.

But my favourite thing about it was the quality of the coffee.  Yep, you heard me correctly.  It wasn't the great speakers (I didn't get to see many talks but Tim Berglund's talk was excellent, and Ken Sipe has had a bigger impact on the MongoDB Java Driver than he will ever know).  It was the coffee.  They had all sorts of different coffee stands dotted around the place.  Some sponsored by companies, I guess, and I think the Nespresso-style capsule coffees (that were sadly abandoned because the other stands with baristas were so popular) might have been the default conference coffee.  But being able to grab a really good quality cappuccino without having to leave the venue was a very welcome change from the usual conferences, and it keeps you in the exhibition area with everyone else.

Tim Berglund speaking in the... challenging... room 1
Just because if I don't mention it by now it's a bit unfair on JavaZone - they had a good proportion of women attendees.  Wherever you looked you could see at least one, which is (sadly) a lot better than many conferences.  I'd estimate it at around 10-15%, which is not bad at all.  I wonder if they did anything special, or if that reflects the normal proportions of women techies in Oslo?

OK so I'm clearly extremely superficial in my appreciation of conferences.  Maybe this is the result of having attended quite a few now.  But if you go to any Java conference (in particular, but maybe other types of tech conferences too) they're really focussed on getting great speakers with good presentations (as they should be).  So it's the details that will set your conference apart from another.

Of course, location plays a part of it.  If you're based in Oslo/Norway and a JVM person, JavaZone should clearly be your first choice.  But if you're in Europe and are going to have to fly somewhere to get to a conference anyway, you have quite a lot of choice now, and you might be tempted by this conference.

I wonder if one day I'll be able to do a "definitive guide to this year's conferences" in advance and be able to suggest the ones you should go to based on different sets of criteria?


I'd be remiss if I didn't mention my actual talk at JavaZone, since that was the point of me being there.  I unveiled a new talk, although the sharp-eyed amongst you will probably notice that I've re-purposed/re-written the "What do you mean, Backwards Compatibility?" talk from this year into a more general why-developers-should-care-about-software-design talk.  It turns out this was the perfect conference to do this presentation, as there were quite a few process-ish presentations suggesting that developers should do more than simply learn about technology.  These are challenging talks to give at technical conferences - there isn't always a "process" track, and if there is it's often not for developers.  It is assumed that developers want answers, and tools, and technologies, and often this is true (normal caveats apply around making gross generalisations, but for some developers and some conferences audiences this is true).  It was great to be able to give this talk to a good-sized audience of smart techies who, I think, got what I was trying to say.  I don't really know if I'm preaching to the choir or not though, or what people are really taking home with them.


You can let me know in the comments (or via twitter or e-mail) what you think of the talk - what did you like? Am I just telling you what you know, or did you learn something specific? Or did it re-enforce your own beliefs?  

Saturday, August 31, 2013

The second in my short series of blogs about the new Java driver is now available for your perusal.  In it, there's some guidance on how to get started using the new driver, whether you want to use the new (unfinished) API, the existing "classic" API, or a blend of both.

The post also shows that Gradle is prettier than Maven.  Sorry Maven.

If you are going to play with the new driver, please read all the caveats carefully.  I know it looks a bit like the warnings on your prescription medicine, but it serves the same purpose.  Short version: the driver is not finished yet, and should not be used in production.

We really want to hear your experiences with the driver - it is an open source project and MongoDB is very much driven by the community, we want to hear from you.  But only if you say nice things.  No, seriously, please tell us if you have problems, if functionality is missing, if your tests fail if you start to use it, etc etc etc.

Go play.

Friday, August 30, 2013

Yesterday Stephen Chin, one of Oracle's Java Evangelists and the JavaOne content chair, interviewed me via a live stream about JavaOne, the new MongoDB Java driver, and my plans to Change The World.

It was a fun interview to do, and I really like the format of being interviewed over Skype and streaming my desktop.  There's a slight (OK, 25 seconds, not really low latency) lag between the screen and the speaking which means it's not a great platform for doing live demos, but I think I'd like to do more code demos in this way, if I can find a suitable platform.



Thursday, August 29, 2013

Life on both sides of the interview table

InfoQ has posted the video of Dan North and I opining on the subject of hiring.  Most of the talk is spent on how to be a good interviewer, and touches on how to market your company to prospective hires.  We spend less time on how to do well as an interviewee, but in theory if you know what's going through the interviewer's mind, you should be in a much better position to take control of the interview and shine.

It's kind of funny because we talk a lot about hiring at ThoughtWorks (where we both worked, and which has one of the toughest interview processes in the industry) and LMAX, which learnt a lot off ThoughtWorks and shaped its own process for a smaller company that has different goals.  Yet neither of us work at those places now.  Still, we share stories from many of the places we've worked (or chose not to work), and if there's one take-home point, it's that hiring (and being hired) is not a simple thing to do well.

Monday, August 26, 2013

Autumn World Tour

It's nearly the end of August already (how is summer allowed to go by so fast?) so it's time to start thinking about the autumn conference scene.  It feels like I'm going to be at most of them this year, so hopefully I'll see you at one of them?

11-12th Sept - JavaZone, Oslo - Design is a Process, not a Document
16-20th Sept - New York - meeting and working with the MongoDB JVM and .NET teams in our shiny new office.
22-26th Sept - JavaOne, San Francisco - Design is a Process, not a Document (I'm in CA 20th - 27th)
30th Sept - 2nd Oct - GOTO Aarhus - Career advice for Programmers; Power Use of Tools.
17-18th Oct - GOTO Berlin - What do you mean, Backwards Compatibility?
28-30th Oct - JAX London - A workshop on the new Java Driver; Design is a Process, not a Document.  I should be in London all week.
December - YOW Melbourne, Brisbane, Sydney - What do you mean, Backwards Compatibility?