greptilian logo

IRC log for #friendlyjava, 2019-03-14

##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
03:58 nanoz joined ##friendlyjava
05:04 nanozz joined ##friendlyjava
09:15 nanozz joined ##friendlyjava
14:13 nanoz joined ##friendlyjava
15:55 pdurbin "Our journey rewriting 500K lines of Java code with Python — Part 1" https://medium.com/@caoyiming/our-journey-rewriting-500k-lines-of-java-code-with-python-part-1-9349b421856e
17:56 nanoz https://pbs.twimg.com/media/DtBDy0SUwAAv1_S.jpg
17:56 nanoz Benefits by Moving from Java to Go
17:56 nanoz we are moving entire code base to golang
17:56 nanoz millions lines to golang
18:47 kirua joined ##friendlyjava
19:02 kirua hi
19:02 kirua i would like to reduce the cyclomatic complexity of this method : https://pastebin.com/34rmCBpy  maybe using guava functions ? any tips?
19:11 pdurbin nanoz: interesting
19:13 aditsu kirua: first, you can combine ifs: if(a){if(b){...}} -> if(a && b){...}
19:13 aditsu second, you can reduce nesting: {if(a){...}} -> {if(!a){return;}...}
19:14 aditsu I don't know about "guava functions"
19:17 aditsu nanoz: you can probably get even better performance by switching to C++
19:18 aditsu also, somehow java still responds faster to get/post requests in that picture?

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

##friendlyjava on freenode