I'm a Java programmer, and I think for BigInteger and BigDecimal op-overloading would make sense, because those are numbers. In fact, Java should have a native type bigint and bigdec. But for anything that is not a number op-overloading is not good, it just obfuscates the code. There are of course always some cases when op-overloading makes sense even for non number types (Strings, but only the + operator for concatenation), but as a general rule, op-overloading is not good. There is no difference in writing stream.write("something") and stream "something".
You have NIO in Java. https://docs.oracle.com/javase... As for protocols, I would rather use NIO or a library. The cases of unsigned types are really small, so the Java devs made a choice to reduce program bugs by having only signed types.
How can you possible think that? C++ is just class slapped on C. The fact that you need to define your private fields and methods publicly in the header file makes C++ just a cripple as an object oriented language. The rest is just good to obfuscate your code, i.e. op-overloading and templates.
Who is this authority that declares what a good GUI is for the rest of us? I rather like an application that is the same everywhere, on Mac, Win and Linux, and I don't have to learn the nuances of a new system. Also, I think only Mac is different, 99% of all computers are the same, 3 mouse button, wheel, menu, buttons, etc.
Oracle didn't sued Apache Harmony but Google, because they didn't forked Java but created a new implementation. OpenJDK is the reference implementation and is under the GPL.
Yes, the EU is saying that the Irish tax office wanted to attract jobs by giving tax breaks and that it is working. If it weren't working, then the EU wouldn't have to intervene.
Do you have evidence that it's working? The EU intervened because those tax breaks violate EU law, not because they do or don't create jobs.
Btw, I don't believe that tax breaks are creating any jobs. Taxes are raised on profits, not income. Profits are incomes-expenses. So, if Apple had high income and would reinvest that income into jobs, Apple wouldn't pay any taxes. But Apple does not, but instead is asking for tax breaks, and those tax breaks go into Apple's purse and not into reinvestment or creating of jobs. Apple purse is about US$174 billion big.
- "However the browser simply should not know, and does not need to know, with what it is scripted. Be it Python or PERL. You only need a way to load a script instantiate the correct runtime environment / VM and expose the DOM and browser API to the script"
Yes, I agree. We should stop pushing JS and make a byte code standard so that any language can be supported. JS in production is currently akin to byte code anyway. I mean, try to read that
https://code.jquery.com/jquery...
it's a machine language in ASCII.
- "Probably try another JavaScript VM?"
How can I try another JS VM for Firefox?
- " alone is full with articles about the super fast JS implementations: since years."
Why doesn't Firefox use them? Again, every JS demo or production site needs to max out my CPU for the most basic tasks, whereas a native app would use maybe 5%.
Frankly, I don't get why it's just a big deal or discussion topic. We have already solved the exact same problem with animals a long long time ego. Animals are the property of the owner, and the owner is responsible of them and any harm those animals do. Also, parents are responsible for their children and the harm they do. AI will not get more complex or more intelligent than animals or a child anytime soon (maybe in 100 years, assuming exponential advances in technology). So, what's the big deal? The only reason it is made such a big deal is because companies want to avoid responsibilities, and hoping to shift the blame on a non-entity (the software or the robot). Just like software companies already got out of any responsibilities by including an EULA, for example the Windows EULA
----
"10. Binding Arbitration and Class Action Waiver if You Live in (or if a Business Your Principal Place of Business is in) the United States. [...] Microsoft excludes all implied warranties and conditions, including those of merchantability, fitness for a particular purpose, and non-infringement."
https://www.microsoft.com/en-u...
I'm a Java programmer, and I think for BigInteger and BigDecimal op-overloading would make sense, because those are numbers. In fact, Java should have a native type bigint and bigdec. But for anything that is not a number op-overloading is not good, it just obfuscates the code. There are of course always some cases when op-overloading makes sense even for non number types (Strings, but only the + operator for concatenation), but as a general rule, op-overloading is not good. There is no difference in writing stream.write("something") and stream "something".
You have NIO in Java. https://docs.oracle.com/javase... As for protocols, I would rather use NIO or a library. The cases of unsigned types are really small, so the Java devs made a choice to reduce program bugs by having only signed types.
I think C++ is a better object oriented language
How can you possible think that? C++ is just class slapped on C. The fact that you need to define your private fields and methods publicly in the header file makes C++ just a cripple as an object oriented language. The rest is just good to obfuscate your code, i.e. op-overloading and templates.
Who is this authority that declares what a good GUI is for the rest of us? I rather like an application that is the same everywhere, on Mac, Win and Linux, and I don't have to learn the nuances of a new system. Also, I think only Mac is different, 99% of all computers are the same, 3 mouse button, wheel, menu, buttons, etc.
Oracle didn't sued Apache Harmony but Google, because they didn't forked Java but created a new implementation. OpenJDK is the reference implementation and is under the GPL.
Yes, the EU is saying that the Irish tax office wanted to attract jobs by giving tax breaks and that it is working. If it weren't working, then the EU wouldn't have to intervene.
Do you have evidence that it's working? The EU intervened because those tax breaks violate EU law, not because they do or don't create jobs. Btw, I don't believe that tax breaks are creating any jobs. Taxes are raised on profits, not income. Profits are incomes-expenses. So, if Apple had high income and would reinvest that income into jobs, Apple wouldn't pay any taxes. But Apple does not, but instead is asking for tax breaks, and those tax breaks go into Apple's purse and not into reinvestment or creating of jobs. Apple purse is about US$174 billion big.
- "However the browser simply should not know, and does not need to know, with what it is scripted. Be it Python or PERL. You only need a way to load a script instantiate the correct runtime environment / VM and expose the DOM and browser API to the script"
Yes, I agree. We should stop pushing JS and make a byte code standard so that any language can be supported. JS in production is currently akin to byte code anyway. I mean, try to read that https://code.jquery.com/jquery... it's a machine language in ASCII.
- "Probably try another JavaScript VM?"
How can I try another JS VM for Firefox?
- " alone is full with articles about the super fast JS implementations: since years."
Why doesn't Firefox use them? Again, every JS demo or production site needs to max out my CPU for the most basic tasks, whereas a native app would use maybe 5%.
Frankly, I don't get why it's just a big deal or discussion topic. We have already solved the exact same problem with animals a long long time ego. Animals are the property of the owner, and the owner is responsible of them and any harm those animals do. Also, parents are responsible for their children and the harm they do. AI will not get more complex or more intelligent than animals or a child anytime soon (maybe in 100 years, assuming exponential advances in technology). So, what's the big deal? The only reason it is made such a big deal is because companies want to avoid responsibilities, and hoping to shift the blame on a non-entity (the software or the robot). Just like software companies already got out of any responsibilities by including an EULA, for example the Windows EULA ---- "10. Binding Arbitration and Class Action Waiver if You Live in (or if a Business Your Principal Place of Business is in) the United States. [...] Microsoft excludes all implied warranties and conditions, including those of merchantability, fitness for a particular purpose, and non-infringement." https://www.microsoft.com/en-u...