Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

system class in see-plas-plas

Name: Anonymous 2012-06-18 12:40

I'm curious - how do you define your system class? Is it entirely static, or defined in every file as 'extern DatCoolClass *itsInstance'.

If system class is an abstract idea to you, then fawk off, or imagine you needed to access variable holding the app's state - best put in one control class.

Name: Anonymous 2012-06-18 12:48

I make it a static class, but only if I've done my very bestest to avoid having global state.

Name: Anonymous 2012-06-18 12:52

Entirely static. Just use global variables or a global structure.

Name: Anonymous 2012-06-18 13:21

Use global variables. This isn't Java, no need to lie to yourself about the shitiness of your design.

Name: Anonymous 2012-06-18 13:46

Who gives a fuck as long as the program works. Fuck software engineering.

Name: Anonymous 2012-06-18 14:27

Remember, globals aren't always evil.

Name: Anonymous 2012-06-18 14:50

>>6
You're trolling, right?

....Right?

Name: Anonymous 2012-06-18 15:29

this isn't fucking javascript with it's name pollution, global/static symbol, end of story

Name: Anonymous 2012-06-18 15:39

I use globals. Fuck off, faggots.

Name: Anonymous 2012-06-18 16:00

Like I said, globals aren't universally evil. They're more or less useful depending on the language, but they always have their place.

Name: Anonymous 2012-06-18 18:51

Class dubs : public checkable

Name: Anonymous 2012-06-18 18:53

classes
this seems like the perfect place to use namespaces

Name: Anonymous 2012-06-19 0:04

EVERY SINGLE ONE OF YOU IS RETARDED
OH MY GOD
SERIOUSLY IT'S LIKE WATCHING TWO BABOONS FIGHT OVER A FECES-WRAPPED POMEGRANATE

Name: Anonymous 2012-06-19 0:18

>>13
C++ is a feces-wrapped pomegranate, minus the pomegranate.

Name: Anonymous 2012-06-19 0:37

>>14
back to /g/, ``please''!

Name: Anonymous 2012-06-19 12:01

┷⤴料側⌙䌴襗碂玁䈇戸艇璐ትᔄވ省撄砇色敖舕砕䜷䠦䊁脨㌨蠦ԑ圷喑愱䑕頶䑡╨卷⡙ታ蠰祳᎑ᘷॱဴ䔓墘萉摄瑵ؤご舃㔙ᎉփ㤃؅ܤሧ᡹✗熆➘錷ऴ၇㈠㌨祖〷㤂ᢑ呇⡇᎓㈡䊁䈸衉㤵䘹䁱恱⥀犃䐢蜥呢㎅䕳爣斐襑錶锑ᚇ䀀䡨楔ܘ瘄蝢․ᕆ∀鞕䤷㙣卉㍧牠㔆ㅥᅢ匒焙险䙔唒䜹茢⑔陧И椩ᙶ匹䕀钆x疀䂑葀瀹⎒㔲ᙆ㥂吀ͳ圸舠獴硡閃餐捆ցᄓ䤳朷艖愱鑙㖒锳Է斅ؗ爁脨摠Ή⊑㢃薅ĠѨᡡ怕䐒艇䆆ぢ硱蕘摶莉㕀敁‗遇卉ᜱ␩阷ၸ♕鉓㐂桦銆遵⌤户蒅栀占砱癣䌄偧怩ᘧ䌉❁⠖ᙢ垄愸剈薂䥘䊑ㅇᕙѳ㕳鎇圠閐㙩⁲ⅰₐ䎙ɹ莖㔰鄀蘦蕲舤褈⡩䍴霙祓㙐"茥劘Г芒晗鉢鍶鉓瑓镆瀡頨炘【‘ݨŒ㜁领㖗老倓褔煹̔熘㌉☖戠鍱傈熑奈⍔͡杷ᅒᘴᕂ㡃舙昢ԉ㥁䅧ᖙ蔓餔␡慕ᡶ䅂䢑銔ढ眲Ԕ慀

Don't change these.
Name: Email:
Entire Thread Thread List