Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 744 posts.

2012
669

Rust's Object System

On the rust-dev mailing list, someone pointed out another “BitC retrospective” post by Jonathon Shapiro concerning typeclasses . The Rust object system provides interesting solutions to some of the problems he raises. We also manage to combine traditional class-oriented OOP with Haskell’s type classes in a way that…

672

Regexp-based RFC822 email address validation

Mail::RFC822::Address is a Perl module to validate email addresses according to the RFC 822 grammar. It provides the same functionality as RFC::RFC822::Address, but uses Perl regular expressions rather that the Parse::RecDescent parser. This means that the module is much faster to load as it does not need to compile…

680

An Introduction to Condition Handling for Non-Lispers

One of Common Lisp’s more advanced features is its condition handling system, which is a powerful generalisation of other languages’ exception handling systems. I first became aware of condition handling from Peter Seibel’s Practical Common Lisp , chapter 19 . But if I’m honest I’ve only very recently understood what…

682

Reading Other People's Code

I really enjoy reading other people’s code, it allows you see how others solve common problems, and sometimes even provide parables on what you shouldn’t do with yours. It also teaches the much needed skill of reading other people’s code. Now, ask yourself two questions: 1. how

685

Learning to Learn

I believe the key thing that has helped me to become successful and will continue to do so, is my ability to learn how to learn about a subject and self educate. When you take ownership for the learning process, you start putting knowledge into action.

686

C Programming Puzzlers

These questions originally appeared as an article on programmersheaven.com , written by Ashok K. Pathak, a researcher at Bharat Electronics Limited (CRL), Ghaziabad. They are reproduced here with minor modifications.