|
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. : 9:00 pm] CecilSunkure -- Oh, are you looking at an example map for reference? One that works?[2016-7-17. : 9:00 pm] Sie_Sayoka -- it worked fine for the first time but when i made a second one it crashed[2016-7-17. : 8:58 pm] CecilSunkure -- Is it one of those things where you need to join a normal game first before you can join your map?[2016-7-17. : 8:42 pm] CecilSunkure -- Mini Moose 2707Mini Moose 2707 shouted: Yeah, whenever I profile at work, my getters and setters are pretty insignificant. Mostly Java tho. Sounds like cache misses[2016-7-17. : 8:21 pm] Moose -- Yeah, whenever I profile at work, my getters and setters are pretty insignificant. Mostly Java tho.[2016-7-17. : 8:18 pm] CecilSunkure -- So maybe this is just C++ bs, but, I write C++ all the time in my personal code without these problems[2016-7-17. : 8:18 pm] CecilSunkure -- Adding another integer becomes a big hassle involving 3-5 files and multiple interfaces[2016-7-17. : 8:17 pm] CecilSunkure -- The attempt was polymorphism, encaspulation and inheritence. All 3 resulted in a ridiculous, slow to compile, slow to maintain, slow to run mess[2016-7-17. : 8:16 pm] CecilSunkure -- They are gettors on virtual functions, going down the callstack like 5 levels deep[2016-7-17. : 8:14 pm] Moose -- But really, though, are you profiling code and having simple getters take up a significant part of execution time?[2016-7-17. : 8:12 pm] CecilSunkure -- Mini Moose 2707Mini Moose 2707 shouted: If my getter doesn't actually do anything else, can't the compiler just optimize away the extra layer anyway? Slowness comes from memory access patterns[2016-7-17. : 7:43 pm] Moose -- I could see worrying about it in embedded systems or resource-limited environments, but that's not my line of work[2016-7-17. : 7:41 pm] lil-Inferno -- Dem0nDem0n shouted: compiler ez af to make imo. i've done it If this nigga right here could do it, any mouth breather could LMAO[2016-7-17. : 7:41 pm] Sacrieur -- Some really, really smart people built the compiler. And it's going to optimize shit better than any one of us could.[2016-7-17. : 7:40 pm] Sacrieur -- I don't really understand the underlying details and I don't have to.[2016-7-17. : 7:40 pm] Moose -- If my getter doesn't actually do anything else, can't the compiler just optimize away the extra layer anyway?[2016-7-17. : 7:39 pm] lil-Inferno -- CecilSunkureCecilSunkure shouted: lil-Inferno Or, both become hardware intensive because OOP LMAO But luckily we're in 2016 and computers can handle this sort of thing effortlessly now ROFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL[2016-7-17. : 7:38 pm] CecilSunkure -- lil-Infernolil-Inferno shouted: Dem0n Unnecessary performance increase for your shitty calculator app and/or 2D pixel game that isn't hardware intensive at all LMAO Or, both become hardware intensive because OOP LMAO[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^ ) |
Dem0n,
Ultraviolet