Daily tweets about computer science and related stuff @JohnDCook.

Joined November 2010
“Cryptography is a mixture of mathematics and muddle, and without the muddle the mathematics can be used against you.” — Ian Cassels
1
7
47
7,149
“Most of the problems in writing software come from not knowing what depends on what.” — Stuart Feldman, creator of make (1976)
3
21
2
99
7,832
'Writing code is often a constant struggle against distraction.' -- Joy of Clojure
1
7
36
7,690
Minimum criteria for a language to be Turing complete cs.stackexchange.com/questio…
1
4
11
6,094
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,134
'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,276
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,425
Alan Turing Found alluring Machines whose only fault Was that they would not halt. -- Karl David
1
5
30
8,010
'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,023
Mathematics for Computer Science cs.princeton.edu/courses/arc… [339 page pdf]
1
14
103
9,017
Computer Science retweeted
It's Halloween season again and as a mathematician I'm obliged to post this. I don't make the rules
65
4,847
179
20,090
411,423