|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2016-7-21. : 9:32 pm] CecilSunkure -- In the Unreal Engine there's a lot of use of inheritance. The benefit is that when someone wants to figure out how to make a particular thing, it's laid out in stone for all to see[2016-7-21. : 9:28 pm] jjf28 -- CecilSunkureCecilSunkure shouted: I don't even know for sure what functional means, or procedural focus on functions, little concern for grouping; less application of oop pillars[2016-7-21. : 9:26 pm] Moose -- And especially for what you've seen, given you've worked at Microsoft where they used so much of it.[2016-7-21. : 9:25 pm] Moose -- If the rate of shitty code turnout is the same for all design paradigms or methodologies or whatever it is, of course there's more of it in OOP because look at what the top languages are.[2016-7-21. : 9:24 pm] CecilSunkure -- I don't even know for sure what functional means, or procedural[2016-7-21. : 9:24 pm] Moose -- But you would need to make the connection that they wouldn't do these things if they only ever learned a functional language or whatever.[2016-7-21. : 9:23 pm] CecilSunkure -- You're right, maybe it's not fair to blame OOP. But at least by blaming OOP people know rouhly what I'm referring to and start to ask questions[2016-7-21. : 9:22 pm] CecilSunkure -- This sounds like the Islam comments in the shooting topic... Like the point I'm making is about reality, not about what Islam or OOP should or can be in theory[2016-7-21. : 9:22 pm] CecilSunkure -- Mini Moose 2707Mini Moose 2707 shouted: So again, your problem is overengineering and underthinking Yeah this is actually, in real life, right now, all the time, how OOP is performed[2016-7-21. : 9:21 pm] CecilSunkure -- Like Soviet Russia with no regard to the environment or efficiency. WE MUST MAKE X LBS OF STEEL THIS MONTH[2016-7-21. : 9:21 pm] CecilSunkure -- But in practice what you see in large companies, like Microsoft, is swaths of mediocre OOP-ers all writing bad code trying to get in "features"[2016-7-21. : 9:20 pm] Moose -- Or maybe each human holds the sun's position to them in a field that human has instead of being backwards LMAO[2016-7-21. : 9:20 pm] CecilSunkure -- So sure, any example we can come up with, if we involve a strong an experienced engineer, they won't make shitty mistakes[2016-7-21. : 9:19 pm] CecilSunkure -- That's OOP methodology. Think about objects in human related terms, form relationships between these conceptual object, and fill in the "blanks"[2016-7-21. : 9:19 pm] CecilSunkure -- Well it's natural to think of one-off things in OOP. Maybe we're making a game and want to model the sun, so suddenly all People objects are accessing the Sun object and setting its position relative to them[2016-7-21. : 9:19 pm] Moose -- Like hey, Java wants a stupid Comparator<T> for sorting. But the comparator doesn't hold state. I only ever need one.[2016-7-21. : 9:17 pm] Moose -- As for singletons, I've only ever written immutable ones, so I don't really have threading issues with them.[2016-7-21. : 9:16 pm] Moose -- Sure, but I still feel that's a design problem more than an OOP problem. But I could see how an inexperienced developer could do it.[2016-7-21. : 9:13 pm] CecilSunkure -- Mini Moose 2707Mini Moose 2707 shouted: And how does non-OOP implement those same things without using statics and globals? Generally non-OOP has a lack of excessive indirection or abstraction. A strength of OOP is clarity in organization and hierarchy, and these are usually achieved through indirection and abstraction[2016-7-21. : 9:11 pm] NudeRaider -- GeneralpieGeneralpie shouted: For triple monitor setups, do you guys prefer a 1 2 3 configuration or a 2 1 3 configuration? 123[2016-7-21. : 9:11 pm] CecilSunkure -- Singletons and excessive data abstraction. Often times it gets super convenient to use either, or both, instead of jumping through long abstraction chains. Like ptr->-get()->get().convert().find()[2016-7-21. : 9:11 pm] Moose -- And how does non-OOP implement those same things without using statics and globals?[2016-7-21. : 9:10 pm] Moose -- How does OOP lead to using more statics and globals? You would think you would put fields into the classes where they belong.[2016-7-21. : 9:07 pm] CecilSunkure -- Generally OOP lends to touching static or global data. These cause issues when trying to convert old legacy code to a newer multi-threaded environment[2016-7-21. : 9:05 pm] Generalpie -- Dem0nDem0n shouted: Generalpie I think I'd prefer 2 1 3, but now that I think about it, I don't know if I'd like the start button to be all the way on the left monitor if it's not my main one The start button can be placed on all monitors or just one[2016-7-21. : 9:05 pm] CecilSunkure -- Two for linked list, the other was this morning I googled a random file system file to check for OOP[2016-7-21. : 9:04 pm] Dem0n -- GeneralpieGeneralpie shouted: For triple monitor setups, do you guys prefer a 1 2 3 configuration or a 2 1 3 configuration? I think I'd prefer 2 1 3, but now that I think about it, I don't know if I'd like the start button to be all the way on the left monitor if it's not my main one[2016-7-21. : 9:02 pm] Generalpie -- For triple monitor setups, do you guys prefer a 1 2 3 configuration or a 2 1 3 configuration?[2016-7-21. : 9:02 pm] Moose -- http://c2.com/cgi/wiki?ArgumentsAgainstOop oh man, goldmine for Cecil LMAO[2016-7-21. : 8:58 pm] Generalpie -- CecilSunkureCecilSunkure shouted: Then give them to DarkenedFantasies I have dark fantasies ![]() [2016-7-21. : 8:54 pm] CecilSunkure -- I'd be all for it if jj wants to show like a demo OOP example. Then I could give comments or whatever and write up an alternative style if necessary[2016-7-21. : 8:54 pm] Moose -- Yeah, it was kind of a big one because you'd literally end up making an editor. That's why I suggested a .dat instead[2016-7-21. : 8:53 pm] CecilSunkure -- Oh I imagined CHK reading would take too long to get good examples up[2016-7-21. : 8:51 pm] jjf28 -- + the language is designed to run on every machine and has, by comparison, excellent file io libraries, sooo if this is a clear cut procedural win, I blame C++[2016-7-21. : 8:51 pm] Moose -- Like a unitsDatFile has a collection of unitsDatEntries which you have a bajillion getters and setters for. Then you make a nice GUI editor or some shit and then not have to worry about what byte 82 is and whether or not you put byte 14 where you meant to put byte 15. Then the modders are happy or whatever.[2016-7-21. : 8:46 pm] jjf28 -- serialization is a decent display of OOP in Java, but they have full-reflection and you can't really nitpick performance there ![]() [2016-7-21. : 8:45 pm] Moose -- Stuff that actually has a structure that can possibly lend itself to OOP instead of something it's pretty obviously going to be inferior at >_>[2016-7-21. : 8:44 pm] CecilSunkure -- What do they say at the wedding? Speak now or forever hold your piece[2016-7-21. : 8:37 pm] Moose -- Personally, I don't even think serialization was a good problem for this anyway. ![]() [2016-7-21. : 8:36 pm] CecilSunkure -- I find it hard to come up with much beyond the pros I outlined in the topic already[2016-7-21. : 8:35 pm] CecilSunkure -- That's a classic over-engineering pattern that happens during the dogmatic application of OOP-like ideas[2016-7-21. : 8:35 pm] CecilSunkure -- The direct result of that was I implemented a parser that looks ahead into the text file, when I could have just known what types were coming a-priori |
Ultraviolet