Programing Language Design and Language Idioms

This article shows code snippets in {Common Lisp, perl, python} to illustrate why idiomatic programing are bad.

Here's constructions in various languages. See if you can understand what they do and identify each language.

(floor x y)
x/y
x//y
require POSIX; floor(x/y);
int(x/y);

for answer, see: Programing Language Design: Why Idioms Are Bad

Popular posts from this blog

11 Years of Writing About Emacs

does md5 creates more randomness?

Google Code shutting down, future of ErgoEmacs