A case for keyset pagination in preference to OFFSET.
Category Archives: Programming
A Vim Guide for Intermediate Users
Today I ran into A Vim Guide for Intermediate Users which looked really great but I didn’t have time to take it all in.
Goto Statement Considered Harmful
So I typed this out: https://www.jj5.net/file/2020-12-20-034127/dijkstra68/goto-considered-harmful.txt
DRY is a Trade-Off
DRY is a Trade-Off makes some good points.
Retry-After
Today I learned about the Retry-After HTTP header. It was mentioned over here.
CSS Variables and How To Use Them
A quick run down on CSS Variables and How To Use Them. Note the var() function can take 2nd parameter for a default value.
:root {
--primary-color: #333;
}
div {
color: var(--primary-color, #444);
}
p {
background-color: var(--primary-color);
}
.fancy {
border-color: var(--primary-color);
}
A Distributed Systems Reading List
Also on HN today: A Distributed Systems Reading List. Some good stuff there.
Command Line Interface Guidelines
Command Line Interface Guidelines looked interesting but I didn’t have time to closely read the whole thing.
The Wrong Abstraction
Read a great article today: The Wrong Abstraction. It talks about when it’s better to duplicate code that maintain an abstraction. Other things mentioned include:
Parse, don’t type-check
I read Parse, don’t type-check which referred to Parse, don’t validate; both are articles I would like to circle back to.