Signs that you are a bad programmer
Reasoning about code means being able to follow the execution path (“running the program in your head”) while knowing what the goal of the code is.
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 146 posts.
Reasoning about code means being able to follow the execution path (“running the program in your head”) while knowing what the goal of the code is.
PHP, as the result of a spectacular error of judgement, appears to be written in US English. How do we developers ensure the traditions of the British Empire continue to be upheld, even in the digital age?
Update 10 Feb 2011 : Tim Bray has written a much shorter, clearer and less technical explanation of the broken use of hash-bangs URLs . I thoroughly recommend reading and referencing it.
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.
LMAX is a retail financial trading system that can handle that can 6 million orders per second on a single JVM thread. The business logic runs in-memory surrounded by disruptors using event sourcing.
Why Python follows the Principle of Least Astonishment even when some people are surprised.
I stumbled upon a very strange bug in PHP; this statement sends it into an infinite loop:
Update: I updated the links again. pdf.js has moved to a new location on github. Why? While traveling to the Firefox 4 launch parties in Seoul and Taipei all the way from California, we killed a lo…
People that listened to my (Armin Rigo) lightning talk at EuroPython know that suddenly, we have a plan to remove the Global Interpreter Loc...
Last weekend, I attended GitHub's PyCodeConf in Miami Florida and had the opportunity to give a talk on array-oriented computing and Python....
Karl Seguin's Blog - A mix of coding and creative writing
This article appeared in Java Report, 5(7), July 2000 and C++ Report, 12(7), July/August 2000 .
For the purposes of this post, I will be talking about JavaScript objects using syntax defined in ECMAScript 5.1. The basic semantics existed in Edition 3, but they were not well exposed. A Whole New Object In JavaScript, objects are pairs of keys and values (in Ruby, this structure
When we first started porting Chrome away from just Windows, we intended to use Scons to build Chrome on all our platforms. But early on in development I discovered that Scons, despite its admirable goals of correctness and ease of use, was quite slow — it could take 40 seconds from starting Scons before it decided to…
<img src="http://zwibbler.com/shared/1024.png"/> jQuery creator John Resig needs a little help storing lists of words in his side project. Let's go overkill and explore a little known branch of computer science called Succinct Data Structures.
This is the second in a four part series describing how we use the cloud to scale building and testing of software at Google. This series el...
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
This is too long and rambling, but to steal a joke from Mark Twain Blaise Pascal I haven’t had time to make it shorter yet. There is some discussion of this post on the git mailing list , but much of it is tangential to the points I’m trying to make here.
Over the years, I've seen a lot of confusion about JavaScript function invocation. In particular, a lot of people have complained that the semantics of this in function invocations is confusing. In my opinion, a lot of this confusion is cleared up by understanding the core function invocation primitive,
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 …
ORM looks great early in a project but breaks down as complexity grows, forcing you to learn SQL anyway. Relations aren't objects. Either use NoSQL for object-like data or write a model layer with real SQL. ORM's abstraction is leaky, its efficiency poor, and the alternatives are better.
Battlefield 3’s Battlelog system is an interesting web application that many of us missed. Here is why it’s amazing and worth a look at.
Why developers rarely use state machines, seeing them as overkill until it's too late to switch, and what the state_machine gem did for CrowdHired.
ORM looks great early in a project but breaks down as complexity grows, forcing you to learn SQL anyway. Relations aren't objects. Either use NoSQL for object-like data or write a model layer with real SQL. ORM's abstraction is leaky, its efficiency poor, and the alternatives are better.