greptilian logo

IRC log for #friendlyjava, 2015-02-25

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:20 aditsu joined ##friendlyjava
01:20 Richard_2340985 joined ##friendlyjava
01:20 UsecAgo joined ##friendlyjava
01:20 pulsar joined ##friendlyjava
01:20 ChanServ joined ##friendlyjava
01:20 pdurbin joined ##friendlyjava
01:39 pdurbin joined ##friendlyjava
01:41 pdurbin joined ##friendlyjava
07:13 aditsu joined ##friendlyjava
07:22 aditsu pdurbin: I don't think either is more idiomatic in general; I was gonna say needle first sounds more natural, but it seems that I've used the other one more in practice
08:34 aditsu joined ##friendlyjava
08:59 Richard_2340985 joined ##friendlyjava
11:03 pdurbin heh. fair enough. PHP gets dinged for this
11:20 aditsu pdurbin: what do you mean?
11:46 pdurbin "argument order" at http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
11:58 aditsu ah, well the issue there is that it's inconsistent
11:58 aditsu pdurbin: in java it's usually more like haystack.foo(needle)
11:59 Richard_2340985 I'd use the bigger structure first... but that is only what comes intuitively to my mind
11:59 Richard_2340985 yeah aditsu is right
12:19 pdurbin I guess here I went for foo(needle, haystack): https://github.com/IQSS/dataverse/blob/master/src/main/java/edu/harvard/iq/dataverse/authorization/providers/shib/ShibUtil.java
14:37 aditsu joined ##friendlyjava
16:27 aditsu joined ##friendlyjava
18:02 aditsu joined ##friendlyjava

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode