Topics /

Programming Languages

The most popular blog posts about programming languages on Hacker News. 3,709 posts.

Any year
1571

Rules for Learning Foreign Languages in Record Time

Preface by Tim Ferriss I’ve written about how I learned to speak, read, and write Japanese, Mandarin, and Spanish. I’ve also covered my experiments with German, Indonesian, Arabic, Norwegian, Turkish, and perhaps a dozen others. There are only few language learners who dazzle me, and Benny Lewis is one of them. This…

1572

Idiomatic Monads in Rust

A pragmatic new design for high-level abstractions Monads (and, more generally, constructs known as “higher kinded types”) are a tool for high-level abstraction in programming languages1. Historically, there has been a lot of debate inside (and outside) the Rust community about whether monads would be a useful…

1573

Interface Upgrades in Go

Much has been written about Go’s interfaces . They’re one of the language features I like best, providing a very pragmatic trade-off between the complexity of more powerful type systems and the anarchy of duck typing. If you’re not already familiar with Go or Go’s interfaces, I’d encourage you to read an introduction…

1589

Error handling in Rust

Like most programming languages, Rust encourages the programmer to handle errors in a particular way. Generally speaking, error handling is divided into two broad categories: exceptions and return values. Rust opts for return values.