Re: advantages of shorthand operator



On Sun, 29 Jun 2008 07:00:48 -0700 (PDT), asit <lipun4u@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

shorthand assignment operator provides two advantages
1>needs less typing
2>java compiler handles in an efficient way

What is the efficient way ???

see http://mindprod.com/jgloss/mccarthyandoperator.html
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Re: Catching invalid string comparisons
    ... If you need boxing and you are using an old Java, the compiler will ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.programmer)
  • Re: RAD vs. performance
    ... Thing if the compiler doesn't let you get away with this. ... command1 and command2 defined as before, and a lot of Common Lisp ... written compiler for a dynamic language isn't inherently slower than ... The difference is that, for static typing, you reject programs ...
    (comp.lang.misc)
  • Re: RAD vs. performance
    ... Thing if the compiler doesn't let you get away with this. ... command1 and command2 defined as before, and a lot of Common Lisp ... written compiler for a dynamic language isn't inherently slower than ... The difference is that, for static typing, you reject programs ...
    (comp.lang.misc)
  • Re: PEP 3107 and stronger typing (note: probably a newbie question)
    ... You can have declarative static typing with very few type *checking* - I may be wrong here but I think one could even write a C compiler without *any* type checking. ... some dynamically typed languages have grown type-annotations for the very same reason: hinting the compiler about possible optimizations. ... Most of the errors I have to deal with are logical errors, not type errors, and given the kind of "logic" you can find in business applications, I have some doubt about what a static type system - even a _very_ smart one - could prove here, at least if we hope to deliver the application within time and budget constraints. ...
    (comp.lang.python)
  • Re: static, dynamic and implicitely typed languages
    ... You can also explicitly declare the types of variables, ... The compiler obviously knows that the function must return a list, ... It had no static typing at all ... compile time) (you can emulate implicit typing by casting around the ...
    (comp.lang.lisp)