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

 



Forgot your password?
typodupeerror
×

Comment Re:PHP (Score 5, Interesting) 254

I was about to make a joke, but seriously, the only language I can think of that doesn't have some nasty gotcha is . . . . ugh . . . BASIC. Python has the whole whitespace deal, Perl code tends to be unkempt, Java is fuggin java, Ada is a secret government spy, I don't even want to talk about C++, Bash is fine as long as you never have the misfortune of using quotes or variables, C guarantees regular segfaults, Matlab/Octave will delightfully inform you of your bugs deep in system library code, SAS's userfriendliness pars that of installing Linux from scratch, you can't write more than four lines of Fortran without painting some Star Trek action figure, and just fuck Cobol.

Honestly, BASIC's wins this round just by virtue of being so limited that it's hard to shoot yourself in the foot. I don't count GOTO, as jumps aren't really language specific. Having tutored programming for years, I can say that students are perfectly able to write speghetti code with or without goto. :p

Comment Re:"hello" == 0 is TRUE (Score 1) 254

I agree, and as annoying as it is . . . it really is a *very* bad habit to assume transitive property holds for most operations. For example, if a > c and b > c, it's not always the case that a + b > c. Or a * b > c. That's a nasty way to introduce a security exploit when using malloc (eg malloc(sizeOfObject*numberOfObjects)).

Slashdot Top Deals

Anyone can make an omelet with eggs. The trick is to make one with none.

Working...