Category Archives: Fortress

Don’t return null; use a tail call

Why should an object-oriented programmer care about tail-call elimination? Isn’t that just another esoteric functional programming concept? Maybe not. Back when dinosaurs roamed the earth, a common technique for performing a subroutine call worked this way: The caller stored the address at which it wished to resume execution in a known place (e.g. adjacent to [...]

Follow

Get every new post delivered to your Inbox.