Daily tweets about computer science and related stuff @JohnDCook.

Joined November 2010
The halting problem: You cannot write a program that can tell whether an arbitrary program will complete or run forever.
2
22
3,079
'Methods and object can no longer be separated.' -- Werner Heisenberg
2
1
20
4,638
“Cryptography is a mixture of mathematics and muddle, and without the muddle the mathematics can be used against you.” — Ian Cassels
1
7
48
7,648
“Most of the problems in writing software come from not knowing what depends on what.” — Stuart Feldman, creator of make (1976)
3
22
2
100
7,954
'Writing code is often a constant struggle against distraction.' -- Joy of Clojure
1
7
36
7,770
Minimum criteria for a language to be Turing complete cs.stackexchange.com/questio…
1
4
11
6,118
Cardinal rule of floating point arithmetic: If x and y agree to n bits, then you can lose up to n bits of precision computing x-y.
1
12
6,150
'It has long been my personal view that the separation of practical and theoretical work is artificial and injurious.' -- Christopher Strachey
1
4
1
26
7,292
Algorithms to find which words can be spelled with chemical symbols. From O(n) to O(2^n). johndcook.com/blog/2026/10/1…
3
8
29
4,445
Alan Turing Found alluring Machines whose only fault Was that they would not halt. -- Karl David
1
5
30
8,019
'The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.' -- Douglas W. Jones
1
13
1
72
8,026
Mathematics for Computer Science cs.princeton.edu/courses/arc… [339 page pdf]
1
14
103
9,019