« first day (3891 days earlier)      last day (1056 days later) » 

9:14 PM
sup
there's this line of code in a question :
((DTO) t.getTableView().getItems().get(t.getTablePosition().getRow())).setOperation(UPDATE);
and I really wonder, is that customary, with java?
that is, to traverse instances like that to access an object
 
@MwBakker you should spend like 8 months single
 
something something demeter law I think? it's very possible that's not a practice that applies in Java, I'm just curious
 
it'll clear these issues right up
maybe
maybe it'll do the opposite
@FélixGagnon-Grenier i've definitely written lines like that before lol
 
well
been there done that
but I have no idea what that is
 
9:29 PM
@FélixGagnon-Grenier this looks ugly
 
I mean, I would say that if I had any actual experience in Java
but you know, keeping an open mind and all ;)
 
i would say its rather API design problem more than the java istelf
java is super expressive tho
 
Yeah that makes sense, thanks for the distinction
 
yeah no probs ;)
 
9:32 PM
It's a double-edged sword (that expressiveness) a lot of people like it
but it brings a lot of boilerplate
 
YeAH JaVaScrIPt As WeLl cAn Be VerY BoiLerPlatEy
yeah I definitely gotta work on that one
 

« first day (3891 days earlier)      last day (1056 days later) »