In JS functions, the ‘last’ return wins
An edge case has convinced me it's the 'last' return that always wins…
Topics /
The most popular blog posts about software engineering on Hacker News. 21,845 posts.
An edge case has convinced me it's the 'last' return that always wins…
April Fool's may be over, but once we set up a system to react every time someone typed Command+C, we realized there was also an opportunity to learn about how people use our site. Here’s what we found.
In this post, I take you on a debugging journey and show you why it might be a good idea to add a comment next to a certain method.
One of legal tech's clichés is that "lawyers live in Word". This is demonstrably incorrect. I, for example, am a lawyer and in fact live in London, England…
In this article, we introduce you to the concept of algebraic data types and show how you can build your own data types in Haskell.
The ASR33, like most teletypes of the era, works at a fixed rate. It does 10 characters per second. It is 110 Baud, using 1 start, 8 data (i...
Alternative configuration formats solve superficial problems. Configuration languages solve the deeper problem: the need for abstraction.
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
The Official Web Site of Nicholas C. Zakas
This weekend, those interested in Debian development have been having a discussion on the debian-devel mailing list about "What can Debian do to provide complex applications to its users?". I'm commenting on that in my blog rather than the mailing list, since this got a bit too long to be usefully done in an email.
In .NET 9 we enabled DATAS by default. But .NET 9 is not an LTS release so for many people they will be getting DATAS for the first time…
Confession time: I don't fully understand how terminals, shells and SSH really work (and my guess is you don't either). And I don't mean the cryptography behind SSH. I mean how SSH and the terminal — and the shell for that matter — interact with one another.
Whether it be with React, VueJS, Angular, or in Rust, modern web applications are composed of 3 kinds of pieces: Components Pages Service Components are reusable pieces and UI elements. An input field, or a button, for example. Pages are assemblies of components. They match routes (URLs). For example, the
wc utility in Dyalog APL
Possibly not as horrible as I'd thought
The space is divided into four rectangles . Each of those rectangles is divided such that it contains a maximum of four children . Each child is either a point or a smaller rectangle.
Synchronization barriers let you test for race conditions with confidence.
Update: This is quite a long article. If you’re looking for a quick read, it breaks down a bit like this:
Let’s get started with this using a quiz, some attention please *DRUMBEATS*:
Ah source control, if there’s a more essential tool which indiscriminately spans programming languages without favour, I’m yet to see it. It’s an essential component of how so many of us work; the lifeblood of many development teams, if you like. So why do we often get
Posted by Tim Graham on Feb. 25, 2015
I've had an interesting conversation on the topic of null over the last few days, spurred by the logical disaster of null. I disagreed with the statement in the post that: Logically-speaking, there is no such thing as Null This is true in some logics, but not in all logics. Boolean logic as described in...