3 ms·
MVC = Model View Presenter? Objects = Structs or Workers? Callbacks = Continuations? Pub/Sub = Observer pattern? Depending on what programming language backgro
by kerkeslager 9y ago
MVC = Model View Presenter? Objects = Structs or Workers? Callbacks = Continuations? Pub/Sub = Observer pattern?
Depending on what programming language background you come from, you may not use the "established" names either.
- barrkel 9y agoGenerally speaking, solution to a terminology problem isn't to create terminology n+1.
- kerkeslager 9y agoThat depends what the terminology problem is. If the problem is that you're going to be criticized by a bunch of pedantic linguistic prescriptivists who want you to use their terms in the way they want, creating new terms avoids that criticism.
- abiox 9y ago> avoids that criticism is that really important to avoid? and one is just gaining new criticisms in trade, no? and of course, going bespoke and inventing everything yet again has it's perks. maybe you'll get to be the person who "invented" a term, should it catch on. great for the resume. :)
- dronescanfly 9y agoThe good old: Oh look, there are n different services, but all of them have not completely nailed it and my specific use case is not covered. I'll create a new service that does all of the stuff the old services already did, aswell as this new thing, thus making the old n services obsolete. Everyone will be thankful for the unifying service and hail me for reducing the number of choices from n down to 1. That's how we ended up with n+1 different services.
- sobani 9y agoMVC is not MVP see also https://stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference https://stackoverflow.com/questions/2056/what-are-mvp-and-mv... Objects vs Structs - a struct is just a collection of data, while an object is a collection of data AND behavior (methods). Callback vs Continuation - I wouldn't expect a continuation to be called more than once, while I callback can. Pub/Sub vs Observer - with the observer pattern you register for updates directly on the object that is responsible for them, while with pub/sub there is a central component involved and you don't even need to know who originally published it. So no, for none of the examples you gave you can just replace one term with the other.