Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:PHP? (Score 2, Interesting) 962

Python makes sense to a degree, but its trademark The Whitespace Thing might prove especially frustrating, as adolescents tend to pay little attention to subtlety, so I could imagine the somewhat-subtlety of indentation could be problematic. Maybe I'm wrong; this is untested.

In general, I like the idea of using a clean, interpreted language like python. If a compiled language is used, the interface used should make that automatic. Still, playing with an interactive session might be invaluable.

I guess that doesn't really conclude anything.

Comment Re:I'll still avoid it (Score 1) 357

Hmm. All three of those work fine in Python. The meaning of x, y, and z would affect how I stored my variables, but I would probably use something like your first option (though I would probably add spaces around the operator). I would also use something like that in C and maybe even PHP. I would only use your most pythonic solution if x, y, and z should be thought of together in some way. If really wanted to save space, I would go with the top solution of x, y, and z don't relate in some way.

Shorter does not mean better. x,y,z = 1,2,3 does not make source code clearer, as you defend meaningful whitespace as doing.

Math

Submission + - Geohashing for local meetings (xkcd.com)

scooter.higher writes: From the Geohashing Wiki: XKCD comic #426 contains an algorithm that generates random coordinates across the U.S. every day. These coordinates can be used as destinations for adventures, a-la Geocaching. They can also be used for local meetups.

The official xkcd meetups happen every Saturday afternoon at 4:00 PM. If the coordinates for your area are in the ocean, a military base, or somewhere otherwise unreachable, that meetup is of course postponed. Unless, of course, you own a boat, are a soldier at said military base, or are James Bond. If you can, record who's there, take pictures, and post them here.

Slashdot Top Deals

"A car is just a big purse on wheels." -- Johanna Reynolds

Working...