• 2 Posts
  • 26 Comments
Joined 6 months ago
cake
Cake day: January 19th, 2024

help-circle









  • Variable names shouldn’t need comments, period. You don’t want to look it up every time this variable is used in code, just to understand what it holds. Of course there are always exceptions, but generally names should be descriptive enough to not need additional explanation.

    And context can also come from names of other things, e.g. name of a class / namespace that holds this variable. For example AccessibilitySettings.HighContrast, where AccessibilitySettings holds all options related to accessibility.






  • That seems to be the committee policy these days - get the minimal version of a feature out of the gate first and then spend a decade extending it. Unfortunately sometimes they can’t even agree on what the bare minimum should be, which also causes the burn out of proposal authors and proposals get stalled (like what happened with reflection, though it seems that it’s in the works again).





  • Even “real” fractional scaling in Plasma with Qt 6 is not much better. Text will look slightly sharper, but icons are still blurry. There is no way for them to look sharp with 1.25 scaling since they are drawn with a pixel grid in mind. Unless you invent some way to stretch svgs so that their individual elements and spaces between them retain their integer-ness while the scale of the whole image is fractional.

    The only other solution is monitors with 300+ PPI where blurriness is simply not noticeable (that’s the way Apple went).