#badengineering — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #badengineering, aggregated by home.social.
-
CW: rant programming
With #Qt5 the `QVariant(int typeId, const void *copy)` constructor would produce a `QVariant` with a default constructed value, if called with `copy = nullptr`.
With #Qt6 this constructor got replaced by a version that takes a QMetaType as first argument, and produces a null value of the given type.
Replacing the `int` is highly appreciated, but why this behavioral change?
Who approves such changes? How many projects do you want to break?