Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Trust the World's Fastest VPN with Your Internet Security & Freedom - A Lifetime Subscription of PureVPN at 88% off. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:Could be worse (Score 1) 626

Why would CBP care if you paid duty in Ireland or not?

That wasn't the purpose of the question. They wanted to know whether those bottles were bought from a shop and therefore contain what's on the label, or whether they were not bought at the duty free shop and therefore could have been refilled with something that provides a little more kick.

Comment Re:Python (Score 1) 312

Dead easy, powerful, interactive, fun.

However, it hides many of the basic but elementary constructs from the user. You may not want to write your fourteenth sorting algorithm, but for someone who's just starting, making bubble sort work is a learning experience.

I'm still looking for a better beginners ('kids') programming language, that still uses basic control structures (if/then/else, loops, etc) and has some graphics functionality (primitives like lines, boxes, circles) ready to use. Python either requires extra modules or dealing with tkinter for the latter.

Comment Sorry, but "creative use" of any feature ... (Score 2) 600

Sorry, but "creative use" of any feature of a programming language might impress your geek buddies, but it will also make your code utterly hard to comprehend and maintain for anyone - including yourself - in a matter of a few months.

(And I'm not saying 'goto' is a bad thing. Using it to uncreatively break out of multiple nested loops or do error handling is easier to understand than the alternative. Also, in about every programming language, there are pretty much always several ways to achieve a certain behavior. The one that is easiest to understand should be chosen unless there are pressing reasons for one of the other ways.)

Disregard my rant about maintainability if you code one-shot things that no one - including you - will look at again once you're done.

Slashdot Top Deals

Somebody's terminal is dropping bits. I found a pile of them over in the corner.

Working...