Mark Dominus (陶敏修)
12 recent entries
Guess what this does (solution) / Guess what this does / Types are theorems; programs are proofs / My brush with Oulipo / Placeholder texts / Proof by contradiction / 2banner, which tells you when someone else is looking at the same web page / The perfect machine / Everything needs an ID / Why I like Java / Twingler, a generic data structure munger / Notes on a system for abbreviating SQL queries
Guess what this does
Here's a Perl quiz that I confidently predict nobody will get right.
Without trying it first, what does the following program print?
perl -le 'print(two + two == five ? "true" : "false")'
(I will discuss the surprising answer tomorrow.)
[Other articles in category /prog/perl]