You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
"What," she asked, "is the purpose of the opening semicolon?" The truth is, I didn't really know. I'd read somewhere that when JavaScript loads your files, if you had some buggy code in file A, then file B could be corrupted by whatever was last in file A if the environment loaded A before B. In other words, the environment behaved as if all the code was concatenated together. But I was hazy on th
This essay is about my own personal programming anti-pattern. Well, not personal in the sense of me being the only person who does this, but personal in the sense of this being a recurring problem for me. I call this anti-pattern The Walled Garden. A "Walled Garden" is a web site or application that lives within an interoperable, open ecosystem but nevertheless provides a collection of proprietary
This kind of thing normally wouldn't merit a full blog post all by itself, but just in case today really is the end of the world, I'm taking no chances and sharing the idea while I can. The CoffeeScript programming language has a useful feature: If a parameter of a method is written with trailing ellipsis, it collects a list of parameters into an array. It can be used in various ways, and the Coff
The word "combinator" has a precise technical meaning in mathematics: "A combinator is a higher-order function that uses only function application and earlier defined combinators to define a result from its arguments."--Wikipedia In this essay, we will be using a much looser definition of "combinator:" Pure functions that act on other functions to produce functions. If Objects are nouns and Method
Since I'm looking for a job and people often like to ask for a fizzbuzz program to weed out the folks who can't string together a few lines of code, I thought I'd write up a program to compute the nth Fibonacci number. There's an intriguing bit of matrix math involved, so I learned something while implementing it. Reminder: This was written in 2008, it does not necessarily reflect my employment si
#CoffeeScript is not a language worth learning A language that doesn't change the way you think about programming is not worth learning.—Alan Perlis CoffeeScript is a program that takes some text you write using a special set of rules and transforms it into some other text, which happens to be a JavaScript program. It is often described as a programming language that "compiles" to JavaScript much
("Sans Titre," also called "Composition II in Red, Blue and Yellow" by Piet Mondrian, 1930) I have been programming in CoffeeScript lately. In my opinion, it does a good job of paving over a lot of JavaScript's accidental complexity. Another thing that I find interesting about it is that it encourages a certain kind of programming style. I like that. As Alan Perlis said, "A language that doesn't c
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く