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

 



Forgot your password?
typodupeerror

Comment: Re:Plain old boring rules (Score 1) 232

by dwpro (#49382847) Attached to: Why You Should Choose Boring Technology
True, you can version control the stored procedures. I don't think that takes away from my point though, pl/sl is a horrid language to write advanced business logic and I'd wager more than a little business logic is tucked away in the rows that store the "data". In peoplesoft's horrid incantation I worked on 7 years ago, there are large strings of javascript and html containing non-trivial extensions to business logic, just sitting around in rows. Try code reviewing that mess.

Comment: Re:Plain old boring rules (Score 2) 232

by dwpro (#49378561) Attached to: Why You Should Choose Boring Technology

The beauty of this is that all of your website code is in the database, making it centrally managed and all application security logic is enforced by the database.

Ah yes, the beauty of non-version controlled code stored as giant strings in the bowels of a database with the most powerful of languages (pl/sql, of course) to grease the gears. I bet it's a complete joy to use.

Comment: Re:ignorant hypocrites (Score 1) 347

by dwpro (#49145827) Attached to: The Programmers Who Want To Get Rid of Software Estimates
While much of your comment is correct, I don't think you can correlate the complexity of sculpting or painting to using technology (at least, complicated, integrated technology).  I can't foresee a sculpting project where you find that your scalpel is incompatible with the version of clay, so you're going to have to go dig up clay on the back yard or use a butterknife instead.

Comment: Re:GOTO is a crutch for bad programmers (Score 1) 677

by dwpro (#49043481) Attached to: Empirical Study On How C Devs Use Goto In Practice Says "Not Harmful"
            Dim numsToClean As New List(Of Integer)
            For indx = 1 To 3
                If Not AquireResource(indx) Then
                    Cleanup(numsToClean)
                    Return
                End If
                numsToClean.Add(indx)
            Next

            DoStuffWithResources()

            Cleanup(numsToClean)

Comment: Re:Boilerplate and readibility (Score 1) 411

by dwpro (#49033267) Attached to: Your Java Code Is Mostly Fluff, New Research Finds

removing a lot of boilerplate code would drastically increase the cost of code maintenance.

I can't disagree more with this perspective. Anything that can be considered boilerplate (I think getter/setters on properties are a perfect example of this) should have a default implied behavior and be explicitly overridden when suitable situations arises. I gain nothing from having boilerplate code taking up mental and screen real estate when there's nothing out of the ordinary about how these elements will behave in a given context.

Comment: Re:Stop looking for a single point of failure (Score 1) 493

by dwpro (#49019787) Attached to: Will Elementary School Teachers Take the Rap For Tech's Diversity Problem?
I guess our problem is that CS isn't a stepping stone to jobs in medicine, pharmacy, dentistry, or optometry. Look at the employment breakdown for jobs in "chemical engineering" and you see an 88% male dominated field. But please, tell us more about how we have gender problems.

Comment: Re:its not about the ring, its just a lesson. (Score 1) 591

by dwpro (#48961719) Attached to: Texas Boy Suspended For "Threatening" Classmate With the One Ring
But is a non-credible threat suspension worthy? There were very few suspensions back when I was in school, and only for severe infractions. These seems incredibly over the top. I'd put this in the category punishment of detention, maybe a trip to the principal's office. Certainly not suspension.

Comment: Re:You nerds need to get over yourselves (Score 4, Interesting) 212

by dwpro (#48913493) Attached to: Why Coding Is Not the New Literacy
Growing up with ranchers, there was always something that needed to be fixed/southern engineered. Perhaps a deer stuck a horn through the high-flow intake manifold on your front end loader or it isn't quite managing the amount of dust in the air, and all you needed to get by was to weld cover and perhaps reinforce the hood with some diamond plate steel so that future deer might not be able to wreck your engine.

Similarly, I feel like there's a good deal of coding that falls in between changing the oil and manifold design.

Comment: Re:So not Python, but VB? (Score 1) 648

by dwpro (#48860191) Attached to: Justified: Visual Basic Over Python For an Intro To Programming
If you're talking about VB.net It does look like both tail recursion (compile time) and anonymous functions made it into the 4.0 framework (neither of which will probably make an 'intro' course, I would imagine). I think the best reason for choosing vb.net is how much more linguistic it is. Using things like "Function....End Function" or "If NumberA > NumberB Then .... End If"" Would be quite helpful to a beginner just learning to parse code. Combining this with an extremely helpful GUI like visual studios would make teaching much easier. In my view, the tooling is nearly as important as the language. However, I'd probably have to recommend Javascript just as highly, since the tooling there has gotten so much better. But I hate javascript too much to do that. I personally think VB.net doesn't deserve 1/100th of the reputation it fields in this forum, especially for an introduction into programming. It won't segue as easily into learning C or assembly, but I think for an intro course it beats a lot of the alternatives.

Comment: Re:Productive individual vs productive company (Score 1) 420

by dwpro (#48708677) Attached to: The Open Office Is Destroying the Workplace

... design, architecture, problem solving. Most of the time, those are better done in group

I disagree. As with near anything, it's a balance. Problem/designs that require deep thinking and concentration are not effectively done in a group. Often on complex problems I've found more time is spent on keeping everyone on the same page than actually addressing the problem (disk swapping, if you will). Frequent interruption to "bounce ideas" is _not_ an effective use of time as countless studies have shown. Recurring meetings are a better venue for this type of discussion, just add it to your discussion queue unless it's urgent.

once the problem is solved, anyone can implement it

Right, because writing software is just like plugging in to the quadratic equation, and any monkey or "n00b" can do it. I'm extremely curious what field you're in that you have this perspective.

Comment: Re:This might come as a shock (Score 1) 681

by dwpro (#48690389) Attached to: Neil DeGrasse Tyson Explains His Christmas Tweet
This comment is exactly the mentality that I struggle to comprehend. How is the misdirection offensive? We do this all the time with other subjects, and no offense is given, often it's celebrated (see "rick rolling"). I guarantee you that your "non-asshole" version would have offended quite a few, simply for bringing it up on the sacred day. I'm offended you're cowing to notions of offense for no damned reason. People must learn to be civil about one other's beliefs, or we'll have more danish cartoon killings.

You cannot have a science without measurement. -- R. W. Hamming

Working...