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

 



Forgot your password?
typodupeerror

Comment Re: Coding style (Score 1) 164

Do you write:

void foo()
{
String result;
if (...)
result = a;
else (...)
result = b;
else (...)
result = c;
return result;
}

or

void foo()
{
String result;
if (...)
return a;
else (...)
return b;
else (...)
return c;
}

Both are common, but compile to different code. Do you code to 'a procedure should live on a page'? How about 'a procedure should have a purpose'? Return errors or throw exceptions? Return values or modified arguments? Kitchen sink constructors? Getters & setters or fluent builders? There's seven variables without stopping to think, dividing coders 128 ways, and I'm sure you could find another dozen or so, taking it to one-in-a-million level. There's no need to obfuscate...

Comment Re: Hosting Platform (Score 2) 260

Yes, Facebook is the hosting platform, just as email once existed within computers and didn't travel between them. We don't yet have a Social Media Transport Protocol that allows peering between providers, but one day we will, and Facebook will follow AOL & CompuServe to the big walled garden in the sky. But, IMHO, that day is not in the near future.

Comment Segregated funds (Score 1) 465

If you're a bank or finance company, borrowing and lending on your own account, then yes, customer funds are liabilities. But stockbrokers, lawyers, accountants, et al. keep their customers' funds in a segregated trust account, and Mt.Gox and all the other exchanges should be following this model.

Slashdot Top Deals

"Text processing has made it possible to right-justify any idea, even one which cannot be justified on any other grounds." -- J. Finnegan, USC.

Working...