Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 14,544 posts.

Any year
12456

Sed challenge: join cal -y months into a single column

This is a little sed challenge that ocurred to me somewhat recently, when I wondered how many weeks were between 2 dates. Of course, I just looked at the calendar and counted, but then I wondered what kind of sed script I’d need in the middle of a cal -y | ... | wc -l pipeline to get the same answer.

12463

Oh, Go Ahead, Overthink FizzBuzz (2008)

I gave the best programming interview answer I may have ever given last Friday. The interviewer hauled out FizzBuzz and asked me to solve it. It took me a minute to stop laughing. FizzBuzz is a brain-dead simple programming problem, used pretty much to tell if a developer has a pulse at all. It is…

12466

Strange C Syntax

In my attempts to learn the C programming language well enough to write my own C compiler , I've encountered some very interesting examples of C syntax that you generally don't see every day. All of these examples you'll see here will compile without warnings or errors even with very strict compiler flags in gcc and…

12474

Things Reacters do that Re-framers avoid

JavaScripters often complain about the complexity of React. But to ClojureScripters, React is very nice. What's the difference? In this article, we explore 6 mistakes Reacters make, including mutable state everywhere, Lifecycle Methods and, non-reusable components.