Re:KDE Plasma Is Not a Desktop Environment
by dvdkon on Thursday April 13, 2023 @05:13AM
(#35552898)
When you need to have different options showing complex things as a wallpaper, it's best to factor them out as plugins, or at least separate implementations of some interface in their own files. When that happens, why not also use that interface for the basic functionality, ensuring a common code path? You don't want "enum WallpaperStyle { Image, Color, Plugin }" when you can have just "WallpaperPlugin".
[ Parent
| on HN ]
There are no comments on this comment yet.