I'll Show You Mine If You Show Me Yours... - Presentation Transcript
I’ll show you mine
if you show me yours
Coding in the open with git and GitHub.
Hands in the air time...
How many people here:
write code?
write code that other people use?
let people see that code?
Developers are secretive
We don’t like people seeing our mistakes.
Code reviews scare us.
This is wrong-headed
That was me
I used to only release code when “finished”.
(I never released any code)
But...
I wanted to make my half-finished code
available to others.
After all, it might help them.
It might?
Just because I don’t think something’s ready
for production doesn’t mean it won’t help
someone understand or learn.
View Source is great.
But I didn’t share. I was lazy.
I started using git
Distributed version control.
Great for me on the train.
I signed up for GitHub
Offsite storage of my git repositories.
GitHub is great!
I get to share my code for free.
Free as in beer.
Free as in making sharing easy.
Free as in choosing my own license.
Objective #1 Complete
Users can get at my code whilst I’m still
developing it.
Hooray!
GitHub is People
GitHub has a great community.
People comment on commits.
So what?
People commenting is an indirect code
review.
My code improves.
Because I know people are watching I write
better code.
And I write more documentation!
Fork Code Easily
GitHub lets you easily fork someone else’s
project.
They can merge your changes back into the
main project if they want.
Everything into GitHub
I put everything in now.
If it might be useful to someone it gets
Hubbed.
Hurdles
It’s scary to let people read your code.
It gets less scary though.
After that it’s awesome.
Stop. Demo Time
For the benefit of the podcast, in this
segment of the presentation will give a live
demonstration of GitHub.
Almost certainly, something will go wrong.
So that’s it.
http://github.com/NeilCrosby
http://neilcrosby.com/vcard
NeilCrosby on most sites, feel free to add.
This talk: http://icanhaz.com/opencoding
Title page photo: http://www.flickr.com/photos/nwistheone/72190758/
0 comments
Post a comment