|
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. : 3:31 am] jjf28 -- I disagree but ima go back to DBMS for the rest of the night so later <3[2016-7-21. : 3:31 am] CecilSunkure -- Otherwise you need all knowledge of the type at compile-time, which like I said requires custom code generation[2016-7-21. : 3:30 am] CecilSunkure -- You need some kind of mechanism like that if you want polymorphism[2016-7-21. : 3:29 am] jjf28 -- you don't need the inner switch for primitives at all is what I'm saying[2016-7-21. : 3:28 am] CecilSunkure -- It doesn't really get any faster than that without custom code-generation tools[2016-7-21. : 3:28 am] CecilSunkure -- jjf28jjf28 shouted: CecilSunkure you're storing then disambiguating the types at runtime though, you could cut that out entirely The only disambiguation is a function overload and the inner switch statement for primitives[2016-7-21. : 3:26 am] jjf28 -- then again a vector is pointlessly shifting things to runtime so I guess I support my former method ne ways ![]() [2016-7-21. : 3:23 am] jjf28 -- CecilSunkureCecilSunkure shouted: My example is just function overloads though you're storing then disambiguating the types at runtime though, you could cut that out entirely[2016-7-21. : 3:22 am] CecilSunkure -- Also your first example is intrusive to your class/struct. It entangles your class with serialization stuff.[2016-7-21. : 3:09 am] jjf28 -- http://puu.sh/q8T04/7579642a34.png http://puu.sh/q8T1Q/a10a122d76.png as opposed to http://puu.sh/q8T5D/296ac0516d.png[2016-7-21. : 3:05 am] jjf28 -- CecilSunkureCecilSunkure shouted: No matter what you do, you will need run-time type description of some kind. it's not necessary, you can have inline'd overloaded methods and avoid checking for types at runtime, I just want vectors cause it would mean 0 maintenance for type changes, minimal maintinance for member insertions/deletions[2016-7-21. : 2:59 am] CecilSunkure -- And whatever you pick, you will probably want to describe types you don't have source access to[2016-7-21. : 2:57 am] CecilSunkure -- No matter what you do, you will need run-time type description of some kind.[2016-7-21. : 2:52 am] jjf28 -- CecilSunkureCecilSunkure shouted: Here's my serialization routine for my personal stuff: http://pastebin.com/qdND0FBG mm, uses a wrapper though which is what I was trying to avoid[2016-7-21. : 2:50 am] CecilSunkure -- Can iterate type data members without having access to the actual C++ type[2016-7-21. : 2:48 am] CecilSunkure -- Here's my serialization routine for my personal stuff: http://pastebin.com/qdND0FBG[2016-7-21. : 2:40 am] jjf28 -- works nicely with objects that contain only other objects (CsvSerializables), but 1 primitive and the convenience evaporates[2016-7-21. : 2:37 am] jjf28 -- CecilSunkureCecilSunkure shouted: jjf28 What does "mix primitives and objects" mean? being able to make one list (vector) of all the data members of an object and passing that to a serializer (without explicitly including the types), was what I was going for[2016-7-21. : 2:33 am] O)FaRTy1billion[MM] -- BeatMeistroBeatMeistro shouted: Yo' FaRTy! So what you been up to lately? visited my brother in Nevada for a week, then got sick and threw up all day[2016-7-21. : 1:48 am] Corbo -- Today I just began to comprehend how much money he really has. I concluded it was a lot.[2016-7-21. : 1:47 am] Corbo -- Dem0nDem0n shouted: ayy he probably has fat $tack$ He really truly does.[2016-7-21. : 1:47 am] Corbo -- So he wants to turn his house (a mansion really) into a small hotel and make a restaurant/bar. He also wants to make a small bar in which ships, yacts and jetskis will dock and have a couple of beers on the bar. Thus, a small marina.[2016-7-21. : 1:46 am] Corbo -- I have a client that has a property in a... uh... lagoon? Sea river? dunno... a part of the sea that's like a river and shallow.[2016-7-21. : 1:44 am] Dem0n -- Do you have a certain type of thing that you only design, or do you just design w/e[2016-7-21. : 1:38 am] KrayZee -- You just place a lot of boat objects in Warcraft III map editor, Far Cry map editor, Garry's Mod...[2016-7-21. : 1:35 am] Corbo -- Mini Moose 2707Mini Moose 2707 shouted: I placed a few in Sim City 2000 way back, does that count? uh... not really[2016-7-21. : 1:34 am] KrayZee -- Fascinating, my brother owns that "Harry Potter Wizard Collection" box found in that link.[2016-7-21. : 1:28 am] Moose -- BeatMeistroBeatMeistro shouted: Snake better not be in one of dem' boxes. Dem0n's snake boutta be in one of them LMAO[2016-7-21. : 1:23 am] BeatMeistro -- Dem0nDem0n shouted: FUUUUUUUUUUUUUUUUUUUUUUUUUUCK THE BOXES Your pheromone levels suggest you want to mate with the boxes?[2016-7-21. : 12:30 am] Moose -- TiKelsTiKels shouted: Why do people act like coding is so hard. It's all easy Maybe ask people who are saying that instead of the shoutbox.[2016-7-21. : 12:26 am] Moose -- TiKelsTiKels shouted: Why do people act like coding is so hard. It's all easy Nobody here is?[2016-7-21. : 12:25 am] CecilSunkure -- TiKelsTiKels shouted: Why do people act like coding is so hard. It's all easy Tell that to Sac et al. and the lords of OOP[2016-7-21. : 12:24 am] CecilSunkure -- Mixing C++ objects and primitives is a matter of limiting yourself to POD objects[2016-7-21. : 12:17 am] Moose -- Which is fine if you're writing low-lat code to automate stock trades or making a game or on an embedded system, but TBH that's like nobody here so they're like w/e IDC[2016-7-21. : 12:08 am] CecilSunkure -- jjf28jjf28 shouted: would've be a lot better if I could figure out how to mix primitives and objects without wrappers; prolly woulda been abusing obscure features or forcing a printf style at that point though What does "mix primitives and objects" mean? |