Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:"DSLR" is meaningless (Score 1) 446

It's not ridiculous for this reason: the LCD screen has a much lower resolution than the either the sensor or your eye looking through an optical path. You can't focus accurately with current preview screens, yet this is trivial with any SLR viewfinder (since you're experienced, of course I'm talking matte screens here rather than split image).

Comment Re:Oracle is doing everything they can to fuck up (Score 1) 641

Nonsense. In Java just wrap it in a class. E.g (Let's call the class lambda and have it predefined with a single func method, say in a library):

List<Lambda> myListOfLambdas = new ArrayList<Lambda>();

public void letsMakeALambda(){
    final String localContext = "A proper closure sees the local context";
    myListOfLambdas.add(new Lambda(){public Object func(Object o){
        return localContext;
    }});
}

public void letsUseALambda()
    for(Lambda l: myListOfLambdas){
        System.out.println(l.func(null));
    }
}

Slashdot Top Deals

Those who can, do; those who can't, write. Those who can't write work for the Bell Labs Record.

Working...