Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

claes (1758)

  (email not shown publicly)
AOL IM: (Add Buddy, Send Message)

Journal of claes (1758)

Tuesday July 17, 2001
06:41 AM

No fun at all

[ #436 ]

The last 2 days, i've been doing some Java programming. I have a hard time understanding how some programmers can stand it. For example, a simple thing as checking if a numeric variable is >0 or if a bitwise AND is >0 (true) is a mess in Java and really pollutes the code.

I found out that the if statement expects a boolean so i have to do: if(variable != 0) { }. I actually tried doing a typecast from an int to a boolean. But that's not allowed either.

This is not sane!

I wonder if C# has the same stupidity...