Topics /

Software Engineering

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

2011
364

Understanding "Prototypes" in JavaScript

For the purposes of this post, I will be talking about JavaScript objects using syntax defined in ECMAScript 5.1. The basic semantics existed in Edition 3, but they were not well exposed. A Whole New Object In JavaScript, objects are pairs of keys and values (in Ruby, this structure

379

Coding backwards

For a while I’ve wanted to write some personal finance software. Call me crazy, but I can’t find anything currently in existence that allows me to project my earnings and expenses 1 , then summarizes the net effect over a period of time. Basically, I want to be able to propose a budget to myself and simulate how it…

383

(An ((Even Better) Lisp) Interpreter (in Python))

The tokens #t and #f are the True and False literals, respectively. The single quote mark serves to quote the following expression. The syntax ' exp is completely equivalent to (quote exp ) . The backquote character ` is called quasiquote in Scheme; it is similar to ' except that within a quasiquoted expression, the…