bor.borygmus

A programming weblog by Hao Lian. • A long walk through an angry forest. • A series of memory leaks brought on by senility.

Rob Pike makes the strong argument that basing a programming language on orthogonal building-block features is key to the expressiveness and simplicity of Go, even though Go is not a small language. I wish more programming language designers gave talks like this.

go.googlecode.com (PDF)

[(October 14, 2010) .]

In defense of C++ concepts, which did not make it into C++0x.

bartoszmilewski.wordpress.com

[(September 6, 2010) .]
subset Child of Person where *.age < 16;
subset Adult of Person where -> $person { 16 < $person.age < 66 };
subset Senior of Person where *.age >= 66;

multi print-name(Child $person) { "Little {$person.name}" }
multi print-name(Adult $person) { $person.name }
multi print-name(Senior $person) { "Old Man {$person.name}" }

Kick. Ass.

blogs.perl.org/users/tyler_curtis

[(August 21, 2010) .]