Please create an account to participate in the Slashdot moderation system


Forgot your password?

Comment: Re:C++ is hard (Score 1) 757

by Prien715 (#49234083) Attached to: Was Linus Torvalds Right About C++ Being So Wrong?

You're a lucky person.

While everywhere I've worked has code reviews, there's no "retroactive reviews" for code written in the 90's which is truly horrid and fragile. I think we're also both lucky to have someone on our teams who is a language expert at C++ rather than a Java guy who dabbles -- but I've seen shitty code get into a workplace that way too.

Though the most depressing thing for me is doing a blame on good and bad code to find the author of the well-written code left the company and the terrible coder is in management.

Comment: C++ is hard (Score 4, Informative) 757

by Prien715 (#49228399) Attached to: Was Linus Torvalds Right About C++ Being So Wrong?

C++ was the first popular fast OO language. As such, there's a lot of confusing cruft left behind. Consider overloading the && operator or || operators. You should never do this*. But someone will come along and do it anyway. You can't get rid of the feature because of backwards compatibility and yet it's miserable. We can go down the list from polymorphic arrays to calling virtual functions during constructors. All things one should never do, but the language keeps them there for the sake of backwards compatibility.

Languages like Java fix some of these problems by explicitly not allowing operator overloading (which is heavy-handed) but enforces some readability.

As others have said, using good 3rd party libraries like Qt makes the language tolerable, but in the legacy applications I've supported, there's no shortage of programming faux pas made possible by the language (like assumptions about the order of static variable destructors -- which is compiler dependent). As a programmer, it can be fun and productive since simply using the better parts of the language can make programs easy to write and read. As a maintainer, it's a smorgasbord of bad programming practices which the language makes no attempt to prevent.

That said, Linus really likes the new version of Subsurface based on Qt. So there;)

* Scott Meyers More Effective C++ p.35

Comment: Surprise: Most People Voted Otherwise (Score 1) 497

by Prien715 (#48875121) Attached to: Science By Democracy Doesn't Work

It may seem odd, but most people in last election voted for Democrats, who have climate change as part of their platform.

In 2012, the first congressional election after the last round of gerrymandering, Democratic House candidates won 50.59 percent of the vote — or 1.37 million more votes than Republican candidates — yet secured only 201 seats in Congress, compared to 234 seats for Republicans. The House of Representatives, the “people’s house,” no longer requires the most votes for power. source

So blaming "democracy" seems a little odd -- especially since we're a Republic.

Comment: *Sigh* (Score 0) 224

by Prien715 (#48664823) Attached to: Tech's Gender Gap Started At Stanford

Just once I'd like to see a discussion on /. where women's experiences aren't discounted.

Maybe women have experiences men don't have and that we can't understand? Maybe us men shouldn't poo poo statistics just because they haven't "seen" discriminatory actions in the same way I shouldn't don't say there's no "racial bias" in policing just because I haven't experienced it personally (and probably won't).

But maybe I'm hoping for too much. Has /. even had a female on staff ever?

Comment: Re:News at 11.. (Score 1) 719

by Prien715 (#48637235) Attached to: Skeptics Would Like Media To Stop Calling Science Deniers 'Skeptics'

Crackers are white people who brag. As William Shakespeare wrote:
"What cracker is this same that deafs our ears with this abundance of superfluous breath?" [from King John]

In that sense, I suppose, given the demographics of the hacker community and its outsize ego, maybe "cracker" is appropriate?

Comment: Re:Watson is a scientist (Score 1) 235

by Prien715 (#48567241) Attached to: James Watson's Nobel Prize Medal Will Be Returned To Him

measurable intelligence between sub-Saharan Black Africans and Ashkenazi Jews

Can anyone name me a black sub-suharan psychologist? Now, let's try the same with Ashkenazi Jews. (Freud comes to mind immediately for me -- but he's not the only brilliant mind)

I find it simpler to explain the differences in the tests with the differences of the people who created them.

Comment: I don't blame WalMart Employees (Score 4, Insightful) 287

by Prien715 (#48430911) Attached to: Customers Creating Fake Amazon Pages To Get Cheap Electronics At Walmart

After all, when your employer pays you terribly, why do you care? Reject the idea, customer complains to your manager. Who is also, may not be the brightest star in the constellation, who may discipline/fire you.

Also? Average wage at WalMart: $8/hr (weekly: 8*8=64 * 5 days=$320). Which means, pulling this once and reselling the console is almost a week's pay. Taking $300 from WalMart, whose family owns more money than the bottom 42% of the US combined to feed your family doesn't seem like the most heartless crime in the world.

Comment: Bias much? (Score 1) 350

by Prien715 (#48380951) Attached to: Debunking a Viral Internet Post About Breastfeeding Racism

Despite not being able to find anything of "significance" (there is actually a 7% difference in his own data!), Bennett starts not with the neutral headline "Do Black Women Experience Discrimination Breastfeeding", but with "Debunking" -- which assumes is patently false. This assumption is probably because of the amount of experience he has breastfeeding. Or being black.

I'm a white male as well, but sheesh, white priviledge much sir?

Factorials were someone's attempt to make math LOOK exciting.