E, da se mi onda vratimo na temu :).
Citat:
Besmislen je jezik u 2014 koji nema operator overloading, uz silne GHz i Gb koje imamo na raspolaganju.
Glavni razlog zašto Java nema overloading, ako se sećam dobro Goslingove izjave je slično: "Kada pogledate kod, sve mora da ti bude jasno. Ako u C++-u vidite a + b, vi ne možete znati šta se zapravo dešava, bez da gledate definiciju klase. Mislim da je ovo prilično besmisleno, al' ajde - samo su ostavili prostor drugim jezicima da preotmu deo kolača.
Citat:
Po mom skromnom mišljenju, najbolje je početi sa nečim što ima poentere i pun OOP, ali je takodje low-level, i prčkati i po low level stvarima (nekim senzorima ili čak malom robotu). Tu postoje C/C++ ili Ada. Sa toga prelaziš bez problema na taj php, jer imaš jednostavnije koncepte i manju biblioteku.
D takođe pretenduje da bude dobar izbor, ali mu treba još pet godina da "sazri" (danas defakto postoje dve knjige, koje i nisu baš ažurne, a jezik je u eksploziji).
Edit: pronašao sam izvor
http://www.gotw.ca/publications/c_family_interview.htm
Citat:
There are some things that I kind of feel torn about, like operator overloading. I left out operator overloading as a fairly personal choice because I had seen too many people abuse it in C++. I've spent a lot of time in the past five to six years surveying people about operator overloading and it's really fascinating, because you get the community broken into three pieces: Probably about 20 to 30 percent of the population think of operator overloading as the spawn of the devil; somebody has done something with operator overloading that has just really ticked them off, because they've used like + for list insertion and it makes life really, really confusing. A lot of that problem stems from the fact that there are only about half a dozen operators you can sensibly overload, and yet there are thousands or millions of operators that people would like to define -- so you have to pick, and often the choices conflict with your sense of intuition. Then there's a community of about 10 percent that have actually used operator overloading appropriately and who really care about it, and for whom it's actually really important; this is almost exclusively people who do numerical work, where the notation is very important to appealing to people's intuition, because they come into it with an intuition about what the + means, and the ability to say "a + b" where a and b are complex numbers or matrices or something really does make sense. You get kind of shaky when you get to things like multiply because there are actually multiple kinds of multiplication operators -- there's vector product, and dot product, which are fundamentally very different. And yet there's only one operator, so what do you do? And there's no operator for square-root.