Topics /

Programming Languages

The most popular blog posts about programming languages on Hacker News. 381 posts.

2016
377

Wizards and warriors, part one

A common problem I see in object-oriented design is: A wizard is a kind of player. A warrior is a kind of player. A staff is a kind of weapon. A sword is a kind of weapon. A player has a weapon. Bu…

380

Clojure - spec Guide

The spec library ( API docs ) specifies the structure of data, validates or conforms it, and can generate data based on the spec.

381

cgo is not Go

Some people, when confronted with a problem, think “I know, I’ll use cgo.” Now they have two problems.