Programming Leftovers
-
SQL:2023 is out
The news today is that SQL:2023, the new version of the SQL standard, has been published by ISO.w
-
Default parameters and virtual (C++20)
I was messing around with some code that implements a widget hierarchy today, and bumped into some interesting edge cases of virtual functions. Parameters with a default value behave in an unexpected way.
Here is a vastly simplified code snippet: [...]
-
Parallel Agile: Interesting Idea – Does It Work?
Parallel Agile11 Parallel Agile promises to teach nine women to produce a baby in a month. Or, if you’re really in a hurry, 27 women in 10 days. Or any other combination that suits your specific staffing/time demands. You might guess that I’m a bit skeptical of the results, but it’s co-authored by Boehm. I have to give it a chance.
-
Abstract Base Classes in Python
Abstract Base Classes (ABCs) offer a solution to these limitations by allowing us to define a set of common methods and attributes that must be implemented by any class that inherits from the ABC. This ensures that objects of different classes can be used interchangeably in our code and provides a way to catch errors at runtime through type checking. ABCs also promote code reuse and modularity by enforcing consistency across their subclasses. They ensure consistent behavior in subclasses and enable objects of different classes to be used interchangeably.