Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Ease of writing doesn't convince me (Score 2, Insightful) 558

I agree that you don't write stuff like that if you're not an idiot. But sometimes you maintain code written by people who DO write code like that. And properties obscure that it's not just an assignment, it's a method call.

If you have a 4000 line file called program.cs, written 5 years ago by someone who was rightfully fired 3 years ago, it's a pain in the ass to check if something is a property or an actual member, and what that property may or may not do when assigned to.

By not implementing properties, and instead using getters and setters, you make it more obvious. It's a flag that says "Check this! It might be insane!"

Comment Re:Ease of writing doesn't convince me (Score 1) 558

That would be fine, if that was what was happening.

If you were changing the state of an integer with that = operator, it would be ok. But you're not, you're performing a separately defined action on that specific integer. Which may, or may not, merely change the state of the variable. And there's no blindingly obvious way to know if myObj.x is an int or a property that can be setted, or getted. (Somehow, set and gotten sounds wrong).

Comment Re:Ease of writing doesn't convince me (Score 1) 558

Of course properties are a terrible idea. They allow operator overloading on the instance level. That's insane.

int x = object.x;
assert(x == object.x); //works
int y = object.y;
assert(y == object.y); //works
object.x = x;
assert(x == object.x); //works
object.y = y;
assert(y == object.y); //fails

That's stupid and confusing.

Comment Re:You don't (Score 1) 533

No. Google TELLS you that they do it. If they told you that they didn't, well, they still might. If you assume that Google has some intent to invade your specific privacy, then you must make the same assumption of ALL search engines.

I'm not saying that Google isn't violating your privacy. I'm saying that with ANY search engine, when you make a set of queries to that search engine, you're giving them the ability to "invade your privacy" for some reasonable definition of that phrase. And the only thing that distinguishes them is that one search engine might tell you they don't save the data. But you have no particular reason to believe that fact.

Comment Re:You don't (Score 2, Insightful) 533

No, it's not. It's impossible for Google to offer the services they offer without compromising your privacy. ANY search engine will know what you search for on it. ANY email service will know what email you send through it. ANY map service will know where you are trying to drive to. ANY photo service will have your photos. ANY news service will know what news you are reading. ANY RSS reader will know what you have subscribed to.

There is no legitimate reason for a police officer to frisk you for no reason. There is no alternative for a search engine to not care what you're searching for.

Businesses

Treading the Fuzzy Line Between Game Cloning and Theft 235

eldavojohn writes "Ars analyzes some knockoffs and near-knockoffs in the gaming world that led to problems with the original developers. Jenova Chen, creator of Flower and flOw, discusses how he feels about the clones made of his games. Chen reveals his true feelings about the takedown of Aquatica (a flOw knockoff): 'What bothers me the most is that because of my own overreaction, I might have created a lot of inconvenience to the creator of Aquatica and interrupted his game-making. He is clearly talented, and certainly a fan of flOw. I hope he can continue creating video games, but with his own design.' The article also notes the apparent similarities between Zynga's Cafe World and Playfish's Restaurant City (the two most popular Facebook games). Is that cloning or theft? Should clones be welcomed or abhorred?"
XBox (Games)

Modded Xbox Bans Prompt EFF Warning About Terms of Service 254

Last month we discussed news that Microsoft had banned hundreds of thousands of Xbox users for using modified consoles. The Electronic Frontier Foundation has now pointed to this round of bans as a prime example of the power given to providers of online services through 'Terms of Service' and other usage agreements. "No matter how much we rely on them to get on with our everyday lives, access to online services — like email, social networking sites, and (wait for it) online gaming — can never be guaranteed. ... he who writes the TOS makes the rules, and when it comes to enforcing them, the service provider often behaves as though it is also the judge, jury and executioner. ... While the mass ban provides a useful illustration of their danger, these terms can be found in nearly all TOS agreements for all kinds of services. There have been virtually no legal challenges to these kinds of arbitrary termination clauses, but we imagine this will be a growth area for lawyers."
Emulation (Games)

Nintendo Upset Over Nokia Game Emulation Video 189

An anonymous reader writes "Nintendo is investigating potential copyright infringement by Nokia during some video demos of their N900 phone, which can be seen emulating Nintendo games. Nintendo spokesman Robert Saunders says: 'We take rigorous steps to protect our IP and our legal team will examine this to determine if any infringement has taken place.' In the video, Nokia says, 'Most publishers allow individual title usage, provided that the user is in possession of the original title.'"

Slashdot Top Deals

You knew the job was dangerous when you took it, Fred. -- Superchicken

Working...