On Mon, Aug 9, 2010 at 3:00 PM, Fabrizio Giudici < fabrizio.giud...@tidalwave.it> wrote:
> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > > > On Aug 9, 3:07 am, Viktor Klang <viktor.kl...@gmail.com> wrote: > >> > >> > >> ANY word/symbol can be defined to work in a way that is not > >> intuitive, it doesn't matter if we call a method "plus" or "+" if > >> it's not doing addition, it'll be confusing anyway. > >> > There are two differences: > > 1) Full words are obviously less ambiguous than single characters. In > other words, it's much more probable to misuse an operator rather than > misusing an english word (or set of words). > May I ask how you figure it's easier to misuse a symbol than a word? (wrong implementation of equals and hashCode is one of the most common java problems.) > 2) Operators have the precedence thing that is able to confuse a lot > of average programmers. > Definitely, precedence is something you need to learn and remember. > > There's also the implicit type conversion thing (a real mess in C++) > but if I properly understand it is not a problem with Scala. > > - -- > Fabrizio Giudici - Java Architect, Project Manager > Tidalwave s.a.s. - "We make Java work. Everywhere." > java.net/blog/fabriziogiudici - www.tidalwave.it/people > fabrizio.giud...@tidalwave.it > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkxf/AkACgkQeDweFqgUGxdBbQCgmbPqN5uM8v0soAABHKySWXJz > 0xsAn03pVkUkz1Xj0f3E10jODAYGx5FR > =UknX > -----END PGP SIGNATURE----- > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to javapo...@googlegroups.com. > To unsubscribe from this group, send email to > javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- Viktor Klang, Code Connoisseur Work: www.akkasource.com Code: github.com/viktorklang Follow: twitter.com/viktorklang Read: klangism.tumbler.com -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to javapo...@googlegroups.com. To unsubscribe from this group, send email to javaposse+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.