greptilian logo

IRC log for #friendlyjava, 2018-11-18

##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
04:43 kzisme joined ##friendlyjava
07:36 mr_lou joined ##friendlyjava
07:51 aditsu_ joined ##friendlyjava
13:29 deavmi joined ##friendlyjava
15:47 aditsu hey folks, I have a small test for you
15:47 aditsu without running it, what do you think this code will print? http://dpaste.com/0ZG1FMQ
15:53 pdurbin I don't know but in math class 0 = 0.0.
16:00 aditsu well, they don't teach java in math class :p
17:31 mr_lou I think it'll say true to all.
17:32 * mr_lou tries
17:33 * mr_lou now holds the sacred holy and secret answers
17:36 aditsu mr_lou: well, then you know you were wrong :p
17:38 aditsu the result is quite unexpected
17:40 mr_lou Yes it is.
17:40 mr_lou And I'm not wrong. The JVM is. :->
17:42 aditsu actually, they did that on purpose; I suppose you can try to claim that their decision is wrong
17:46 aditsu additional exercise: add one single character to the code to flip all 4 results

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

##friendlyjava on freenode