Slashdot videos: Now with more Slashdot!
We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).
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.
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
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.
Just once I'd like to see a discussion on
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
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?
"I wish I could point you to another site that does similar work, but alas, I know of none."
You mean you haven't read Bennett's high-quality journalism?
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.
There's you clickbait headline, Gawker, et al.
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.
This Barbie actually does sound like some computer "engineers" I've known.
Does that mean we need a "Police Officer Ken" book where he shoots an unarmed teen of color because that sounds like some police officers we know?
Why blow on money when there's already blow on money?
Slashdot Editing: Dead At 0.
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?
The framework must provide for platform-independent ways to do things so that it is easier/shorter to do it the right way than using a naive but non-portable approach.
You're totally right. Otherwise, it flies in the face of the virtue of laziness. If the easiest way to do something is cross-platform, you'll write all your code to be cross-platform whether the project requires it or not. Requirements, after all, always change;)