« first day (814 days earlier)      last day (4143 days later) » 

10:00 AM
That clock would generate a lot of heat -> require better cooling -> would be noisy
 
He thinks getting a crazy fast CPU means no lags in games.
How lovely.
 
user1182183
and the desktop has only two 3.2 ghz cores
 
user1182183
worst ram ever possible
 
user1182183
and a geforce GT8600
 
user142019
Games always have lag.
 
10:00 AM
@GamErix Are these Intel? :P
 
user1182183
@BartekBanachewicz ye intel pentium D
 
user1182183
995
 
user142019
It takes time for the information from the keyboard/mouse/joystick to go to the computer.
 
user142019
That is lag.
 
user142019
(Though it is negligible. :P)
 
10:01 AM
@GamErix Oh, Pentiums. Old stuff. Anyway, Desktop is roughly 2-3x times more powerful than Laptop
 
@Zoidberg I think that particular one is a solved problem by now.
 
(when looking just at raw specs)
 
it also takes time for information to go from your brain to your fingers and then typing that out
 
user1182183
and yet my intel core i3 2.4 ghz x 4, 4 gb ddr3-667 ram with an ati radeon mobility hd 54470 with 512 mb of GDDR3 vram has problems beating it
 
user142019
@R.MartinhoFernandes ssst. I'm just being pedantic! *hides*
 
10:01 AM
@VictorT. no for robot. He has an usb cable, but don't ask me where it's attached.
 
user1182183
@BartekBanachewicz but cmon a 6 year old one : /
 
:o
you mean the matrix, just jacked in?
 
@GamErix Also, are you really implying that faster CPU = faster games?
 
@BartekBanachewicz Dammit, I was going to make that joke.
@BartekBanachewicz Lovely, ain't it?
 
user1182183
@BartekBanachewicz somehow that 3.2 ghz (x2) performs better than 2.4 ghz (x4).. ;F
 
10:02 AM
"somehow"
 
user142019
lololol
 
user142019
Nobody even noticed I changed my username again.
 
@GamErix Performs better my ass. Where? I can prepare synthetic benchmarks easily proving one on top of the other.
@Zoidberg Finally got rid of unicode errors, huh? :P
 
@Zoidberg It's still Zoidberg, just not with the SQL injection.
 
user1182183
@BartekBanachewicz fuck benchmarks, fire up call of duty and you'll see.
 
10:03 AM
Somehow HDMI or TOSLINK, Coaxial, SP/DIF work better for audio than USB
 
user1182183
;F
 
@Zoidberg O hey, attention deficit
 
user142019
@R.MartinhoFernandes hmm, I never thought of SQL injection. :/
 
user142019
Would be funny if it caused errors. xD
 
@GamErix I'm not buying a game I won't play to do a silly benchmark
 
user1182183
10:04 AM
or a game I really like: Operation flashpoint: Dragon Rising
 
@Zoidberg Wait, WTF was '-- supposed to be then?
 
user1182183
@sehe not heard bout torrents? :P
 
user142019
Just something random. xd
 
@GamErix I'm asking for the last time - are you damn serious ignoring GPU in terms of game performance?
@GamErix I'd be careful with that.
 
@GamErix I'm not pirating a game I won't play to do a silly benchmark
 
10:04 AM
yar!
 
user1182183
@BartekBanachewicz Is a Ati radeon HD mobility 5470 with 512 MB GDDR3 not equivalent to a desktop Geforce 8600 GT with 512 MB GDDR3 vram?
 
@Zoidberg Well, it happens to be: a closing quote on an SQL string, followed by a until-end-of-the-line comment introducer.
 
user142019
Hello Fred.
 
user142019
@R.MartinhoFernandes I agree. It's coincidental.
 
@Zoidberg Any news on Zoidlang? ;)
 
10:05 AM
On poorly written SQL handling code, that results in nastiness.
 
user1182183
the core clock speed difference is just 40 mhz
 
@GamErix of course not
 
@VictorT. talk-like-a-pirate day is early this year
 
It's ATI. 'nuff said.
 
:o
 
user142019
10:06 AM
@FredOverflow VM is partially working, GC is partially working, lexer is partially working.
 
user1182183
@BartekBanachewicz yes I preffer nvidia too but I was limited in my choice when buying this laptop
 
@GamErix then stop whining about how shitty it is
 
@Zoidberg In short, nothing works. :P
 
you bought the wrong laptop
 
@Zoidberg You have a VM but not a lexer? :)
 
user142019
10:07 AM
@R.MartinhoFernandes Well. The GC works except you must explicitly trigger it. xD
 
@chris srsly. awesome idea. I'd use a bigger number, depending on the loop frequency of course, but I have to do that. (were in the middle of a beta release, so the panic should be both wide-spread and near-instantaneous). — WhozCraig 2 mins ago
 
@FredOverflow I guess he can lex a subset of it, and execute a subset of it.
 
user142019
The call stack works, at least.
 
user1182183
ok so what we got here, a ram problem escalated into a quantum physycs problem, then we got over to a stupid and idiotic game speed/lagg comparision.. xD
 
user142019
And you can call functions that reside in other chunks of byte code. That's what I've been working on yesterday evening. Today I have written the GC.
 
10:07 AM
^ #define-ing true and false to be random
 
user142019
And now it's time to eat.
 
0
Q: Converting a Pointer to Reference, Costly?

Mr. SmithIf I've got a pointer to an object, let's say Object *ptr;, and I want to pass that to a method of the form void foo(Object& obj) I understand that I need to write: foo(*ptr); But why dereference ptr? Wouldn't it make sense to just pass it foo(ptr);? I'm worried *ptr might be making a copy...

lol
 
user142019
lol
 
@Zoidberg and you removed the public repo for it. This could mean you're sitting on a commercial success. Or it means you're to embarrassed. Hmm. Which is more likely... /c @FredOverflow
 
user142019
That's like, O(0).
 
user1182183
10:08 AM
i'm wondering why you need adminnistrator rights to access the cpu temperature.. ; o
 
user142019
@sehe I didn't remove the public repo? github.com/zoidlang/zoidlang
 
user142019
I made an organization. Eventually I'll put related projects on it, such as package manager or documentation or whatever.
 
@Zoidberg That is the same set as O(1).
 
user142019
(It was a joke.)
 
@GamErix Yeah, photons are access restricted and can't travel to unauthorized sensors
 
10:09 AM
Can't stop the photons.
 
@Zoidberg Different account. I was looking for the living among the dead
23 mins ago, by R. Martinho Fernandes
That's my joke!
 
user1182183
I need a script which makes Sehe's avatar at least 90% of my screen so I don't think his avatar is an ape.. over and over again -.-'
 
Aww, stupid LWS: You are forbidden to use this option(-catch-undefined-behaviour)
 
@sehe I was making a reference to Welbog, you silly bear. As usual, you failed to get a reference.
 
@GamErix A silverback, right? It's driving me nuts.
 
10:11 AM
I wanted to see if Clang would catch redefining a keyword.
 
@chris It's -fcatch... and only in clang, AFAIK.
@chris Doubt it. All the flag does is add runtime checks for stuffs.
 
@R.MartinhoFernandes, Oh, thanks. I don't use Clang because I'm on Windows. I tried --catch and -catch >.>
 
@GamErix I just had to check once
 
Jan 4 at 1:09, by sehe
C++~03 job in Berlin? Talk to the ape
What is C++~03?
 
@R.MartinhoFernandes I was making a reference to recent chat history, you silly robot. As usual you fail to see a reference unless it is farfetched :)
 
user142019
10:13 AM
@FredOverflow C++approximately03
 
@chris I have used that flag for a long time when writing stuff on wheels, but never ever actually ran into something it detected :(
 
@sehe A reference? Isn't that costly?
 
I'm pretty sure there's a precompiled binary of CLang for windows though
 
Speeking of apes, does he have a "retweet" bound to some shortcut key? Because he is so flooding my wall :P
 
It's allegedly O(0)
Lol
@VictorT. It's in @rubenvb's sf binaries under mingw64
 
10:13 AM
it needs the w32api headers from mingw to work though I believe and it's standard libraries
 
Not that the flag isn't good, it's just that my code is too awesome for it. :P
 
@Zoidberg Oh, I thought ~ meant "not" :)
 
@VictorT., Well, I have MinGW :)
 
user142019
oh :P
 
user142019
10:14 AM
@FredOverflow C++-4?
 
C++ is not strongly typed – it’s actually not at all; but it’s static, you made a confusion. — skp 3 mins ago
 
user1182183
ok so 500 qubits is equivalent to 2^500 bits in normal computing, and that's 2^450 terabytes... oki LOL.
 
@skp Who is making the confusion? C++ is strongly typed. My fingers hurt everyday — sehe 18 secs ago
5
 
You made a confusion? Yeah, right...
 
@sehe dat pun.
 
10:15 AM
@GamErix Wait, what?
 
user1182183
A quantum computer is a computation device that makes direct use of quantum mechanical phenomena, such as superposition and entanglement, to perform operations on data. Quantum computers are different from digital computers based on transistors. Whereas digital computers require data to be encoded into binary digits (bits), quantum computation uses quantum properties to represent data and perform operations on these data. A theoretical model is the quantum Turing machine, also known as the universal quantum computer. Quantum computers share theoretical similarities with non-deterministic ...
 
@Zoidberg lol I get it
 
@FredOverflow Makes me think of what my daughter likes to call a concussion: "conpudding" (works best in Dutch: hersenschudding -> hersenpudding)
 
user142019
@FredOverflow You must be an expert in C++! Oh wait.
 
@VictorT., Clang would make a pretty nice addition to my tools. Do you know if that one works with CodeBlocks (aka my non-project IDE)?
 
10:15 AM
@R.MartinhoFernandes Just smile and wave, smile and wave
 
codeblock's is pretty tool agnostic
 
user1182183
imagine processing sooo much data at once
 
@GamErix Ok, bit != state.
 
user142019
@VictorT. Vim is too. Use Vim.
3
 
codeblock's what is tool agnostic?
 
user1182183
10:16 AM
soo much porn O_O
 
500 "regular" bits can hold 2^500 different states.
 
@chris just download the clang binary and point it to your mingw install so it can find the stuff
it uses the mingw ld linker since it doesn't provide its own
 
Why was it again that string literals aren’t valid as non-type template arguments?
 
@GamErix rm -rf
 
user1182183
@R.MartinhoFernandes ah k :P
 
user142019
10:16 AM
@GamErix where. Gimme.
 
500 qubits can hold 2^500 different states (or superpositions of them, blah blah).
 
6
Q: template non type arguments

Chubsdad $14.3.2 - "... A template-argument for a non-type, non-template template-parameter shall be one of: ...a constant expression (5.19) that designates the address of an object with static storage duration and external or internal linkage or a function with external or internal linkag...

 
@Zoidberg not your flavour anyway
 
@KonradRudolph They are valid. Just not particularly usable.
 
@R.MartinhoFernandes okay :)
 
user142019
10:17 AM
@sehe how can you tell?
 
ah yeah, the student I'm teaching typed 5 chars insted of 4, sorry for the stupid question : ]] — user1889572 6 mins ago
I'm teaching
 
@Zoidberg I can't. But you can. And you did. Sorta. In an implied kind of way. There's also limits.
 
By the way, I have a (pretty) cool story of sleepless weekend. Using my desktop -> VM with Fedora -> adb shell -> chrooted to debian image -> swapped to bash, downloaded gcc and compiled thttpd. Now I have a web server that fits in my pocket :) (old android phone)
 
user1182183
@Zoidberg just, imagine a qquantum computer processing unlimited terrabytes of porn at once ; o
 
@skp C++ is not at all?!? Then what have I been wasting my time with all these years? :( — FredOverflow 40 secs ago
 
10:17 AM
Holy cow, that student's in for a rough ride with code like that.
 
user1182183
that computer would be the best fucking ever known to human sex machine
 
user142019
@GamErix "processing porn"?
 
@chris Oh dear.
 
Dec 27 '12 at 21:49, by Zoidberg'--
I have a "friend" who has a hard drive formatter and a hard drive shredder. I don't want to know why.
 
user142019
lol
 
10:18 AM
Don't tell phrensel.
 
user1182183
@Zoidberg sorry I get stupid ideas when I don't sleep whole nights
 
Already stressed enough.
 
user1182183
I can't sleep.
 
@chris phresnel
 
user1182183
fuck my life.
 
user142019
10:18 AM
No, I won't "fuck your life." Sorry to disappoint you.
 
@KonradRudolph Every once in a while someone will show up thinking they can make something really cool with them. That usually ends up with either lots of macros, or them realizing they cannot really do it after banging the wall too much.
 
@FredOverflow, I was just about to check that, thanks.
 
user1182183
ah well in 3:30 my GF will be here
 
@zoidberg what if he payed you?
 
pretzel.
 
user142019
10:19 AM
@VictorT. I'm not a whore.
 
user1182183
just waiting for that.. nice.. time..... mmmm
 
@chris I haven't checked it hough, just working from my memory here :)
 
@chris Oh boy.
 
user142019
Unless he pays with rep, because I'm a repwhore, then I would.
 
:o
 
10:19 AM
@GamErix wainting?
 
@R.MartinhoFernandes Wait, they are valid? How so? Quoth g++-4.7.2: “string literals can never be used in this context”
 
user1182183
@FredOverflow typo ;F
 
@FredOverflow, You're correct, it's phresnel.
 
@chris Well, that is a good opportunity to teach them about buffer overflows and why they should just do things right (std::string and shit) instead :) Sadly, I don't think that is what will happen.
 
user142019
I wish clang implemented inheriting ctors. Then I could get rid of my ugly exception macros.
 
10:20 AM
@KonradRudolph Oh wait, you mean f<"">?
 
@chris I think "phresnel" refers to some physical effect in optics or something. ICBWT
 
@R.MartinhoFernandes, I hope they'll catch on eventually. I was pretty bad myself before I came to SO.
 
Little by little, I've idiomized one aspect at a time.
 
@FredOverflow It's with an "f".
 
10:21 AM
@Zoidberg Is that why you nuked your other account? Because you were missing the prostitution?
 
user142019
No because my comments got removed for no reason and I was angry and chagrijnig. xd
 
Did @ThePhD change his name?
 
@Zoidberg and acting like 8yrold. lololololo
 
@R.MartinhoFernandes And ph is 1337 for F, I suppose ;)
 
@chris That's so close to sodomized
 
user142019
10:22 AM
@BartekBanachewicz Hey! Add ten to that!
 
@Zoidberg nah, I ain't much older :P
 
@user1889572 Ah, nice. Now this is a good opportunity to teach that student how silly it is to use fixed size buffers for code like this and how using std::string and std::getline are much more superior. Or, I hope not... for you to learn that. — R. Martinho Fernandes 5 secs ago
 
user142019
@FredOverflow Fluorine is not basic. Not even hydrofluoric acid is.
 
@BartekBanachewicz Well. We've got evidence on that info. Remember the time when you were going to apply for jobs
 
Wow, I just realized I'm laughing way more than I should be tonight. It's a bit extreme for my sense of humour. That makes me worried.
 
10:23 AM
You should be
 
@chris What are you laughing at?
 
Honestly, this must be what a high feels like or something.
 
@Zoidberg lol chemistry (chemics?), one of my many weak spots.
 
I don't see have anything particularly funny on my screen.
 
@R.MartinhoFernandes, Anything remotely funny :/
 
10:24 AM
lol chemics
 
I did read most of this...
2
 
@R.MartinhoFernandes Hey, if there's physics, why not chemics? ;)
 
I'm currently laughing at this for no apparent reason: "Be careful! You make more "++" at your pointer" link
 
user142019
Fluorine is not BASIC either, nor is it ACID. However, it is atomic.
 
yeah. rolling on the floor burning
 
10:25 AM
@AndreiTita Oh gawd.
All I can say is "Eww".
 
user1182183
682A5C4H0476I03J53D38642F385DW5D3E26706D58243034502U9365E67I42742B7A
W5J47A312439W65696W939I41I2Z9352LA457856M406D40W65395239I3B3067394V2
W653JK45424342839I767E4079WJ393K0757A2E40312Z93BM4D306974312E2U12431
243AM31Y5E61717I1M562164
 
Sep 23 '12 at 17:55, by sehe
@BartekBanachewicz "lang." (loose the abbrev)/ Why is SVN/Git only 4 years? Do you mean, VCS = 4+4 = 8yrs? It made me think "Wait - he worked for 5 years in C++ without source control?"
 
@Zoidberg At least here on Earth, most of the time it is molecular.
 
That makes me laugh every time :)
 
user142019
10:27 AM
@R.MartinhoFernandes because it reacts with like, everything? xd
 
user1182183
(kinda wondering if there's any program which would crack my "two-way-encoded" message :P)
 
Besides, I thought that my age is public. Never really checked that though.
 
user1182183
[or just download G-Code 1.1]...
 
@Zoidberg No, because "At standard pressure and temperature, fluorine is a pale yellow gas composed of diatomic molecules, F2."
@BartekBanachewicz SO profile says 20. Dunno if you lied about your birth date.
 
Xeo
The fuck that skp guy...
 
10:28 AM
@R.MartinhoFernandes Nah, I didn't.
 
user142019
@R.MartinhoFernandes oh yeah of course.
 
@BartekBanachewicz I remember
 
@Xeo He is used to Ada
 
@BartekBanachewicz Wait, that was you? Would you be offended if I laughed right now?
 
@FredOverflow That video description is weird...
 
user142019
10:28 AM
IIRC, fluorine even reacts with xenon, which is a noble gas.
 
user142019
| Section2 = | Section3 = | Section4 = | Section7 = | Section8 = }} Xenon difluoride is a powerful fluorinating agent with the chemical formula , and one of the most stable xenon compounds. Like most covalent inorganic fluorides it is moisture-sensitive. It decomposes on contact with light or water vapour. Xenon difluoride is a dense, white crystalline solid. It has a nauseating odour and low vapor pressure. Structure Xenon difluoride is a linear molecule with an Xe–F bond length of 197.73±0.15 pm in the vapour stage, and 200 pm in the solid phase. The packing arrangemen...
 
@R.MartinhoFernandes Feel free to laugh at me until I finally have time to get rid of singletons in OpenGLUI
 
@StackedCrooked I like the "Erik drinks hard drive acid, takes a hammer to a mouse in search of the database it hides" part best :)
 
FWIW, the puppy was a stranger to VCS until a year or so ago too.
 
user142019
Also, Teflon is awesome.
 
10:30 AM
@R.MartinhoFernandes Well, it's the best thing on earth since twitter and flushed toilet, really.
 
@BartekBanachewicz But what if some idiot accidentally instantiates a dozen GUIs trololol
 
@chris "EXPERIENCED COMPUTER PROGRAMMERS modify Algorithm A by placing a known elephant in Cairo to ensure that the algorithm will terminate." -- made me rofl. I'm weird like that.
 
@AndreiTita Monte Cairo algorithm
 
@AndreiTita, Personally, I liked the one with the project manager and the one with the $5 game a lot.
 
@FredOverflow this ^
 
10:33 AM
@BartekBanachewicz Is that from a movie or something? :)
 
@FredOverflow It's "Fuck Me, right?" meme
 
@FredOverflow It's called Superbad.
 
Just don't forget to add the ,
 
> The sarcastic expression was popularized through a scene from the 2007 comedy film Superbad, in which one of the main characters Seth (played by Jonah Hill) attempts to find a bathroom to wash menstrual fluid from his pants, saying “Fuck me, right?” in response to a girl standing in line (shown below). The movie was released on August 17th, 2007.
...okay...
 
user142019
 
10:34 AM
Also, McLovin'.
 
So, a movie called "Superbad"... Is it good? :)
@Zoidberg You do? High Five!
 
@Zoidberg ¬_¬
 
user142019
@thecoshman ^_^
 
@Zoidberg ┬──┬
 
user142019
A table?
 
10:37 AM
@R.MartinhoFernandes that movie was hilarious
 
I think I need to use a function called GetFirstDamagedParcel.
 
@Zoidberg (╯°□°)╯︵ ┻━┻
 
@thecoshman Wait, that table is shorter. Does that mean it is travelling away from the screen, and thus your thing has perspective?
 
user142019
That one's so stupid it underflows and becomes awesome — Mike Akers Oct 24 '08 at 17:46
 
user142019
lolz
 
user142019
10:38 AM
inb4 anticlimax when you click on the timestamp.
 
lol nice
 
@R.MartinhoFernandes no, it means you have a funky font
 
user142019
If you're emo and you know it, cut yourself!
 
@thecoshman Have not.
 
@Zoidberg If you're Prolog and you know it, ! yourself
 
10:39 AM
The first table has two ─ things, the second one has one ━ thing.
See the difference?
 
┬──┬
┻━┻

well I'll be jiggered... they don't line up
 
Could be a front and a side view, I guess.
 
could be....
 
user142019
@FredOverflow what does ! mean in Prolog? In Erlang it means send message.
 
Btw, "a front and a side view" or "a front and a side views"?
 
user142019
10:40 AM
Erlang's syntax is inspired by Prolog's.
 
so not so much a table flip as a table... barrel roll?
 
In Portuguese only the latter is correct, but many people use the former out of ignorance. Dunno about English.
Maybe I should ask on English.SE.
 
I shudder every time I see a CreateInstance function
 
@Zoidberg In Prolog it is known as "cut".
 
@R.MartinhoFernandes strictly, neither I think, "a front view and a side view", but I think you can drop the first view and leave it implied that the first 'thing' is also a 'view'
 
10:41 AM
It means... too complicated to explain unless you know some Prolog.
 
@R.MartinhoFernandes "front and side views" or "a front view and a side view"
 
743
A: What is your best programmer joke?

RoadWarriorWhen your hammer is C++, everything begins to look like a thumb.

lol
 
user142019
@R.MartinhoFernandes Ah okay. I'll look it up.
 
@R.MartinhoFernandes prevent backtracking?
 
@sehe yeah, makes sense
 
10:42 AM
@FredOverflow lol
 
@sehe Yeah, something like that.
 
see, not too difficult to explain
 
@sehe Without knowing how important backtracking is in Prolog, I don't think that explanation helps much.
 
it is not about how important it is in prolog, as much, I think
 
typedef long l; <--- Kill me now
 
10:45 AM
"short" is longer than "long".
3
"long" is heterological.
 
"heterological" is autological and heterological at the same time. I think.
I don't want to think too much about it.
 
#define NOT ~
Noooooooooooooooooooooooooooooooooooo
 
@TonyTheLion C++ has not
 
oh rly
TIL
 
10:47 AM
@KonradRudolph, That's for !, isn't it?
 
@KonradRudolph That's !.
 
@Tony And C has iso646.h which also defines this
 
@tony ¬_¬ 'professional' code?
 
@R.MartinhoFernandes It's heretic
 
@chris Oh, uhm. Yes, of course.
 
10:48 AM
@thecoshman I want to cry!
 
I don't know what it is, but bitnot or something.
 
Oh wait, it appears it is a paradox with a name en.wikipedia.org/wiki/Grelling%E2%80%93Nelson_paradox
 
Hm, when (more or less) was "override" keyword implemented in gcc and VS? i.e., how safe is to use it with pretty unknown older targets
 
@chris compl
 
@KonradRudolph, Yeah, that's it :P I was so close.
 
10:49 AM
Fucking ASP.NET
 
It's not like I use those things.
 
Yeah, let's generate some random HTML
Not like you might want to use your own
fff
 
bleh, ASP
 
@KonradRudolph yes but that's C. I'm looking at C++ code
 
@BartekBanachewicz GCC was 4.7, I think. VS had it from C++/CLI, I think.
 
10:50 AM
Oh yeah! @R.MartinhoFernandes, I remember what else I missed in that concepts thing. These alternative operator representations are good with it. REQUIRES(...) and REQUIRES(...) is easier to read than REQUIRES(...) && REQUIRES(...) imo.
 
also seems I have a base from which everything else derives
fucking great
 
@R.MartinhoFernandes kthx
@TonyTheLion java.lang.Object? :P
 
@TonyTheLion Sure. But just to throw it out here, I explicitly prefer not to ! and use it exclusively in code (not compl though)
 
@BartekBanachewicz no, not Java. C++
 
What are "front" and "side" in "front and side views"? Adjectives?
 
10:52 AM
@KonradRudolph ah I see. I could live with that. But not with a #define NOT.
@R.MartinhoFernandes I suppose, they describe the view
 
@R.MartinhoFernandes noun surely?
huh... oh... erm
 
but they are describing a noun (view)
which IIRC means they are adjectives
 
@TonyTheLion, Where is this crazy code coming from?
 
did I ever mention that I didn't get amazing grades for English at school?
 
@chris the codebase I'm looking at
and supposed to work on
 
10:53 AM
Oh geez. Good luck there.
 
@thecoshman no, but there's no need :P
 
@TonyTheLion :O
 
@R.MartinhoFernandes, Yes, I'd say adjectives.
 
@DeadMG: All the classic inheritance examples are terrible. I think this is a lesser one if you also want to teach polymorphism. Just be sure to avoid the real monstrosities like Square : RectangleBart van Ingen Schenau 1 hour ago
 
I was a lot better with definitive stuff like grammar than I was with essays. But we never did grammar.
 
10:54 AM
^ what does that tell us about (implementation) inheritance?
@chris That's great. 'Cause grammar is not a verb :)
 
so what about doing this class someclass : public std::list<someotherclass> is this good or bad?
 
@sehe Circle ->Shape is OK imho. Assuming Shape is abstract
 
@TonyTheLion, The containers weren't meant to be inherited from.
 
eh.
this code is worse that originally anticipated
 
Xeo
@TonyTheLion What does someclass add to the interface of std::list? Chances are, you can just make it a free function.
 
10:57 AM
@TonyTheLion really? REALLY?!
 
@Xeo a bunch of boost::shared_ptr typedef thingies
 
@TonyTheLion I'd say that composition is usually better with containers
 
Xeo
@TonyTheLion Wut. Only typedefs?
 
@Xeo yes
 
@BartekBanachewicz IOW, private inheritance! :P
 
Xeo
10:58 AM
Make it a trait or something...
 
let's all weep, hope to god that this turns out alright.
 
Well I hope they don't end up relying on a virtual destructor in a container somewhere else.
 
@TonyTheLion Eew, inheritance. Eew, std::list. Eew, inheritance from std::list.
 
Trait seems ok.
 

« first day (814 days earlier)      last day (4143 days later) »