31 karma · joined Oct 4, 2024 (2y ago) · 17 submissions
comment 1y ago · link · parent
There is no music monopoly and customers have a choice in which music they listen to and what service they use (Spotify, Apple, Google/Youtube, Amazon, Bandcamp, buying CDs).
Surely if users get served worse music, they will dislike it, and move to another service or another way to listen to music.
comment 1y ago · link · parent
comment 2y ago · link · parent
Is this a widely held opinion? Call me crazy, but I really liked class components. It was nice to see the lifecycle stages in the actual method names, and encapsulate the behavior inside of a method block. To me that was really nice to read.
With hooks, everything is inside a function without clear delineation. The lifecycle stages are put anywhere in there with (to me) strange looking calls to useEffect and such.
Before, I used to love whipping up a quick UI in React, but since hooks I loathe doing that. I really don't want to upgrade my existing apps to newer versions. And for potential future project I'm looking for an alternative.
Perhaps I don't like it so much because I'm primarily a back and systems engineer, and only do small frontends on the side.
comment 2y ago · link · parent
Then again, I'm not a front-end dev, I just do hobby projects with JS.
comment 2y ago · link · parent
comment 2y ago · link · parent
People have such varying ideas about what "unit" means. For some it's a function, for others it's a class, for others yet it's a package or module. So talking about "unit" and "unit test" without specifying your own definition of "unit" is pointless, because there will only be misunderstandings.