Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

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).

×

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

by SQLGuru (#49016941) Attached to: AP Test's Recursion Examples: An Exercise In Awkwardness

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:More useful than my high school options (Score 2) 259

by SQLGuru (#48990377) Attached to: Washington May Count CS As Foreign Language For College Admission

It may be the second or third most spoken IRL, but in terms of off-shoring, most of the jobs go to places that speak English (India), Chinese (China), Russian (Russia), and Portuguese (Brazil). So, knowing Spanish or French isn't as useful *in his profession*.

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

by SQLGuru (#48988233) Attached to: US Health Insurer Anthem Suffers Massive Data Breach

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

by SQLGuru (#48857547) Attached to: Justified: Visual Basic Over Python For an Intro To Programming

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:Javascript (Score 1) 648

by SQLGuru (#48856529) Attached to: Justified: Visual Basic Over Python For an Intro To Programming

I think Javascript is a good choice in terms of barrier to entry and examples available online. The only thing I dislike is that it is a dynamic language -- and I think that people learning to program need a very structured language as they are learning (protect them from their ignorance).

Comment: Re:Algorithms (Score 1, Interesting) 161

by SQLGuru (#48533203) Attached to: Why Apple, Google, and FB Have Their Own Programming Languages

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.

One can't proceed from the informal to the formal by formal means.

Working...