Comment

Comment by nvader

I would pay good money for a comparison of type systems, delivered in the vein of Cow Economics.

In Self, you have a cow. You ask the cow to moo. It moos.

In Java, you have a cow. You construct a CowMooFactory to create an MooIpml. The MooImpl moos.

In Python, you have a cow. You ask it to moo. It quacks.

In C, you have a pointer to a cow. You ask it to moo. Segmentation fault (core dumped).

parent nvader 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton