Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:Does it make Minecraft run faster? (Score 1) 302

Can you sort an array like so in Java

public void swap(int a, int b)
{
    int tmp=b;
    b=a;
    a=tmp;
}

swap(array[i],array[j]); ...

Answer: no you can not.

references in java are gimped pointers and have nothing to do with passing parameters.

What gets passed is a value, if it is a primitive, or an address if it is an object.

  http://javadude.com/articles/p...

It is amazing how ignorant Java devs are.

Comment Re:One side of the story (Score 1) 710

Funny thing is that Jonathon Martin was absolutely vilified for speaking out against him being harassed.

Guess male on male harassment is still okay in many people's eyes.

I have known women "programmers" who couldn't write a hello world program by themselves who cry discrimination when confronted with their incompetence.

Until that sort of thing stops, and vile people like that entitled brat in the Donglegate farce go away, women claiming harassment in IT will always go under a microscope.

Slashdot Top Deals

It is easier to write an incorrect program than understand a correct one.

Working...