Skip to main content
24 events
when toggle format what by license comment
Dec 22, 2018 at 3:35 history edited candied_orange CC BY-SA 4.0
added 25 characters in body
Dec 21, 2018 at 14:55 comment added JimmyJames @candied_orange Yep. Great answer.
Dec 21, 2018 at 12:26 comment added Sebastian Lenartowicz @Kafein - Even if the object is not intrinsically mutable, it may still have a boatload of complex behaviours inside - for instance, knowing how best to pass data from one source to another. If the object is stateless (or stateful, but immutable), the creation logic might be very simple but the internal logic very complex.
Dec 21, 2018 at 11:39 history edited candied_orange CC BY-SA 4.0
added 27 characters in body
Dec 21, 2018 at 11:32 comment added candied_orange @Kafein I already provided one link about that. Here's another. Maybe you should post a question.
Dec 21, 2018 at 10:20 comment added Kafein Your argument about creation and behavior being separate doesn't make much sense to me. Generally, creation is where most if not all of the complex behavior should happen, unless the object is intrinsically mutable. I feel that this philosophy nudges towards making more singletons and services than what is absolutely necessary.
Dec 21, 2018 at 3:03 history edited candied_orange CC BY-SA 4.0
added 14 characters in body
Dec 21, 2018 at 2:53 history edited candied_orange CC BY-SA 4.0
added 44 characters in body
Dec 21, 2018 at 2:32 history edited candied_orange CC BY-SA 4.0
added 5 characters in body
Dec 21, 2018 at 2:25 history edited candied_orange CC BY-SA 4.0
added 43 characters in body; added 8 characters in body
Dec 21, 2018 at 2:12 comment added candied_orange @JimmyJames better?
Dec 21, 2018 at 2:08 history edited candied_orange CC BY-SA 4.0
added 446 characters in body
Dec 21, 2018 at 1:46 history edited candied_orange CC BY-SA 4.0
added 28 characters in body
Dec 20, 2018 at 21:13 comment added JimmyJames One disadvantage I don't think you covered is that the use of lazy-loading can create issues. To say it prevents performance problems seems a little backwards in my experience. It saves space iff you aren't using everything. But the first things to come along and ask could have to wait for a while and maybe error out. On a slightly different note, you also won't know about a configuration issue with those services until they are requested. Often you end up 'warming' things up which defeats the purpose.
Dec 20, 2018 at 20:00 history edited candied_orange CC BY-SA 4.0
added 11 characters in body
Dec 20, 2018 at 19:54 history edited candied_orange CC BY-SA 4.0
added 33 characters in body
Dec 20, 2018 at 19:39 history edited candied_orange CC BY-SA 4.0
added 469 characters in body
Dec 20, 2018 at 19:28 history edited candied_orange CC BY-SA 4.0
added 469 characters in body
Dec 20, 2018 at 17:32 history edited candied_orange CC BY-SA 4.0
deleted 5 characters in body
Dec 20, 2018 at 17:22 history edited candied_orange CC BY-SA 4.0
added 3 characters in body
Dec 20, 2018 at 17:12 history edited candied_orange CC BY-SA 4.0
added 525 characters in body
Dec 20, 2018 at 16:57 history edited candied_orange CC BY-SA 4.0
added 41 characters in body
Dec 20, 2018 at 16:52 history edited candied_orange CC BY-SA 4.0
added 41 characters in body
Dec 20, 2018 at 16:46 history answered candied_orange CC BY-SA 4.0