Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment: Re:C# (Score 1) 641

by twistedcubic (#48562455) Attached to: How Relevant is C in 2014?

Here's one of countless reasons why you should learn C++.
std::thread([&](){ do_something(local_arg1, local_arg2); }).detach();
Write me the equivalent in C.


Wow! You should mention this on the Linux Kernel Mailing List. The Linux kernel is LOADED with threads, all written in C. You will certainly save the kernel developers lots of time when they switch. Please write back and tell me how it goes.

Comment: Re:C had no real successor (Score 1) 641

by twistedcubic (#48560049) Attached to: How Relevant is C in 2014?
C'mon, now. C++ needed the relatively recent "move constructor" to solve a serious inefficiency when doing, say for example, complicated matrix arithmetic using classes (created in the most obvious way). Before this, there were hacks, like template metaprogramming. The reputation of C++ is well-deserved, even if all of that stuff is fixed now.

Comment: Amateur Mistake (Score 1) 246

by twistedcubic (#48407607) Attached to: Big Talk About Small Samples
I read your long essay. You can only make inferences about the population you survey here ("Mechanical Turk"), not the general population. (Are people on "Mechanical Turk" representative of the general population?) So the best you can do here is draw conclusions about people using "Mechanical Turk", but alas, your sample wasn't random. It takes hard work to do a statistical study well, especially if taking random samples is too hard or too expensive. Unfortunately, nobody believes this.

Comment: Re:City life (Score 2, Insightful) 459

by twistedcubic (#48361755) Attached to: Black IT Pros On (Lack Of) Racial Diversity In Tech
I am so tired of this simple-minded shit getting modded +5 Insightful. Please stop psychoanalyzing an entire race if your primary experience with members of that race are just one real-life person (who will never get invited to your home), and a bunch of fools on television. You don't know what the hell you're talking about. You're not that amazing. Get over it.

Comment: Re:Competition (Score 1) 907

by twistedcubic (#47995777) Attached to: Miss a Payment? Your Car Stops Running

In the absence of a government-protected monopoly, if all sellers' costs decrease, competition will drive the price down over time.

How true! Gasoline here in southern California costs just $1/gallon now, when just last year I paid $4.50/gallon. Amazing how those cost savings are passed on to the consumer!

Brain damage is all in your head. -- Karl Lehenbauer

Working...