New

The latest blog posts to take off on Hacker News. 5,634 posts.

Programming Languages
Any year
514

Why F#?

If someone had told me a few months ago I’d be playing with .NET again after a 15+ years hiatus I probably would have laughed at this.1 Early on in my career I played with .NET and Java, and even though .NET had done some things better than Java (as it had the opportunity to learn from some early Java mistakes), I…

519

Modern C

This new edition has been the occasion to overhaul the presentation in many places, but its main purpose is the update to the new C standard, C23 . The goal was to publish this new edition of Modern C at the same time as the new C standard goes through the procedure of ISO publication. The closest approximation of the…

524

Evolving Scala

There is always ongoing discussion about the future direction of the Scala language. How fast should it move? What needs to be improved? Should the language change at all? This article discusses how Scala must keep evolving , why that evolution is necessary, and what directions we expect that evolution to take. We…

536

The cost of Go's panic and recover

TL;DR ¶ Some of the wisdom contained in Josh Bloch’s Effective Java book is relevant to Go. panic and recover are best reserved for exceptional circumstances. Reliance on panic and recover can noticeably slow down execution, incurs heap allocations, and precludes inlining. Internal handling of failure cases via panic…