Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

Comment: Python Assignment (Score 1) 647

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

First of all, I love Python. I get to program in Python all day.

However, I often wonder if Python's assignment methodology confuses students that move on to other languages.

In Python, an assignment is actually a naming operation, and not an assignment. On the surface, this seems to be the same thing, but it really is different. The other languages, with which I'm familar, do not operate like this.

Comment: Re:As a proportion of the budget... (Score 1) 287

by RoccamOccam (#48744885) Attached to: Should We Be Content With Our Paltry Space Program?
Well, not exactly lip service. Compared to their counterparts, even though they still spend excessively, Republican congressmen apparently propose far less spending. I can't find the reference, but a few years back I remember a story that compared the average Republican congressman to the average Democrat. The average Democrat was attached to proposed legislation (as in sponsor) with costs something like four times that of the Republican (if passed).

Comment: Re:C is very relevant in 2014, (Score 2) 641

by RoccamOccam (#48555821) Attached to: How Relevant is C in 2014?

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off".
Yes, I said something like that (in 1986 or so). What people tend to miss, is that what I said there about C++ is to a varying extent true for all powerful languages. As you protect people from simple dangers, they get themselves into new and less obvious problems. Someone who avoids the simple problems may simply be heading for a not-so-simple one. One problem with very supporting and protective environments is that the hard problems may be discovered too late or be too hard to remedy once discovered. Also, a rare problem is harder to find than a frequent one because you don't suspect it.

-- Bjarne Stroustrup

Comment: Battery capacity (Score 2) 56

by RoccamOccam (#48418409) Attached to: Jolla Crowdfunds Its First Tablet

Interesting that the battery spec isn't on par with the competitors listed on their website. Both the Nexus 9 and the iPad Mini have in excess of 50%-more capacity. I didn't see any numbers on expected battery life.

On the other hand, the price and multitasking-approach makes it a very attractive alternative, to me.

Optimism is the content of small men in high places. -- F. Scott Fitzgerald, "The Crack Up"