The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Oct 13, 2025
Post comments count
4
Post likes count
3
API design principle: Don’t tempt people to divide by zero
Remove it from the equation.
Oct 10, 2025
Post comments count
5
Post likes count
2
The self-assignment principle for Windows Runtime properties: Don’t change behavior based on whether a property has been written to
The fact that a property has been set does not by itself trigger functionality.
Oct 9, 2025
Post comments count
4
Post likes count
2
The self-assignment principle for Windows Runtime properties applies to default values
The default value must be legal.
Oct 8, 2025
Post comments count
7
Post likes count
2
Windows Runtime API design principles around read-write properties: Idempotence and self-assignment
Setting it to the value it already has is not a crime.
Oct 7, 2025
Post comments count
6
Post likes count
2
Remembering the end of support for VRML in Internet Explorer
No one left standing.
Oct 6, 2025
Post comments count
10
Post likes count
3
Code comments should apply to the state of the system at the point the comment “executes”
Putting them in the flow.
Oct 3, 2025
Post comments count
2
Post likes count
2
Can we get weak functions for static linking? The Visual C++ compiler says “We have weak functions at home”
It's already there, just under a different paradigm.
Oct 2, 2025
Post comments count
0
Post likes count
1
The problem with inferring from a function call operator is that there may be more than one
auto parameters make this easy to write, particularly for lambdas.
Oct 1, 2025
Post comments count
1
Post likes count
3
How do I convert a FILETIME to a C++ clock like std::system_clock or winrt::clock?
The winrt::clock has a conversion for you.