As far as functions vs class go, both are terrible to maintain in the long run. Both lead you on a never ending path of go-to-definition, because the documentation is rotten and the tests aren’t right/even there. The only difference is whether or not you want to search a few large or a metric fuckton of single responsibility files.
Maybe it’s different if your code bases aren’t crap and you’re a better developer than me.
But it’s bought and it’s nice, so whatever I hit the manufacturer website and find the correct product and google it, and get a flash sale from one of our most prominent baby stores. It was 350 Danish kr including delivery. Without closing the tap I check a few baby shops and a price checker website and see it’s actually 600-700 Danish krs everywhere, including on from the company the flash sale on google is form. So I buy it.
Apparently I hit the right combination of search history, and store advertising/inventory at exactly the right time.
Being curious I called my local baby store to ask why they could flash sale me at half price, and after a bit back and forth they apparently do this thing where they’ll catch you early with a cheap item and then when you come back they to buy it the next day it’ll be priced higher, except by then you’ve made up your mind to buy it and will pay the extra and I was just lucky having already made up my mind when I got it because the other store has been cheeky.
Not really related to DDG, but it’s the first time selling my privacy has paid off.