Role of Coding in Humanities

I support that humanities students should learn to code. It isn’t saying that they should learn programming to the extent of independently writing a complex program. However, I believe that a basic understanding of coding is extremely helpful. Firstly, it brings “literacy” and confidence, so that website and digital projects won’t be viewed as black boxes. It will provide humanities students a way to better gain information on other digital projects (e.g. how the data are processed and visualized). Secondly, programming exercises logic and problem-solving skills, which are also essential to doing humanities research. Thirdly, coding brings a new way of spreading ideas and works. In the era when digital media is widely used, the ability to digitalize one’s work will make it more accessible to others. As Matthew G. Kirschenbaum says in his article Hello Worlds (why humanities students should learn to program):

An appreciation of how complex ideas can be imagined and expressed as a set of formal procedures — rules, models, algorithms — in the virtual space of a computer will be an essential element of a humanities education

When I started learning programming in Grade 7, I was being taught data structures and algorithms to participate in competitions. For the next 5 years, my perception of programming is biased by the fact that most I learned is about algorithms, with a strong emphasis on math and problem-solving. It is until this summer in research in computer science about data visualization that I realized that coding could be used to create things. Moreover, there are a lot of useful packages developed by others that could be utilized in your project. Below is a javascript code that I wrote to generate word clouds, using the d3 word cloud package developed by Jason Davies. As shown in the example code below, by simply passing in the font, words, and size, the program will generate a word cloud.

<script>
    var font_type = '{{font_type}}'
    var words = {{words | safe}}
    var size = {{size |safe}}
  </script>
  <script type="text/javascript" src="{{ url_for("static", filename="d3.layout.cloud.js") }}"></script>
  <script type="text/javascript" src="{{ url_for("static", filename="buildCloud.js") }}"></script>

I could imagine many other tools being applied for humanities use. Thus, coding will be a helpful skill for humanities students.

2 thoughts on “Role of Coding in Humanities

  1. I agree with you on how useful programming knowledge can be, and that if humanities students were to have some background in computer science it might help move forward the digital humanities field. At the same time, like some people mentioned in our class discussion, having humanities students spend time learning computer science would take away from their humanities background. This discussion has made me think about liberal arts and its benefits and possible drawbacks.

  2. I agree that having a basic understanding of how to code allows students to see digital projects beyond “black boxes.” As digital projects continue to infiltrate humanities spaces, it is important for people to understand how they can best use coding to advance their projects across different subjects or comprehend the work of other digital projects. I also agree with your third point that the continuation of digitalizing work will create more accessibility for students to learn about areas in the humanities as well as spread information and ideas across a broader network.

Comments are closed.

css.php