Lambda-style anonymous functions for C++ in less than 500 lines of code
I prefer functional languages like Scheme, Scala or Haskell over C++ for most tasks. So, when I'm forced to program in C++, I write functional C++.
Topics /
The most popular blog posts about programming languages on Hacker News. 93 posts.
I prefer functional languages like Scheme, Scala or Haskell over C++ for most tasks. So, when I'm forced to program in C++, I write functional C++.
After countless commits, the generosity of dozens of proofreaders, and far too long proofreading the index, Modern Perl: the book is available! You can buy a lovely print version from any well-stocked online vendor (and you're more than welcome to...
When I kicked off my startup HubSpot over 4 years ago June 2006 I wrote a set of articles on the topic of choosing a language/platform specific
Last week I finally caught up with the state of Ruby - the language, the community and the tools in fashion. I'm impressed. These guys seem ...
I've been asked by several people to explain why I use Clojure for my professional work rather than Racket. ABOUT RACKET I have been using R...
Dr. Martin Odersky, the lead designer/developer of the Scala Programming Language , Generic Java, and Pizza requires no introduction, but the motivation for this micro-interview does. That is, there is an unfortunate view in some circles that sees the existence of Scala and Clojure as somehow being at odds. In…
Fractal Tree of the Gods A while ago , I was disappointed to discover that a certain fractal tree program was visibly slower in Clojure...
Python, Linux, Bicycles, Books, Games, Etc.
Back in 1996, having heard horror stories about Herbert Schildt's C: The Complete Reference , I decided to check it out. I flipped the book open; I found glaring errors. I paged through it. I found more glaring errors. In short, the book had lived up to the hype; it was awful. Being a pedantic sort, and having just…
RubyConf に参加するためには、やっぱり 山手 quine みたいに東京限定ネタは通じにくいですよね。これからは Quine もグローバルでないといけないと感じました。 でも世界的に有名な環状線とか知らないので、世界的に有名な回るものを書いてみました。 v=0000;eval$s=%q~d=%!^Lcf<LK8, _@7gj*LJ=c5nM)Tp1g0%Xv.,S[<>YoP 4ZojjV)O>qIH1/n[|2yE[>:ieC "%.#% :::##" 97N-A&Kj_K_><wS5rtWk@*a+Y5 yH?b[F^e7C/56j|pmRe+:)B "##% ::#########…
There are a thousand programming languages out there (Literally, it seems, according to people who actually count such things.) A classification of so many species is bound to be complex and subjec…
In response to a previous article a poster in some forum called me an idiot and said "everybody knows that C is a portable assembly languag...
Programming Zen is a blog about programming and emerging technologies, authored by Antonio Cangiano, a Software Development Manager and AI Evangelist at IBM.
When showing off cool features of Ruby to the uninitiated (or to a language sparring partner [http://stackoverflow.com/questions/1099305/why-is-ruby-more-suitable-for-rails-than-python/1099367] ), the excited Rubyist often shows off Ruby's "powerful block syntax". Unfortunately, the Rubyist uses "powerful block…
The draft of " Yacc is Dead " that David Darais and I posted on arXiv received some attention, so we'd like to share updates and feedback.
I've enjoyed reading Peter Norvig's recent articles on Lisp. He implements a Scheme interpreter in 90 lines of Python in the first , and dev...
At Strange Loop 2010 , I gave a 20 minute talk on Lua. The talk briefly covered six reasons ( why , not how) to choose Lua for embedded scripting. Lua is safe, fast, simple, easily learned, and more popular that you might expect.