Please create an account to participate in the Slashdot moderation system


Forgot your password?

Comment: Re:A stupid question... (Score 1) 304

by 1110110001 (#31008604) Attached to: Facebook's HipHop Also a PHP Webserver

In the integer case the type doesn't matter. '7' == 7 == ('7' + 0) == (7 . ''). If you look at how arrays are stored use an int as key isn't such a bad idea.

If you have '07' you would lose the leading zero.

BTW: I used 07 instead of 08 as numbers written as literal are treated as octal if they start with a zero.

Comment: Re:An unemployed LAWYER was perhaps.... (Score 1) 554

by rantingkitten (#29739213) Attached to: Blogger Loses Unemployment Check Because of Ads
Most people I know spend every minute they're at the computer wishing that the software they have to use was better, smarter, more efficient and more adapted to their way of working.

Actually most people I know either go "I'm just not a computer person" and leave it at that, or think they are already experts, but have no desire to improve the software they're using, just to brag about how good they are for assigning static IPs on a Windows machine, and are happy that they know how to do those things.

But regardless, it is still a choice. It's completely up to them if they want to invest the time and effort into learning programming and making a difference. Most people do the cost-benefit calculation, decide it's not worth it, and that's fine.

In fact, there's nothing that says people have to use computers at all. They make life a lot easier for most of us, but there are plenty of people who don't care, and get along fine without them.

People do not have this luxury when it comes to matters of law. You must comply, whether you like it or not. Educated or not, we're all supposed to obey the law.

Finally, failure to understand programming means some idle whining that the menus on this program suck, or that application takes too long to load. Failure to understand law means you get trapped with severe penalties for not abiding by rules you didn't even know existed. Be realistic.

"Well I don't see why I have to make one man miserable when I can make so many men happy." -- Ellyn Mustard, about marriage