Programming

Bits and highlights (index):

πŸ•‘ Feb 4, 2025
Bluesky 10 Mastodon 2
The best minds of my generation are thinking about how to make people click ads. That sucks.

-- Jeff Hammerbacher


πŸ•‘ Feb 3, 2025
Bluesky 24 Mastodon 6
Coding is "90 percent finished" for half of the total coding time. Debugging is "99 percent complete" most of the time.

-- Fred Brooks


πŸ•‘ Feb 2, 2025
Bluesky 10 Mastodon 6
In JavaScript, there is a beautiful, elegant, highly expressive language that is buried under a steaming pile of good intentions and blunders.

-- Douglas Crockford


πŸ•‘ Feb 1, 2025
Bluesky 6 Mastodon 5
Thoughts on the software industry

https://linus.coffee/note/software-industry/


πŸ•‘ Feb 1, 2025
Bluesky 21 Mastodon 6
What is programming? Some people call it a science, some people call it an art, some people call it a skill. I think it has aspects of all three.

-- Charles Simonyi


πŸ•‘ Jan 31, 2025
Bluesky 9 Mastodon 10
"We ran out of columns" - The best, worst codebase

https://jimmyhmiller.github.io/ugliest-beautiful-codebase


πŸ•‘ Jan 31, 2025
Bluesky 23 Mastodon 11
A skilled programmer is like a poet who can put into words those ideas that others find inexpressible.

-- Danny Hillis


πŸ•‘ Jan 30, 2025
Bluesky 10 Mastodon 3
In handling resources, strive to avoid disaster rather than to attain an optimum.

-- Butler Lampson


πŸ•‘ Jan 28, 2025
Bluesky 18 (1) Mastodon 7
I’ve got this need to program. I wake up in the morning with sentences of a literate program. Before breakfast -- I’m sure poets must feel this -- I have to go to the computer and write this paragraph and then I can eat and I’m happy.

-- Donald Knuth


πŸ•‘ Jan 28, 2025
Bluesky 4 Mastodon 3
My afternoon project turned into four days of AI lies, USB chaos, and hard lessons

https://nemo.foo/blog/day-4-of-an-afternoon-project


πŸ•‘ Jan 27, 2025
Bluesky 3 Mastodon 5
Dualities in functional programming

https://dicioccio.fr/on-dualities.html


πŸ•‘ Jan 27, 2025
Bluesky 29 (2) Mastodon 11
Over half of the time you spend working on a project is spent thinking, and no tool, no matter how advanced, can think for you.

-- Richard P. Gabriel


πŸ•‘ Jan 26, 2025
Bluesky 48 (5) Mastodon 6 (1)
JavaScript is the only language that I'm aware of that people feel they don't need to learn before they start using it.

-- Douglas Crockford


πŸ•‘ Jan 25, 2025
Bluesky 5 Mastodon 8
How to build your own ZX80/ZX81 and how it works:

http://searle.x10host.com/zx80/zx80.html


πŸ•‘ Jan 25, 2025
Bluesky 2 Mastodon 3
File systems: The original hypermedia

https://jon.work/og/


πŸ•‘ Jan 24, 2025
Bluesky 6 (1) Mastodon 24 (3)
Snowdrop OS - a homebrew operating system from scratch, in assembly language

http://sebastianmihai.com/snowdrop/


πŸ•‘ Jan 24, 2025
Bluesky 5 Mastodon 5
A WebAssembly compiler that fits in a tweet

https://wasmgroundup.com/blog/wasm-compiler-in-a-tweet/


πŸ•‘ Jan 24, 2025
Bluesky 12 Mastodon 8
No matter how slow you are writing clean code, you will always be slower if you make a mess.

-- Robert C. Martin


πŸ•‘ Jan 24, 2025
Bluesky 8 Mastodon 2
Ignore the grifters - AI isn't going to kill the software industry

https://dustinewers.com/ignore-the-grifters/


πŸ•‘ Jan 24, 2025
Bluesky 6 (1) Mastodon 5 (1)
Building a full-text search engine in 150 lines of Python code

A good intro to text search: https://bart.degoe.de/building-a-full-text-search-engine-150-lines-of-code/


πŸ•‘ Jan 23, 2025
Bluesky 4 Mastodon 3
Taking a look at compression algorithms
(dissecting various compression algorithms)

https://cefboud.github.io/posts/compression/


πŸ•‘ Jan 23, 2025
Bluesky 4 (1) Mastodon 7
Out of the Tar Pit (2006)

This is one of my favorite computer science papers: https://curtclifton.net/papers/MoseleyMarks06a.pdf


πŸ•‘ Jan 23, 2025
Bluesky 31 (4) Mastodon 7
Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.

-- Linus Torvalds


πŸ•‘ Jan 21, 2025
Bluesky 7 Mastodon 11 (2)
Death By Specificity (from Rich Hickey's talk Clojure Made Simple)

https://www.youtube.com/watch?v=aSEQfqNYNAc


πŸ•‘ Jan 21, 2025
Bluesky 2 Mastodon 1
The computing field is always in need of new cliches: Banality sooths our nerves.

-- Alan Perlis


πŸ•‘ Jan 20, 2025
Bluesky 8 (1) Mastodon 1
One man's constant is another man's variable.

-- Alan Perlis


πŸ•‘ Jan 19, 2025
Bluesky 20 (4) Mastodon 2
It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.

-- Alan Perlis


πŸ•‘ Jan 30, 2024
Bluesky 16 Mastodon 19 (1)
Think twice before you start programming or you will program twice before you start thinking.

πŸ•‘ Jan 14, 2025
Bluesky 3 Mastodon 5
Greppability is an underrated code metric

https://morizbuesing.com/blog/greppability-code-metric/


πŸ•‘ Jan 14, 2025
Bluesky 7 Mastodon 3 (1)
If, at first, you do not succeed, call it version 1.0.

-- Khayri R.R. Woulfe


πŸ•‘ Jan 13, 2025
Bluesky 34 Mastodon 9
A complex system that works is invariably found to have evolved from a simple system that worked. A complex system designed from scratch never works and cannot be patched up to make it work. You have to start over with a working simple system.

-- John Gall


πŸ•‘ Jan 11, 2025
Bluesky 18 (1) Mastodon 4
Programmers are not to be measured by their ingenuity and their logic but by the completeness of their case analysis.

-- Alan Perlis


πŸ•‘ Jan 10, 2025
Bluesky 11 Mastodon 3
You can't build interactive web apps except as single page applications... and other myths

https://htmx.org/essays/you-cant/


πŸ•‘ Jan 9, 2025
Bluesky 37 (2) Mastodon 7
Operating System in 1,000 Lines: Intro
(building a small operating system from scratch, step by step)

https://operating-system-in-1000-lines.vercel.app/en/


πŸ•‘ Jan 9, 2025
Bluesky 10 Mastodon 3
Thus spake the master programmer: "A well-written program is its own heaven; a poorly-written program is its own hell."

-- Geoffrey James, The Tao of Programming


πŸ•‘ Jan 8, 2025
Bluesky 23 Mastodon 7
Rule 5. Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming.

-- Rob Pike


πŸ•‘ Jan 8, 2025
Bluesky 28 (4) Mastodon 1
Rule 4. Fancy algorithms are buggier than simple ones, and they're much harder to implement. Use simple algorithms as well as simple data structures.

-- Rob Pike


πŸ•‘ Jan 7, 2025
Bluesky 8 (2) Mastodon 4 (1)
Rule 3. Fancy algorithms are slow when n is small, and n is usually small. Fancy algorithms have big constants. Until you know that n is frequently going to be big, don't get fancy.

-- Rob Pike


πŸ•‘ Jan 7, 2025
Bluesky 11 (1) Mastodon 4
Rule 2. Measure. Don't tune for speed until you've measured, and even then don't unless one part of the code overwhelms the rest.

-- Rob Pike


πŸ•‘ Jan 6, 2025
Bluesky 18 Mastodon 9
Rule 1. You can't tell where a program is going to spend its time. Bottlenecks occur in surprising places, so don't try to second guess and put in a speed hack until you've proven that's where the bottleneck is.

-- Rob Pike


πŸ•‘ Jan 5, 2025
Bluesky 11 (1) Mastodon 5 (1)
"If you've ever worked on refactoring or improving performance in a software system, you've probably run into a particular frustration: abstraction-heavy codebases. What looks like neatly organized and modularized code often reveals itself as a labyrinth, with layers [...]"

https://fhur.me/posts/2024/thats-not-an-abstraction


πŸ•‘ Jan 2, 2025
Bluesky 22 (1) Mastodon 3
Optimism is an occupational hazard of programming; feedback is the treatment.

-- Kent Beck


πŸ•‘ Dec 28, 2024
Bluesky 18 Mastodon 5
Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.

-- Mosher’s Law of Software Engineering


πŸ•‘ Dec 27, 2024
Mastodon 1
Absolutely nothing should be concluded from these figures except that no conclusion can be drawn from them.

-- Joseph L. Brothers, Linux/PowerPC Project


πŸ•‘ Dec 26, 2024
Mastodon 15 (2)
...you might as well skip the Xmas celebration completely, and instead sit in front of your linux computer playing with the all-new-and-improved linux kernel version.

-- Linus Torvalds


πŸ•‘ Dec 25, 2024
Mastodon 4
Why is more important than how.

-- The second law of software architecture


πŸ•‘ Dec 23, 2024
Mastodon 1
Everything in software architecture is a trade-off.

-- The first law of software architecture


πŸ•‘ Dec 22, 2024
Mastodon 11
Users are a terrible thing. Systems would be infinitely more stable without them.

-- Michael T. Nygard


πŸ•‘ Dec 21, 2024
Mastodon 28 (2)
This β€˜users are idiots, and are confused by functionality’ mentality of Gnome is a disease. If you think your users are idiots, only idiots will use it.

-- Linus Torvalds


πŸ•‘ Dec 20, 2024
Mastodon 7
What I cannot build, I do not understand.

-- Richard Feynman


πŸ•‘ Dec 19, 2024
Mastodon 18
Well-designed components are easy to replace. Eventually, they will be replaced by ones that are not so easy to replace.

-- Sustrik's Law


πŸ•‘ Dec 18, 2024
Mastodon 7
In theory, theory and practice are the same. In practice, they're not.

πŸ•‘ Dec 17, 2024
Mastodon 2
Write a paper promising salvation, make it a 'structured' something or a 'virtual' something, or 'abstract', 'distributed' or 'higher-order' or 'applicative' and you can almost be certain of having started a new cult.

-- Edsger W. Dijkstra


πŸ•‘ Jun 26, 2024
Mastodon 2
A data structure is just a stupid programming language.

-- Ralph William Gosper


πŸ•‘ Jun 20, 2024
Mastodon 4
If you have expectations (of others) that aren't being met, those expectations are your own responsibility. You are responsible for your own needs. If you want things, make them.

-- Rich Hickey (from Open Source is Not About You)


πŸ•‘ Jun 14, 2024
Mastodon 3
Programming languages, like pizza, come in only two sizes: too big and too small.

-- Richard Pattis


πŸ•‘ May 10, 2024
Mastodon 6 (2)
Software obeys the law of gaseous expansion - it continues to grow until memory is completely filled.

-- Larry Gleason


πŸ•‘ Apr 26, 2024
Mastodon 2 (1)
Threads and signals are a platform-dependant trail of misery, despair, horror and madness.

-- Anthony Baxter


πŸ•‘ Apr 22, 2024
Bluesky 29 (1) Mastodon 4
My definition of an expert in any field is a person who knows enough about what’s really going on to be scared.

-- P. J. Plauger, Computer Language, March 1983


πŸ•‘ Apr 19, 2024
Mastodon 5 (1)
The Internet was done so well that most people think of it as a natural resource like the Pacific Ocean, rather than something that was man-made. When was the last time a technology with a scale like that was so error-free? The Web, in comparison, is a joke. The Web was done by amateurs.

-- Alan Kay


πŸ•‘ Apr 17, 2024
Mastodon 1
When there is no type hierarchy you don't have to manage the type hierarchy.

-- Rob Pike


πŸ•‘ Apr 15, 2024
Mastodon 2
Trying to express implicit and fuzzy relationships in ways that are explicit and sharp doesn’t clarify the meaning, it destroys it.

-- Clay Shirky


πŸ•‘ Apr 14, 2024
Mastodon 20
Life is too short to run proprietary software.

-- Bdale Garbee


πŸ•‘ Apr 11, 2024
Mastodon 10 (1)
An evolving system increases its complexity unless work is done to reduce it.

-- Meir Lehman


πŸ•‘ Apr 10, 2024
Mastodon 2
Nobody wants to program with mutable strings anymore, why do you want to program with mutable collections?

-- Rich Hickey


πŸ•‘ Apr 9, 2024
Mastodon 31 (3)
Nine people can't make a baby in a month.

-- Frederick P. Brooks


πŸ•‘ Apr 8, 2024
Mastodon 6
You want to make your way in the CS field? Simple. Calculate rough time of amnesia (hell, 10 years is plenty, probably 10 months is plenty), go to the dusty archives, dig out something fun, and go for it. It’s worked for many people, and it can work for you.

-- Ron Minnich


πŸ•‘ Apr 5, 2024
Mastodon 16
> What does tomorrow's unix look like?

I'm confident that tomorrow's Unix will look like today's Unix, only cruftier.

-- Russ Cox


πŸ•‘ Apr 4, 2024
Mastodon 3
Our programming house is like a hoarder's delight: there's too much stuff in it everything is too big. We need too many people to do basic things.

-- Rich Hickey


πŸ•‘ Apr 3, 2024
Mastodon 6
The price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich may find hard to pay.

-- Tony Hoare


πŸ•‘ Apr 2, 2024
Mastodon 9
The secret to building large apps is never build large apps. Break your applications into small pieces. Then, assemble those testable, bite-sized pieces into your big application.

-- Justin Meyer


πŸ•‘ Apr 1, 2024
Mastodon 15
Increasingly, people seem to interpret complexity as sophistication, which is baffling - the incomprehensible should cause suspicion, not admiration. Possibly this results from the mistaken belief that using a mysterious device confers [extra] power on the user.

-- Niklaus Wirth


πŸ•‘ Mar 31, 2024
Mastodon 5
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.

-- Linus Torvalds


πŸ•‘ Mar 30, 2024
Mastodon 4
The sooner you start to code, the longer the program will take.

-- Roy Carlson


πŸ•‘ Mar 29, 2024
Mastodon 2
Be careful to preserve the orthogonality of your system as you introduce third-party toolkits and libraries. Choose your technologies wisely.

-- Andy Hunt


πŸ•‘ Mar 28, 2024
Mastodon 0
That's what's cool about working with computers. They don't argue, they remember everything, and they don't drink all your beer.

-- Paul Leary


πŸ•‘ Mar 26, 2024
Mastodon 1 (1)
A generalist is a jack-of-all-trades but a master of none, whereas a generalizing specialist is a jack-of-all-trades and master of a few. Big difference.

-- Scott Ambler


πŸ•‘ Mar 23, 2024
Mastodon 13
So much complexity in software comes from trying to make one thing do two things.

-- Ryan Singer


πŸ•‘ Mar 21, 2024
Mastodon 15
The lurking suspicion that something could be simplified is the world's richest source of rewarding challenges.

-- Edsger W. Dijkstra


πŸ•‘ Mar 18, 2024
Mastodon 3
Premature optimizations can be troublesome to revert, but premature generalizations are often near impossible.

-- Emil Persson


πŸ•‘ Mar 17, 2024
Mastodon 7
Tests are the Programmer's stone, transmuting fear into boredom.

-- Kent Beck


πŸ•‘ Mar 16, 2024
Mastodon 5
Compatibility means deliberately repeating other people’s mistakes.

-- David Wheeler


πŸ•‘ Mar 15, 2024
Mastodon 10
The cost of adding a feature isn’t just the time it takes to code it. The cost also includes the addition of an obstacle to future expansion. […] The trick is to pick the features that don’t fight each other.

-- John Carmack


πŸ•‘ Mar 14, 2024
Mastodon 8 (1)
The first rule of functions is that they should be small. The second rule of functions is that they should be smaller than that.

-- Robert C. Martin


πŸ•‘ Mar 13, 2024
Mastodon 37 (3)
It can be better to copy a little code than to pull in a big library for one function. Dependency hygiene trumps code reuse.

-- Rob Pike


πŸ•‘ Mar 12, 2024
Mastodon 10
Testing leads to failure, and failure leads to understanding.

-- Burt Rutan


πŸ•‘ Mar 11, 2024
Mastodon 2
The standard rule is, when you're in a hole, stop digging; that seems not to apply [to] software nowadays.

-- Ron Minnich