| 73Q Music Videos | Vote On Clips | Submit | Login   |

Reddit Digg Stumble Facebook
Desc:CppCon 2016 presentation on safe integer types
Category:Science & Technology, Educational
Tags:programming, integers
View Ratings
Register to vote for this video

People Who Liked This Video Also Liked:
The Great Lou Seal vs Stomper Mascot Race
Beavis and Butthead get a motivational speech.
Weird Al Yankovic - Amish Paradise
Remember ALF?
Meg Whitman issues attack ad vs. Jerry Brown
Pizza Hut Training Video (1988)
Castlevania Movie Trailer
Terminator Origins: Harlan Ellison Interview
Chris-Chan Karaoke at TGI Friday's
Comment count is 15
memedumpster - 2016-10-12
This is the Borg Queen dialog in my rewrite of First Contact. She seduces Data by patching his integers. This foreshadows her demise when Data overflows the warp coolant. His line before breaking the tube is "negative two," because the integer errors in his positronic matrix gives rise to his free will.
chumbucket - 2016-10-12
So I suppose even with this we still will never know if the graphical paradox shape will actually send the Collective into an infinite loop.

memedumpster - 2016-10-13
Yeah, my rewrite is written by a hack, sorry.

Robin Kestrel - 2016-10-12
There is a potential Donkey Kong kill screen coming up.
mouser - 2016-10-12
operator overloading, especially assignment operators, are super evil.

But I would dig this. Except no go in Obj-C.
jfcaron_ca - 2016-10-12
Calling things categorically "evil" isn't meant to be a substitute for thinking, but then again you're using Obj-C

jfcaron_ca - 2016-10-12
Gdi I had a whole fake html-closing-brace that said "slash sarcastic burn, I don't care plz don't flame back unless ironic". I guess the web form sanitized the rest of my message away.

Then I said: if you want a drop-in replacement class for integers that throws an exception when they overflow, this is the right way to do it.

I posted this for his near-persecution complex, and his vehemence that this is a real important problem, despite no one really caring. I sort of sympathize, being a carer-of-things myself.

That guy - 2016-10-13
He's just trying to keep us all safe??
15th - 2016-10-13
i dunno im not an expert but if integers are overflowing you could divide them by a big number and make them really small or times them by zero which turns them into zero too. hope this helps
pastorofmuppets - 2016-10-13
C++ is funny. I'd wager that most of the people who work in it write a very small subset (c.f. Google's style guide).

But folks who really love the language seem to want it to have every feature ever conceived of. Boost people most of all.

It's like, having 9 ways to shoot yourself in the foot is considered more elegant than having 8... but most people only know two, and their team only lets them use one.
Raggamuffin - 2016-10-13
Well said

Oktay - 2016-10-13
Yes! Stroustrup himself came out and called it "expert-friendly" and I agree.

Black Napkins - 2016-10-14
Every fad language has had TIMTOWTDI in it somewhere since Perl[1], which is where the acronym comes from. I've seen it work really well with the right kind of discipline, but most coders I've met confuse discipline with ideological purity.

Not a big C++ fan, gotta admit. I still can't not think of it as C with added mess, and writing in it hasn't changed my mind much. Usually if I need the added mess, I opt for something a little newer. Out of the profession though, other than the occasional job for booze money, so what do I know?

[1]: Assuming C++ isn't a fad language.

Born in the RSR - 2016-10-13
I have a very vague understanding of what this guy's talking about, but gosh darn it I like his attitude!
gravelstudios - 2016-10-13
In my beginning programming class, we used java, and one student would occasionally get into arguments with the professor --who has been teaching computer programming at this university for 40 years-- about why C++ is better. After taking a more advanced class on C++, I agree that java is better for beginners.
Register or login To Post a Comment

Video content copyright the respective clip/station owners please see hosting site for more information.
Privacy Statement