tag:blogger.com,1999:blog-5855689509747625696.post4374394117838648086..comments2024-03-29T13:13:35.583+05:30Comments on Java-Latte: Operator overloading in JavaPardeep kumarhttp://www.blogger.com/profile/15415177669352479825noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5855689509747625696.post-80395516831335302672023-05-24T21:59:03.148+05:302023-05-24T21:59:03.148+05:30I experience very grateful that I read this. It...I experience very grateful that I read this. It's miles very helpful and very informative and that i certainly discovered plenty from it.<br /><a href="https://www.webdesign.123coimbatore.com/logo-designing-companies-in-coimbatore.php/" rel="nofollow">logo design coimbatore</a><br /><a href="https://www.webdesign.123coimbatore.com/brochure-designing-in-coimbatore.php/" rel="nofollow">brochure design coimbatore</a><br /><a href="https://www.webdesign.123coimbatore.com/seo-company-in-coimbatore.php" rel="nofollow">seo company in coimbatore</a><br /><a href="https://www.webdesign.123coimbatore.com/digital-marketing-company-in-coimbatore.php" rel="nofollow">digital marketing in coimbatore</a>123tws webdesign companyhttps://www.blogger.com/profile/15025803639144615610noreply@blogger.comtag:blogger.com,1999:blog-5855689509747625696.post-29897937643644519992016-03-06T08:00:59.502+05:302016-03-06T08:00:59.502+05:30A lot of this is plain incorrect.
For example, t...A lot of this is plain incorrect. <br /><br />For example, the statement "From JVM perspective operator overloading is more difficult", is wrong. Why and how would it matter to the JVM which compiles bytecode? Operators are literally just functions. The compiler could translate them appropriately as the compilers for dozens of other languages do.<br /><br />Also, you state that "If same thing can be achieved by using method overloading in more intuitive and clean way, it does not make sense to support operator overloading.", but how is myBigInt.Add(myOtherBigInt) more intuitive than myBigInt + myOtherBigInt? It is not.<br /><br />Furthermore,<br />String blog=new StringBuilder("Java-").append("latte").append(".blogspot.").append("in").append(new Integer(5).toString()).toString();<br /><br />Is most definitely a runtime operation. The reason operator + works on strings is because strings are treated specially by the language.Aluanhttps://www.blogger.com/profile/00163068807095398852noreply@blogger.com