Members in Shoutbox
None.

Shoutbox Search
Search for:


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.
Pages: < 1 « 1556 1557 1558 1559 1560 … 3578 >

[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 -- jjf28
jjf28 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 :P
[2016-7-21. : 3:23 am]
jjf28 -- CecilSunkure
CecilSunkure 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:21 am]
CecilSunkure -- My example is just function overloads though
[2016-7-21. : 3:05 am]
jjf28 -- CecilSunkure
CecilSunkure 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:55 am]
CecilSunkure -- Don't see a reason to avoid it
[2016-7-21. : 2:55 am]
CecilSunkure -- Here's the wrapper
[2016-7-21. : 2:52 am]
jjf28 -- CecilSunkure
CecilSunkure 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:51 am]
CecilSunkure -- Made this with it
[2016-7-21. : 2:50 am]
CecilSunkure -- Also doesn't use any C++ templates, heap memory, or OOP
[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 -- Can take structs or primitive types, all just fine
[2016-7-21. : 2:48 am]
CecilSunkure -- Here's my serialization routine for my personal stuff: http://pastebin.com/qdND0FBG
[2016-7-21. : 2:46 am]
CecilSunkure -- That just means you need some reflection
[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 -- CecilSunkure
CecilSunkure 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] -- BeatMeistro
BeatMeistro 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 -- Dem0n
Dem0n 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:47 am]
Dem0n -- ayy he probably has fat $tack$
[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:44 am]
Corbo -- If you know what I mean :shifty:
[2016-7-21. : 1:44 am]
Dem0n -- Why are you designing a marina LMAO
[2016-7-21. : 1:44 am]
Corbo -- I have designed ladies named marina before, in my dreams.
[2016-7-21. : 1:44 am]
Corbo -- oh, not that.
[2016-7-21. : 1:38 am]
KrayZee -- Unless you mean a lady named Marina.
[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]
KrayZee -- Yes I have
[2016-7-21. : 1:35 am]
Corbo -- Mini Moose 2707
Mini Moose 2707 shouted: I placed a few in Sim City 2000 way back, does that count?
uh... not really
[2016-7-21. : 1:35 am]
KrayZee -- On images
[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:34 am]
Moose -- I placed a few in Sim City 2000 way back, does that count?
[2016-7-21. : 1:33 am]
Corbo -- have any of you guys designed a marina? :P
[2016-7-21. : 1:32 am]
Corbo -- silly question but...
[2016-7-21. : 1:30 am]
KrayZee -- Does it involve Harry Potter?
[2016-7-21. : 1:28 am]
KrayZee -- Tell me
[2016-7-21. : 1:28 am]
KrayZee -- What's a box?
[2016-7-21. : 1:28 am]
Moose -- BeatMeistro
BeatMeistro shouted: Snake better not be in one of dem' boxes.
Dem0n's snake boutta be in one of them LMAO
[2016-7-21. : 1:27 am]
KrayZee -- What box?
[2016-7-21. : 1:26 am]
KrayZee -- Plagiarism
[2016-7-21. : 1:25 am]
BeatMeistro -- Snake better not be in one of dem' boxes.
[2016-7-21. : 1:24 am]
Moose -- Dem0n in heat for dem boxes
[2016-7-21. : 1:23 am]
BeatMeistro -- Dem0n
Dem0n shouted: FUUUUUUUUUUUUUUUUUUUUUUUUUUCK THE BOXES
Your pheromone levels suggest you want to mate with the boxes?
[2016-7-21. : 1:11 am]
Moose -- mad AF
[2016-7-21. : 1:05 am]
Dem0n -- FUUUUUUUUUUUUUUUUUUUUUUUUUUCK THE BOXES
[2016-7-21. : 12:59 am]
BeatMeistro -- Yo' FaRTy! So what you been up to lately?
[2016-7-21. : 12:48 am]
O)FaRTy1billion[MM] -- :wob:
[2016-7-21. : 12:30 am]
Moose -- TiKels
TiKels 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 -- TiKels
TiKels shouted: Why do people act like coding is so hard. It's all easy
Nobody here is?
[2016-7-21. : 12:25 am]
CecilSunkure -- TiKels
TiKels 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 -- Done.
[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:24 am]
TiKels -- Why do people act like coding is so hard. It's all easy
[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:17 am]
Dem0n -- yeah you have to go through so much tape. such a pain
[2016-7-21. : 12:14 am]
Moose -- Boxing and unboxing, maybe. You probably hate that, though, tbh.
[2016-7-21. : 12:08 am]
CecilSunkure -- jjf28
jjf28 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?

Pages: < 1 « 1556 1557 1558 1559 1560 … 3578 >


Members Online: Cynon, EstelleDrouin046, DelphineSavard199, ihjel, JakobWallner951