Tag Archives: programming

Questions raised by a study finding that math isn’t important in learning to code

A recent study published by Nature by Chet et al. (2020) found that that reasoning ability, memory capacity and language ability were far more important factors than math skills when learning to program in Python.

The commentary in the popular press is that this study shows that learning foreign languages is better preparation to become a computer programmer than studying math. That certainly agrees with my own experience. I only took two math classes in college (Calculus 2 and statistics), whereas I took 7 language classes (Spanish and Latin) in college, before I taught myself C when I was 22 years old. I recalling thinking at the time that it was much easier to learn a computer language than a human language.

The question raised by the findings in Chet et al. (2020) is whether computer science programs should change their requirements for getting a degree. Computer science degrees typically require two calculus classes, plus a statistics or probability class, and some require a class on matrix mathematics as well. They typically do require a general English and/or writing class, but they don’t typically require any study of a foreign language, linguistics, philosophy or formal logic, which develop abilities that Chet et al. found to be more useful than math in learning Python. Continue reading

A preliminary review of the Rust programming language

The Mozilla Foundation has been developing an exciting new programming language named Rust, that is designed to be a low-level language capable of matching the performance of C/C++, but with the safety of Java, the concurrency of Go, and many of the modern features of high-level languages like Erlang, Haskell, and OCaml. After reading the documentation and playing with bits of the language, I find myself struggling with some of the concepts of the language. Continue reading