Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re: People actually *like* Python whitespace? (Score 3, Interesting) 339

[...] There's a perennial C logic bug where you take an if statement with a one-line body and add a second line without adding braces to denote a block; that never happens in Python.

This is why Swift explicitly does not allow for one line statements without curly braces.

more generally speaking, the language tries to avoid things that lead to dumb mistakes, no default fall through on switch case statements, explicitly requiring every case in a switch to be accounted for, etc. Anytime you imply meaning you introduce the potential for had to find bugs - especially later in the code development cycle when someone adds seemingly innocent changes.

Comment Re: People actually *like* Python whitespace? (Score 1) 339

If you're pasting a large enough block it is easy to miss one line and fail to indent it (or miss it in the copy). Now you have a bug, that may be extremely difficult to find. On the other hand, with curly braces, not only will you have a compile time error if you fat finger something, the editor also can automatically indent everything correctly - saving all sorts of productivity.

Yes, it still is possible to make a mistake with copy/paste, trying to make something idiot prof will only result in better idiots. That said, I want my languages to compile time fail on as many errors as possible - those are the easiest bugs to fix.

Comment Re:Forced benevolence is not freedom (Score 1) 551

Code does not have freedom, code is not forced to do stuff. Programmers can try to achieve freedom, and programmers may or may not be forced into implementations depending on their jobs, time, predilections, etc. If a programmer wants the freedom of working on code that they then chose to release under a GPL licensing agreement then the GPL has given them the freedom to provide a service under the terms they want. The rest is just anthropomorphizing code, and code really hates being anthropomorphized.

Comment Re:Forced benevolence is not freedom (Score 4, Informative) 551

BSD licensed software allows someone to take it, modify it in some meaningful way, and not share those changes back with the community at large. In that sense, it is possible for software licensed under a BSD license to lose the freedom it had. The developers did not lose any freedoms, the source did. GPL does not force you to be benevolent, it just requires that if you want to use GPL'ed software that your contributions remain benevolent (to use your term). If you don't want to, then chose some other solution, no one is forcing you to use GPL.
Both licenses have their strengths and weaknesses. Both cater to different needs and are appropriate for different (possibly overlapping) uses.Neither is a one size fits all, and neither is better than the other.

Comment Re:This is not going to work. (Score 0) 104

It does mentione NASA. The first line of the summary:

Taking a page from NASA's rocket powered landing craft from it most recent Mars landing mission, the European Space Agency is ...

So your excuse is that you didn't read the article, and you didn't read the first sentence of the summary to completion. You can't claim that you read the headline, because that doesn't mention NASA.

Comment Re:People pay for music? (Score 1) 364

It's more like:
Please put your content on our service so that that we both benefit (you get some ad revenue and exposure, we get ad revenue and become the 800 pound gorilla of online video)... [some time passes] ... ok now that we are the 800 pound gorilla we want to change the service and if you don't like it we will kick you to the street. Oh incidentally, the other 800 pound gorilla (RIAA) like the terms we gave them but that's a coincidence and you shouldn't see too much into that.

Comment Still stuck in an analogue thinking pattern (Score 4, Insightful) 216

When everything was analogue, you needed a custom device for each service (phone, TV, fax, etc). In the digital era that way of thinking is as archaic as the dinosaur. I do not want an internet connection that might be slightly better than my current phone, only to be left in the dust in a couple of years. I want a system that allows me to add my phone's internet the car seamlessly.
Yes someone is monetizing my mobile internet; no that doesn't mean that I want everyone monetizing it over and over again.

Slashdot Top Deals

When it is incorrect, it is, at least *authoritatively* incorrect. -- Hitchiker's Guide To The Galaxy

Working...