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

 



Forgot your password?
typodupeerror
×

Comment Re: Inclusion would lower it if anything (Score 1) 62

I haven't really looked into it but I believe it runs standard Android apps. Of course, without the Google services, a lot of apps won't run but that's more Google attempting vendor lock-in in my opinion.

I haven't looked into the Amazon app store so I don't know how good or bad it is. I do know that as an Android dev, I fairly regularly get contacted by people claiming to represent other app stores who offer to include my apps (or do it without asking) but I have heard nothing from Amazon so far (though I'm thinking I might try putting my apps up there anyway).

Comment Re:why? (Score 1) 677

I don't know. I think it's case dependent. In the example cited, the cleanup code is simple function calls and the operations are different for each case (for one, it's one cleanup, for another, it's two and for the success it's three).

Part of the problem is, the examples are really too small to call either way. I try to aim for my code to be clean and understandable and not to be dogmatic about things. I avoid certain Perl idioms for just this reason. Though I certainly agree that TMTOWTDI

Comment Re:why? (Score 1) 677

The difference is that it's immediately obvious what a return statement is doing whereas the goto puts the flow of code "elsewhere" and might be leaving things in a weird state (granted that the OP has since claimed he intended to put some cleanup code before his return which could change the circumstances).

Slashdot Top Deals

"Look! There! Evil!.. pure and simple, total evil from the Eighth Dimension!" -- Buckaroo Banzai

Working...