The Journalist’s Learn To Code Resource Guide
This is a list of resources you can use to begin to write your own programs, written with journalists in mind. I focus mostly on free resources that are available to anybody online, and resources useful to people starting from scratch. I will be adding to this over time. If you’d like to know about new additions, subscribe to this blog (or follow us on Tumblr). If you have additions or corrections, please leave a comment below. You can also follow me on Twitter, where I am @lisawilliams.
Learn Python The Hard Way
Invent Your Own Games With Python
Google’s Python Class
learnpython.org A site that lets you do exercises online, much like Codecademy, except for Python.
The Django Book — free e-book with tutorials to help you learn Django, a web framework for Python
A Byte of Python
Bastard’s Book of Ruby
Why’s Poignant Guide to Ruby
TryRuby.org A site that lets you do exercises online, much like Codecademy, except for Ruby.
RubyKoans - Online book with examples. Setup guides for Windows and Unix.
Learn to Program with Chris Pine
NetTuts I love this tutorial site. Many good things here.
Tutorialzine Excellent video/text tutorials on a variety of web development topics.
The New Boston — Free educational video tutorials by Bucky Roberts.
CodePlayer — describes itself as “if you could look over the shoulder of a developer as she works” — lots of short video tutorials here.
Free Online Computer Science Courses
Intro to Computer Science, Harvard — videos of all lectures and notes are available for free online as part of the Open Courseware movement. Very engaging instructor.
EdX is Harvard’s new online education portal, which now has many courses. Stanford Engineering Everywhere offers full video of lectures of many computer science classes, along with downloadable study materials. Free.
Intro to Computer Science, MIT — Full video and course materials via MIT Open Courseware.
Google Code University “This site provides sample course content and tutorials for Computer Science (CS) students and educators on current computing technologies and paradigms.”
Lecturefox has computer science lectures and courses available for free online from many universities.
Programming Concepts, A Tutorial for Novice Programmers — CUNY.
Programming Literacy — A Comprehensive Introduction To Programming
Khan Academy says it wants to “make a world class education available to everyone for free.” They have many courses, from K-12 to college level courses, with video lectures, exercises, and more. Here are their computer science offerings.
Not (Always) Free, but Notable:
Udemy offers online computer programming classes. A small number are free, while many others hover between $79 and $99. Online course materials that go along with Zed Shaw’s Learn Python the Hard Way is only $29.
Udacity has a Computer Science 101 course that I’ve heard good things about.
A Very Long List of Freely Available Programming Books
Zed Shaw’s Huge List of Free Programming Books
Hackershelf, community curated free e-books on technology
Getting and Finding Answers
StackOverflow This is a Q&A site for programmers. You can actually post a code snippet here and say “Why doesn’t this work?” But be sure to search first to make sure your question hasn’t been answered! You’ll get snark if you don’t.
I strongly recommend that you find a local group devoted to the programming language you choose to start learning in. If you are using books or online tutorials, at some point you will get stuck. If you don’t have anyone to help you, you will stay stuck. You can check Meetup.com for these. I was helped immensely by the members of the BostonPHP Meetup group.
Setting up a development environment on your computer
You will want to create a “development environment” on your computer. This replicates the web server you’ll eventually use to host your programs, and typically includes web server software, a database, and files and packages required by the programming language you intend to use.
There are several (free!) bundles for popular operating systems:
MAMP (MacOS, Apache, MySQL, PHP)
WAMP (Windows, Apache, MySQL, PHP)
When you download and install these, you have a small, live webserver on your laptop that you can load your programs onto and test.
For other programming languages, you may have to download and install things to make it work:
You’ll need something to actually write your programs in. Programmers have extraordinarily strong opinions about these. Two popular editors, vi and EMACS, both run in the command line in Unix. I’ve restricted this list to graphical text editors. (Thanks to Greg Linch and Chrys Wu for additional suggestions of free, graphical text editors).
BBEdit This is what I use. Not free, but free trial.
TextMate MacOS editor. People I know have said good things about it. Not free, but free trial.
TextWrangler is the free “little sister” of BBEdit.
gEdit is a simple, lightweight text editor. Free and open source.
AmyEditor is an online, collaborative text editor (that is, you can edit code in the browser while another coder looks on from over the web). Free.
A version control system stores your code safely and allows you to “roll back” your changes to a point in time before you screwed it up. You will want it.
Git is the version control system I use. Git is relatively new. SVN is probably the version control system in widest use today, and CVS is the old warhorse of version control.
Github for Mac — a graphical client that lets me see my “repositories” and check in code to Github, the popular online code-sharing site.
Github is a hosted version of Git (read: you don’t have to download and install Git). In addition to doing all the things you want a version control system to do, it stores your stuff in the cloud, AND you can browse and share code. Many news organizations, including the New York Times, The Chicago Tribune, and ProPublica have Github pages where you can view — and download! — their code. (Here’s where you can find my code on Github. Friend me when you get there.)
One happy day you’ll move your baby code onto the web and launch something…and then you’ll have to track bugs and new feature requests! To keep that from devolving into a pile of inscrutable email, use a bug tracker. It will let other members of your team make notes about bugs, or about new feature requests. You’ll end up with a neat, cleanly ordered list of requests which you can rank by priority.
16Bugs — This is what I use. It’s VERY simple, but I like that, and it also integrates with Basecamp. Free for single projects.
Programming resources for women
Hackety Hack — teaches kids to program in Ruby. Good for former children, too.
Scratch — a programming language and environment developed for kids; designed to encourage kids to create games and animations.
LearnScratch.org has great video tutorials for Scratch, delivered in a very fetching French accent.
Snake Wrangling for Kids — Free downloadable e-book teaches programming in Python.
Python4Kids — tutorials for kids age 8 and up.
How to initiate kids — or anyone — in coding - great list of resources.
Intro to Scratch for Kids — Scratch is a visual programming environment created for kids. Lets them make games and animations to share online. It’s really great.
KidsRuby Have fun making games or hack your homework with Ruby
AgentSheets lets you create agent-based games via a drag and drop interface
Alice is a 3D programming environment aimed at kids who want to create games and animations
Hack the Future is a hackathon/self-guided hacking experience for people from the ages of 10 to 19
(I’ve only listed blogs here I actually personally read. Please do feel free to suggest more!)
With thanks to Matt Thompson’s excellent post on Poynter, “Show Your Work.”
John Keefe’s Things I’ve Learned
Derek Willis’ The Scoop
Brian Boyer’s Hacker Journalist
Michelle Minkoff’s blog
Jonathan Stray’s blog
Things I’ve Written about Learning to Program
This page is a list of ingredients — but a list of ingredients isn’t a recipe. If you’re looking for pointers on where to begin, read Learning to Code for the Web: Starting from Scratch. If you’re a journalist and you’re wondering why you should learn to code, or whether it’s practical for you to learn, read Learning to Program for Journalists: The Epic HOWTO. For this site’s most popular posts, check out our GreatestL nnnnnearning to code takes effort, and everybody has to answer the all-important “why bother?” question for themselves. Here’s mine: Code To Make a Point; Code To Make Change
- burnedkingdoms likes this
- ihatewinterstoo reblogged this from lifeandcode
- onlywhatyoudo reblogged this from lifeandcode
- imijine likes this
- wishinoo likes this
- secondhandsunsstudios reblogged this from lifeandcode
- secondhandsunsstudios likes this
- lourdesbfernandez reblogged this from lifeandcode
- lourdesbfernandez likes this
- bansheewitch likes this
- grig-yan likes this
- wearenotafraidofruins likes this
- fourtonfish likes this
- thecoolist likes this
- hangtenforjustice likes this
- ramenandchips likes this
- acodetojoy likes this
- huck-and-hope likes this
- imjustateenagewasteland likes this
- lesflammables reblogged this from moreglitter
- interrobangheart likes this
- lesflammables likes this
- moreglitter reblogged this from lifeandcode
- make-tea-not-luv likes this
- nycpyladies reblogged this from lifeandcode
- katychuang likes this
- fountainess likes this
- rakeshverma0 likes this
- myeyesyourwords likes this
- abrokenmind likes this
- fractalsofelsanna reblogged this from lifeandcode and added:
- catabolicmystic likes this
- newsfastforward likes this
- barneydreamcatcher reblogged this from lifeandcode
- abriellelarue likes this
- acodetojoy reblogged this from lifeandcode
- huozhaiyuren likes this
- cbleone likes this
- onmilwiki reblogged this from lifeandcode
- pdf-wiki reblogged this from lifeandcode
- mathworks-hedge likes this
- tvshowbiz likes this
- olivettech likes this
- miaowl likes this
- jalbertbowdenii reblogged this from lifeandcode
- jalbertbowdenii likes this
- simonsouris likes this
- aricchokey reblogged this from lifeandcode
- jaynawallace likes this