Skip to main content

Think, Code, Solve: Programming as Career Skill

English: Flowchart example of calculating fact...
English: Flowchart example of calculating factorial N ( N! ). (Photo credit: Wikipedia)
Visalia Direct: Virtual Valley
Aug 4, 2014 Deadline
September 2014 Issue

Think, Code, Solve: Programming as Career Skill

“Until I had to code it, I didn’t understand how many perspectives there are.”

This spring, a group of my statistics students attempted to model the return on investment for various degrees at several colleges. To develop their model, they had to ask themselves what is “value” and how would they measure “return” for those students not seeking financial wealth. Developing their computational model, they learned more about what college provides society.

Creating variables and functions, collecting data and creating output, the task of creating a computer program opened up new ways of considering the question these students sought to answer. Was a degree from one college better than the same degree from another school? Was one degree better than another?

If you want to earn a lot of money, study petroleum engineering or computational finance. That’s a simple statistical analysis searching for the highest median salary. But, not every student is rushing to earn a degree in one of the high-paying science fields. Clearly salary is only one measure of return on investment. What the students came to recognize was that users of their software might want to adjust the output based on personalized criteria. The resulting model the students developed was more like a dating service than a single answer.

That was when the group leader observed that he hadn’t understood the problem clearly until the team tried to develop an application to match students to their optimal school and degree. It turned out, some people get the best return by pursuing vocational programs based on their interests, location, family situation and other variables.

Computer programming teaches students to break problems into smaller blocks, converting every few steps of a problem into a line of code. When we teach programming, we teach one way to approach quantitative problems. The problem solving skills learned by young programmers offers them a valuable approach to analyzing the world.

I would never suggest that programming skills are the only way or the best way to address all problems, but I do argue that learning to code develops a logical thought process.

When I mentioned the need to improve math and science education in our public schools, a colleague suggested doing so would necessarily cut the humanities. This dichotomy troubles me.

Computer programming need not be a cold, heartless pursuit, apart from artistic expression. If we teach applied technology courses as nothing more than memorized approaches to math problems, then that is a human failing, not a problem with the machines.

Art is mathematics, as we witness when we study color or sound as waves perceived by our senses. When we dance, it is biology and physics at work to express emotion. The movements of bodies can be analyzed and turned into simulation software. The animators at Pixar and Dreamworks rely on careful studies of the physical world to program amazing works of art.

It does not matter if we teach “real” programming in Java, C, C#, Python, Ruby or some other language. I’ve taught students introductory programming skills in JavaScript, Visual Basic and AppleScript. Although languages approach problems differently, many of the skills transfer from one language to another. Whatever language students learn, it might be out of favor in a few years. As a Web developer, I’ve had to shift from Perl to PHP to Ruby. Apple is shifting from Objective-C to Swift. Languages go out of style, but the underlying coding skills do not.

In the 1970s and 80s, the LOGO programming language enabled students in classrooms to create complex geometric art, as if they had Spirographs behind the screens. If you learn how to construct programs in LOGO, the same skills transfer to more complex programming languages.
Programming LOGO, available as StarLogo TNG (http://education.mit.edu/projects) and Scratch (http://scratch.mit.edu), still offers a fun mix of computing skills and artistic creativity.

For more advanced students, the Alice Project (http://www.alice.org) offers three-dimensional game programming. You can’t program a realistic game without appreciating concepts from physics, such as what happens when a ball hits a wall at an angle. Creating a virtual world requires creativity and problem solving skills. The object-oriented concepts behind Alice transfer to most current programming languages. Game programming cannot avoid being educational in unexpected ways.

Game play can also introduce programming and analytical concepts. One of my favorite games in the 1990s was SimCity. As a professor, I find much of what my students explore reminds me of this classic game. My economics and statistics students use math and computer programming skills to study social problems: agriculture planning, water usage, transportation efficiency and epidemic patterns. Taking complex social concerns and analyzing the related data via computer programming represents what I consider the noblest application of technology.

Optimizing resource allocation involves a specialized form of math and programming known as integer theory. If you consider a hospital with beds, the admissions desk can only assign one patient to one bed; there are no fractions of a person or fractions of a bed. Approaching health care as delivering the best care to the greatest number of people is a statistical problem best solved with programming skills. The same is true for any allocation of limited resources.

Just as requiring students to write essays won’t turn every student into a professional writer, requiring that students code won’t create a legion of software developers. I want my students to write essays and write code that communicates their ideas to readers and users, as best they can.

My students are pragmatic programmers. They use the computer the way I used a calculator in school. The programs they write solve problems that couldn’t be solved on paper in hours or even days. Software students surely write more efficient code, but that’s not the point of asking my students to develop programs.

A computer cannot tell a person what to ask or why, and no program can tell us if we are using data for good purposes. Those questions are beyond technology. But, once we do know what we want to ask, computer programing becomes an invaluable skill. Those with that skill have an advantage in the job market.

Comments

Popular posts from this blog

Digital Writing Ideas

Online composition and participation are always a requirement in the courses I teach. When I began teaching at Fresno State as a graduate student in 2004, I was one of the few instructors who required students use Blackboard on a weekly basis. I believe there are several reasons to use tools like Blackboard / WebVista: Students can read and respond to the thoughts of their classmates. I have a record of how writing (and thinking) improve during a semester Peer editing can occur online, in small groups. Students less vocal in class discussions tend to participate more online. Normally, I post a " Weekly Response Question/Topic " based on class discussions during the week. Students can then extend the in-class discussion online. Those who were unable to speak up during the class have time to reflect and post their thoughts, too. By requiring every student to post at least 50 to 100 words a week, they soon engage each other in discussion. I always use threaded discussions...

Human Readers for Tests

As readers of my blogs know, I'm never opposed to using technology when it is an effective tool. I am opposed to the blind embrace of the latest trends without critical examination of the potential side effects. Computer-assisted grading, I can endorse to some extent because I use software to help me analyze student papers — and my own writings. But, I cannot and will not endorse any system that gives weight to the computer-based scoring. If you're a teacher, consider this petition: http://humanreaders.org/petition/index.php Now, I also want to add a critical comment on human graders. If the graders of standardized tests are using rigid scoring rubrics, they are little better than software algorithms. Bad grading is bad grading. Inflexible = bad. Again, I am not opposed to using a computer for fact checking, some plagiarism verification, and as formatting aids. Computers can and do help many of us write more effectively. But, I don't use computers to grade pape...

Podcasts and Internet Radio

You must read Podcasting News if you are interested in podcasts! The New York Times has NYTimes Podcasts covering almost every area of interest. For anyone and everyone, podcast.net is a directory of professional and amateur podcasts. Unfortunately, many podcasts come and go too quickly and the directory links to some ghost sites. For October 30, 2007, we were instructed: In your blog: listen to some podcasts and analyze different aspects of the production quality of these podcasts; then, reflect on ways that you could use writing to create podcasts or coursecasts; brainstorm some ideas for creating your own podcast: an interview, presentation... I am a fan of Internet Radio, podcasting, and pretty much all things resembling "radio" in any form. For November 6, we have been asked to create a podcast of some form, and I certainly don't see a problem creating a theatrical production of some sort. Podcasting has the convenience that most Web tools lack. A podcast ...