On Sunday, 25 February 2018 at 13:33:07 UTC, psychoticRabbit
wrote:
On Sunday, 25 February 2018 at 12:13:31 UTC, Andrea Fontana
wrote:
On Sunday, 25 February 2018 at 09:30:12 UTC, psychoticRabbit
wrote:
I would have preffered it defaulted java style ;-)
System.out.println(1.0); // i.e. it prints 'what I told it to
print'.
System.out.println(1.0); // print 1.0
System.out.println(1.00000); // print 1.0
So it doesn't print "what you told it to print"
Andrea Fontana
can someone please design a language that does what I tell it!
please!!
is that so hard??
print 1.0 does not mean go and print 1 .. it means go and print
1.0
languages are too much like people.. always thinking for
themselves.
I fed up!
fed up I say!
Don't worry little rabbit 1 == 1.0 so it is OK.