Skip to content

Tag Archives: computer science

What are the main ideas and highlights of Gödel, Escher, Bach?

Gödel, Escher, Bach by Douglas Hofstadter describes and defines the concept of recursion, and discusses its applications in computer science, consciousness, art, music, biology and various other fields. Recursion is crucial to writing computer programs in a compact, elegant way, but it also opens the door to infinite loops and irreconcilable logical contradictions.

How does a computer work?

Computers can only do a few very simple operations consisting of flipping electrical switches on and off. You can represent numbers in patterns of the on-off states of sequences of switches. By flipping switches on and off in particular patterns, you can perform simple mathematical operations on the numbers. You can do more complex mathematical [...]

Songwriting and computer programming

Writing a song is a lot like writing a computer program. They both require clever management of loops and control flow. The simplest sheet music reads as a straightforward top-to-bottom list of instructions. You start on measure one and read through to the end sequentially. That’s fine unless the music is very repetitive, which most [...]