What attracts people to journalism? A love of language? An insatiable curiosity about how the world works? These characteristics drive journalists to pursue stories and captivate an audience using the power of narrative. They also make journalists great candidates to learn coding.
Yes, computer programming, that gibberish-like collection of symbols and phrases that make our computers whir and our Internet function. That coding.
Programming languages resemble human languages in that they operate under a set of rules, or syntax, and they enable us to communicate with another group (in this case machines rather than people). Programming languages focus more on logic than math, and learning to code offers a reminder that there is more than one way to think about things. Learning any new language takes time and practice, but payoffs exist. The sheer glee of writing a few lines of code that actually function mirrors the deep satisfaction of writing a beautiful sentence. I experienced this when I used the len function in Python to write a program that states whether a given text is too long for a Tweet. Yes, this already exists, but it was my code, and it worked.
A more significant payoff to learn even basic coding is the ability to suss out stories from:
“stacks of financial disclosure forms, court records, legislative hearings, officials’ calendars or meeting notes, and regulators’ email messages. …With a suite of reporting tools, a journalist will be able to scan, transcribe, analyze, and visualize the patterns in these documents. Adaptation of algorithms and technology, rolled into free and open source tools, will level the playing field between powerful interests and the public by helping uncover leads and evidence that can trigger investigations by reporters.”
Call it computational journalism, precision journalism, or data journalism, but digging through unstructured data is how the media will undertake its watchdog responsibility. This doesn’t mean journalists need degrees in computer science (though it wouldn’t hurt), but it does mean that journalists should understand the capabilities of software and learn one or two tools they can apply in their daily reporting. John Diedrich did so with databases and won an award.
“To hang in there — to produce data-driven journalism, or design a mobile app, or write a long-form profile story — students need to have both good taste and a desire to master something. … At the root of all this talk about programming, apps, and so on, is the idea of story. But have our students seen the story in the data, in the graphic, in the app?”
Coding and data analysis form one leg of my concentration in Data Storytelling. I don’t intend to become a programmer, but I do want to speak the same language as a coder and understand how to tell a computer to dig in the way I want it to.
What has learning to code helped you accomplish? Share your story in the comments.