Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 115 posts.
Bjarne Stroustrup on Dennis Ritchie: They said it couldn't be done, & he did it
What a sad week. Rob Pike reports that Dennis Ritchie also has passed away. Ritchie was one of the pioneers of computer science, and a well-deserved Turing winner for his many contributions, notabl…
How (not) to write Factorial in Java
I will admit this post was inspired by How would you write factorial(n) in java? So excuse me while I rant in code: I have a point to make at the bottom of this article. Now most people who write f…
Programming With Nothing: FizzBuzz in the lambda calculus in Ruby
I love Ruby! I’ve used it every day for years and I’m not sick of it yet. It’s an easy language to love: it’s expressive, flexible and syntactically beautiful ; it has a unique combination of useful features like mixins , metaclasses and blocks ; it comes with a useful core library and comprehensive standard library …
One base class to rule them all.
Last week, I released base , a universal Base class for Ruby. Inheriting from it gives your class every instance method, class method, and constant from every module and class in the system. In a Rails app, it results in:
Thoughts on Python 3
My current thoughts on the state of Python 3 and where it’s heading.
The Roots of Lisp
(I wrote this article to help myself understand exactly what McCarthy discovered. You don't need to know this stuff to program in Lisp, but it should be helpful to anyone who wants to understand the essence of Lisp � both in the sense of its origins and its semantic core. The fact that it has such a core is one of…
Amount of profanity in git commit messages per programming language
Andrew Vos's personal site
Programming Language Development: The Past 5 Years
I recently compiled a list of Perlis Languages that were meant to illustrate varying paradigms not typically found in mainstream programming languages. Those languages were meant to stretch your mind and are not necessarily representative of the state of the art in language design and implementation. In this post I…
A better introduction to Objective-C
Khám phá những chuyển động mới nhất của thể thao thế giới với tin tức, sự kiện, giải đấu, màn trình diễn ấn tượng và câu chuyện nổi bật từ nhiều bộ môn hấp dẫn.
The Lisp Curse
The expressive power of Lisp has drawbacks.
So you want to write a fast Python?
Thinking about writing your own Python implementation? Congrats, there are plenty out there 1 , but perhaps you have something new to bring to the table. Writing a fast Python is a pretty hard task, and there’s a lot of stuff you need to keep in mind, but if you’re interested in forging ahead, keep reading!
Hitchhiker's Guide to Python
I first heard about The Hitchhiker's Guide to Python at PyCodeConf a few months ago. It's a fantastic idea: open source, community-driven documentation on how to do Python right: everything from how to learn Python, to how to write idiomatic code, to how to distribute your projects, to surveys of best-of-breed open…
The Go Programming Language, or: Why all C-like languages except one suck.
A short update: A lot has happened. Go has its place in the software world, but other languages developed as well. I don't write new Go code anymore, various people voice (IMHO valid) criticism about golang, C++ has a supposedly safe subset these days, Rust is a completely new language with strong guarantees if you…
Pipe: Infix syntax for Python
สล็อต แตก ดี เว็บ ตรง ถูกพัฒนาให้ใช้งานได้สะดวกมากขึ้นผ่านระบบออโต้ของสล็อตวอเลท ที่ช่วยให้ทุกขั้นตอนตั้งแต่การเข้าเล่นไปจนถึงการรับเงิน
Finally someone makes sense of JavaScript's this keyword
(In Portugese) The JavaScript this keyword is ubiquitous yet misconceptions abound. What you need to know Every execution context has an associated ThisBinding whose lifespan is equal to that of th…
Code Like a Pythonista: Idiomatic Python
The home of pythonistas
Perlis Languages
A language that doesn’t affect the way you think about programming is not worth knowing. – Alan Perlis
Joel Spolsky: Can your programming language do this?
One day, you’re browsing through your code, and you notice two big blocks that look almost exactly the same. In fact, they’re exactly the same, except that one block refers to “Sp…
JavaScript is Not Web Assembly
Writing and Stuff from Isaac Z. Schlueter
Python and the Principle of Least Astonishment
Why Python follows the Principle of Least Astonishment even when some people are surprised.
The depth and breadth of Python
As of late I'm noticing a trend: I'm spending more time having in-person in-depth conversations, and less time coding. While I regret the la...
C++ 11 Approved
[Update: “C++11” is now the confirmed name — Geneva informs me that they plan to have it published in a matter of weeks, and then we’ll have ISO/IEC 14882:2011(E) Programmin…
Why Not Haskell?
Why I haven't been writing much Haskell code lately.
Parsing: the solved problem that isn't
Updated (2014-10-24): If you find this article interesting, you may be interested in the follow-up article on an editor for composed programs .