Wield Python's super() like a Jedi
If you aren’t wowed by Python’s super() builtin, chances are you don’t really know what it is capable of doing or how to use it effectively. Much has been written about super() and much of that wri…
Topics /
The most popular blog posts about programming languages on Hacker News. 115 posts.
If you aren’t wowed by Python’s super() builtin, chances are you don’t really know what it is capable of doing or how to use it effectively. Much has been written about super() and much of that wri…
Update: This is a re-post of an older blog post of mine. Originally it was posted on my personal blog where it has >30 comments and >20’000 views over the last years. I’m deprecating my personal blog in favor of this 200OK blog.
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…
I spoke at TXJS , a really excellent regional JS conference, in June. Thanks to @SlexAxton , rmurphey , and everyone else involved. My talk was concerned with the good, bad, and ugly of Ecma TC39 (and I mean those words in the best possible way!), mixing philosophy with historical events from the last 14 years.
A longer explanation of why I think that the CoffeeScript scoping is problematic and should be changed.
I started reading Joshua Bloch's Effective Java last week. I'll have to admit that I haven't read it before, but only because I've been told...
this is the first entry in an n-part series explaining the techniques and design principles of ClojureScript . translations: [ 日本語 ]
Have you ever been in the situation where you need to quickly understand what a piece of code in some unfamiliar language does? If the language looks a lot like what you’re comfortable with, you can usually guess what large amounts of the code does; even if you may not be completely familiar how all the language…
If this isn’t a Zawinski quote, it should be. I have avoided the JVM my entire life. I am presently confronted with problems which fit in the JVM; JVM libraries, concurrency, giant data: all …
Comments extracted from a code review. I've been asked to disseminate them more widely. I should say something about regular expressio...
For 2003 OSCON I proposed to give nine five-minute talks in a 45-minute slot. To avoid confusing this with the real lightning talks sessions, Nat decided to call my talk ``Nine Views of Mark Jason Dominus''. At first I didn't like that title, which sounded too much like self-promotion. But I warmed up to it after a…
Dylan? C# 3? Perl 6? Does it have deterministic destructors, even as blocks like Python 2.5? Generics? A powerful macro system? Even as described it sounds like magic, but not a moment too soon.
I'm a Product Manager at Google. I use data and UX to drive great products. And it turns out—the toughest problems are won in translation.
Dr. Alan Kay explains when "object-oriented" was first used and what it means. []
Paul Graham has written a bunch of good essays on entrepreneurship, laying down much of the philosophy behind Y Combinator . If you’ve not read any of them yet, you should go and read them now – they contain lots of wisdom.
Everywhere on the web we read that Javascript has prototypal inheritance. However Javascript only provides by default a specific case of prototypal inheritance with the new operator. Therefore, most of the explanations are really confusing to read. This article aims to clarify what is prototypal inheritance and how to…
Learn You a Haskell for Great Good! (A Beginner's Guide) by Miran Lipovača, published by No Starch Press (2011). No Starch was kind enough to send me an advance copy for review.