|
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-17. : 7:37 pm] lil-Inferno -- Dem0nDem0n shouted: why do I care tho? Unnecessary performance increase for your shitty calculator app and/or 2D pixel game that isn't hardware intensive at all LMAO[2016-7-17. : 7:37 pm] CecilSunkure -- Dem0nDem0n shouted: Why would you want to use a pointer LMAO Because that's how computers actually work[2016-7-17. : 7:36 pm] lil-Inferno -- Smh I hate when people use TABS instead of SPACES in their OBJECT ORIENTED code.[2016-7-17. : 7:36 pm] CecilSunkure -- SacrieurSacrieur shouted: you use a getter/setter for any property, not just integers Or you can use a pointer[2016-7-17. : 7:35 pm] Moose -- > Change private members of a class > Have to recompile calling code > Nice encapsulation LMAO[2016-7-17. : 7:34 pm] CecilSunkure -- Mini Moose 2707Mini Moose 2707 shouted: I could've just put the desired side effects into the getter/setter and not have to worry about all the calling code using the public field directly, code which I may not even control Most gettor/settor I've ever seen just return or set integers[2016-7-17. : 7:32 pm] CecilSunkure -- SacrieurSacrieur shouted: And then quickly fired after you demonstrate your incapability to follow our established software pattern. I didn't say I couldn't. I just said it's bad.[2016-7-17. : 7:32 pm] Sacrieur -- And then quickly fired after you demonstrate your incapability to follow our established software pattern.[2016-7-17. : 7:32 pm] Moose -- I could've just put the desired side effects into the getter/setter and not have to worry about all the calling code using the public field directly, code which I may not even control[2016-7-17. : 7:32 pm] lil-Inferno -- CecilSunkureCecilSunkure shouted: Dem0n OOP is only good for interviews Except for, you know, when you use it during your job LMAOOOOOOOOOOOOOOOOO[2016-7-17. : 7:31 pm] CecilSunkure -- AKA if Sac were interviewing me I'd have to deceive him into thinking I'm an OOP-head to get hired[2016-7-17. : 7:31 pm] CecilSunkure -- Dem0nDem0n shouted: OOP gets fat $tack$ tho so whatever LMAO OOP is only good for interviews[2016-7-17. : 7:31 pm] lil-Inferno -- While you're arguing about OOP sucking ass, I'm using it to get rich AF C|B^ )[2016-7-17. : 7:30 pm] Moose -- Yeah, but this particular case was easily avoidable by recognizing your lack of knowledge of the future.[2016-7-17. : 7:30 pm] Sacrieur -- So that you can replace or modify components (i.e., objects), without having to rewrite any other code.[2016-7-17. : 7:30 pm] CecilSunkure -- Yes please use OOP. It's great and solves all problems. Anyone can OOP![2016-7-17. : 7:29 pm] Moose -- No, you're spending time on a maintainability problem instead of solving real problems[2016-7-17. : 7:29 pm] CecilSunkure -- Mini Moose 2707Mini Moose 2707 shouted: But what happens if you DO use a public int, then later on you want to have a getter/setter that would also affect something else? Then suddenly you're not OOP-ing, you're think-ing![2016-7-17. : 7:28 pm] Moose -- But what happens if you DO use a public int, then later on you want to have a getter/setter that would also affect something else?[2016-7-17. : 7:28 pm] Sacrieur -- Oh wait... That's right, I am a professional software developer who uses OOP to solve complex problems.[2016-7-17. : 7:28 pm] Sacrieur -- But I've never gotten out of a book, so how would I know OOP is useful?[2016-7-17. : 7:28 pm] CecilSunkure -- You probably don't know what OOP is if you're solving real problems.[2016-7-17. : 7:28 pm] Sacrieur -- Man. If only I were a professional software developer that uses OOP to solve real problems.[2016-7-17. : 7:27 pm] CecilSunkure -- That way of thinking is following a methodology. It may have been better to just use a public int.[2016-7-17. : 7:26 pm] CecilSunkure -- OOP is more like... Okay, I want to add a data member to this class, like an int. Lets make it private. If it's private that means we need to add a gettor and a settor. The gettor should be const, because gettors do not modify internal state.[2016-7-17. : 7:25 pm] CecilSunkure -- Mini Moose 2707Mini Moose 2707 shouted: I just think of OO as glorified data structures with special functions (methods) that give you/other parts of the program/other developers an API for using them. I'd say that's just API design. Also I'd say there's a difference between an Abstract Data Type, and OOP.[2016-7-17. : 7:25 pm] Moose -- I just think of OO as glorified data structures with special functions (methods) that give you/other parts of the program/other developers an API for using them.[2016-7-17. : 7:22 pm] CecilSunkure -- I think it's a higher level concept. Which is why I keep saying methodology.[2016-7-17. : 7:22 pm] CecilSunkure -- Well often times people think of OO-ish code as "classes", or "objects"[2016-7-17. : 7:21 pm] Moose -- But yeah, anything I've written anything I would say is OO-ish, I never really ran around writing excess code and abstractions that didn't do anything relevant.[2016-7-17. : 7:19 pm] CecilSunkure -- aka, this is why MS word and Visual Studio take forever to load[2016-7-17. : 7:19 pm] CecilSunkure -- And these extras also never take into account the hardware they run on[2016-7-17. : 7:19 pm] CecilSunkure -- When OOP is used it's thought beneficial to write extra code, extra abstractions, all of which don't actually solve problems at-hand[2016-7-17. : 7:18 pm] CecilSunkure -- Well sure, and good code solves actual problems without doing anything extra[2016-7-17. : 7:18 pm] Moose -- And I'm not sure I care about the textbook definition because writing good code is more important to me LMAO[2016-7-17. : 7:17 pm] CecilSunkure -- Well I'm mostly commenting on non-academic implementations and professional software engineers that I've come into contact with[2016-7-17. : 7:16 pm] Moose -- IDK, I don't really have an academic understanding of it so I can't really argue for or against it. I don't know if the ways I use it are actually using it.[2016-7-17. : 7:14 pm] Moose -- But then that might mean you hate the way people use OOP more than OOP itself ![]() [2016-7-17. : 7:13 pm] CecilSunkure -- Which is fine, it just means jj isn't mindlessly following a methodology |