Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Yes, but... (Score 1) 252

When I was learning recursion (eons ago, it seems), I was informed that both head and tail recursion could be "unrolled" to a loop of some sort (for, while, do....while, do...until, etc.) And recursion imparts a lot of overhead (push to stack, context switch, process, pop from stack), so you should unroll recursive functions as often as possible.

So, in this example, I don't think most people would think to use recursion at all --- head, tail, or mid recursion.

Comment Re:That's why nobody sensible wants them (Score 3, Informative) 223

PII should be classified based on sensitivity. At a certain level, that PII must be encrypted during transit. At the highest level, it must be encrypted during transit and at rest. SSN falls in the highest sensitivity level. SOP for years. This doesn't guarantee you won't get hacked, but it reduces / minimizes the impact if you are hacked.

PII - Personally Identifiable Information
SSN - Social Security Number
SOP - Standard Operating Procedure

Comment Re:Javascript (Score 1) 648

I'd argue C# and then Java because the non-programming pieces are "pointy-clicky, draggy-droppy". Running your web based code in IIS doesn't take a lot of knowledge about how to get IIS up and running --- whereas trying to do the same with something like tomcat is a pain for someone who is already struggling to learn programming. [Plus, Visual Studio is a very developer-friendly IDE.]

Basically, remove all of the pain points so that they can focus on learning to code....... (for those of you who argue the using Microsoft products is enough of a pain point, it's easier for a noob than learning Linux because of the aforementioned pointy-clicky, draggy-droppy approach.....)

Comment Re:Algorithms (Score 1, Interesting) 161

I disagree with your coder lock-in statement. But I agree with your "throw a dart" metaphor.

Just because you CAN code an algorithm in a language doesn't mean it's the best option. Just because I can drive a screw into a 2x4 with the heel of my shoe doesn't mean I should.

Languages are developed to make certain problem domains easier. If they are flexible enough, people will adopt them for other problem domains as well. If they aren't flexible enough, they might stick around in their problem domain, but they'll stay on the outskirts. That's it.

Slashdot Top Deals

If all else fails, lower your standards.

Working...