And more importantly: the value has nothing to do with the punishment.
It gets simpler if the crime is more complex: a) I break into your house (door not locked) and steal an apple - same as stealing a watch b) I break into your house --- door locked, I break a window or something --- steal an apple, or a watch, harder crime than a) c) I break into your house, point a weapon on you and rob (hint rob versus steal versus burglary) an apple, harder crime than a) or b)
It does not matter *what* you take... how valuable it is... it matters *how* you take it. Stealing a bicycle is the exact same crime as stealing a car. No difference in severity just because the car is more valuable. The difference is: is one locked or not, did you break a window or not, was the engine running and key inside, or not.
Most CO2 is not produced by humans per se, but by industrial processes. It does not matter if Germany e.g. loses half of its population over night. Only the houses with one inhabitant that suddenly is gone produce nothing... the trains, the industry, the bureaus, the farming even, would still produce the same.
Sure, you could argue you *need* less concrete... but concrete business is producing concrete and selling it, it simply sells elsewhere.
You are right, after hitting submit I was thinking about hibernate and co. However when you use frameworks like that, they are not the attack vector. As long as no one can "inject code" into your Java Application, reflection does not really matter.
What has REST to do with Java? Same like iced orange juice versus a compressed gas engine car. Nothing. Or same like a wire for electricity with a iron pipe for water.
How can REST be saner than Java, when REST is a protocol principle and Java is a language? You "can do REST" in any language. You can program anything, e.g. REST, in Java.
Stalin was a fascist just like Hitler... ooops, has nothing to do with communism. The communists in Laos or Vietnam never committed any crimes, ooops, you did not know that?
The emperor of China were fascists, ooops, you did not know that? After the revolution the winner of the civil war picked "communism". Why? Because the armies from democratic countries like the french from Lao and Vietnam or the british from Parkistan or along the coasts looted and plundered the country. How convincing for a nation that just had a civil war over a revolution to pick such a system... why would anyone copy/pick the political system of an enemy he finally mastered to defeat?
Question: If you're driving in a dense fog on a freeway, what's the safest speed? (There are lots of other analogous circumstances, where the answer depends on what the other folks are doing.)
No there are not.
The maximum speed is the option to get the car to stop in 50% of the visible range. And that is actually in sane countries the law. So: nothing to interpret. You can see ~50 yards far, you drive not faster than being able to stop the car completely in 25 yards. Why? Because if both drivers see each other over 50 yards distance and see it will be a crash, both can break and stop (not considering reaction time).
And yes: if everyone is speeding you are still expected to slow down, if one crashes into your rear it is still more safe for you than you crashing into someone in front of you.
"Java programs still are 'the alien on your desktop'. They suck in many ways. Users have learned to avoid them and install 'real programs' instead..."
And which Java IDE is a real Program? I mean, which Java IDE is not mainly written in Java? Or which database client is not written in Java, like Squirrel? There are plenty of programs, which have no non Java competitor, e.g. "The Brain" or Protege.
No, your idea is not more clear and more precise. And if you have no clue about design patterns than you obviously don't know that a method named accept is most likely a visitor/functor that either returns a boolean or performs the action supposed to happen during "accepting".
which would have concisely preserved the names of the interface and its method, as well as making its return type clear. Yes, and why would anyone need that?
"list the 'entries' from a directory where the 'names' endWith '.java'" that is in plain english what is written there a line above. Why do you insist that you care about what types are involved? They are completely irrelevant. If you for funk sake need to know any type in that expression then learn how to us an IDE and "mouse over it".
Java desktop apps? Dead. Nobody's going to argue that. I am... I have minimum 10 Java Applications on my desktop. And all Desktop Apps I write are in Java... would like to make a Qt one though.
Desktop applications basically always come in two versions: without JRE, relying on one installed on the system, but obviously portable, and then bundled with a JRE for the majour OS's
Trying to have the same code work well on Macs, Windows, and Linux was an exercise in futility. Only if you use Mac specific extensions without checking if the extensions are available, e.g. the menubar. Otherwise every application I ever was involved with runs without any change on Linux, Mac and Windows.
That is why it is called unit test and not integration test.
In static typed language most of the time unit tests are a waste and integration tests are much more important, however in a dynamic typed language unit tests have their place.
The problem with McDonald's is: it is a franchise. The particular shop is not owned by McDonald's. It is owned a another person or limited liability company who has a contract with McDonald's to only sell their products and only buy raw material from the "McDonald's mother company".
Getting a job, any job, is the first step out of poverty. No it is not. Obviously there are countries where you can pay such a person so less that it is still poor...
Strange, there are countries where the majourity of workers are part time workers, Netherlands, Denmark come to mind. In Germany a good deal of high payed office jobs are part time, 4 days or even only 3 days a week... or every day but only 6h per day... bottom line those people have a higher wage per hour - after taxes - because of tax brackets.
Your entire argument eliminates every part-time job open to high school and college students, along with a lot of others. No it does not. He obviously aims on the wage per hour not "all earnings to be able to live from if done full time or even overtime". Obviously a college student either has a second income, aka parents, or has a job above minimum wage. When I was at college I earned as part time computer scientist/sysadmin/programmer more than any full time worker in a bakery or a random store.
Most minimum wage earners are 2nd or 3rd earners for their household. So the amount they "need" to live is $0. In your country perhaps (I doubt that), not in mine.
They're going to offset the increased labor expenses by hiring fewer people. Or they simply double their business because they have the workers already.
And more importantly: the value has nothing to do with the punishment.
It gets simpler if the crime is more complex:
a) I break into your house (door not locked) and steal an apple - same as stealing a watch
b) I break into your house --- door locked, I break a window or something --- steal an apple, or a watch, harder crime than a)
c) I break into your house, point a weapon on you and rob (hint rob versus steal versus burglary) an apple, harder crime than a) or b)
It does not matter *what* you take ... how valuable it is ... it matters *how* you take it. Stealing a bicycle is the exact same crime as stealing a car. No difference in severity just because the car is more valuable. The difference is: is one locked or not, did you break a window or not, was the engine running and key inside, or not.
Most CO2 is not produced by humans per se, but by industrial processes. ... the trains, the industry, the bureaus, the farming even, would still produce the same.
It does not matter if Germany e.g. loses half of its population over night.
Only the houses with one inhabitant that suddenly is gone produce nothing
Sure, you could argue you *need* less concrete ... but concrete business is producing concrete and selling it, it simply sells elsewhere.
Funny, as Eclipse uses a special GUI framework, that is written in C++ and is platform specific.
All Java Applications I have use the installed SDKs ... I have not a single one with an included JRE.
You are right,
after hitting submit I was thinking about hibernate and co.
However when you use frameworks like that, they are not the attack vector.
As long as no one can "inject code" into your Java Application, reflection does not really matter.
How can that be insightful? A buzzword rant ...
What has REST to do with Java? Same like iced orange juice versus a compressed gas engine car. Nothing. Or same like a wire for electricity with a iron pipe for water.
How can REST be saner than Java, when REST is a protocol principle and Java is a language? You "can do REST" in any language. You can program anything, e.g. REST, in Java.
I doubt many people know what Snobol (or for that matter, Icon) is/was.
Erm, you throw around words you don't grasp.
Stalin was a fascist just like Hitler ... ooops, has nothing to do with communism.
The communists in Laos or Vietnam never committed any crimes, ooops, you did not know that?
The emperor of China were fascists, ooops, you did not know that? After the revolution the winner of the civil war picked "communism". Why? Because the armies from democratic countries like the french from Lao and Vietnam or the british from Parkistan or along the coasts looted and plundered the country. How convincing for a nation that just had a civil war over a revolution to pick such a system ... why would anyone copy/pick the political system of an enemy he finally mastered to defeat?
Question: If you're driving in a dense fog on a freeway, what's the safest speed? (There are lots of other analogous circumstances, where the answer depends on what the other folks are doing.)
No there are not.
The maximum speed is the option to get the car to stop in 50% of the visible range. And that is actually in sane countries the law. So: nothing to interpret. You can see ~50 yards far, you drive not faster than being able to stop the car completely in 25 yards. Why? Because if both drivers see each other over 50 yards distance and see it will be a crash, both can break and stop (not considering reaction time).
And yes: if everyone is speeding you are still expected to slow down, if one crashes into your rear it is still more safe for you than you crashing into someone in front of you.
"Java programs still are 'the alien on your desktop'. They suck in many ways. Users have learned to avoid them and install 'real programs' instead..."
And which Java IDE is a real Program? I mean, which Java IDE is not mainly written in Java? Or which database client is not written in Java, like Squirrel? There are plenty of programs, which have no non Java competitor, e.g. "The Brain" or Protege.
That is why you write Scala and Groovy ...
No, your idea is not more clear and more precise.
And if you have no clue about design patterns than you obviously don't know that a method named accept is most likely a visitor/functor that either returns a boolean or performs the action supposed to happen during "accepting".
which would have concisely preserved the names of the interface and its method, as well as making its return type clear. Yes, and why would anyone need that?
2. Figure out what kind of objects 'dir' and 'name' are. Once again, remember... real life won't always be as trivial as this example. Happy hunting!
Your problem is that your thinking process does not work. Why the funk do you want or need to know that the lambda is implementing a FilenameFilter?
What is so difficult in simply reading code as it is meant to read?
String[] names = directory.list((dir,name) -> name.endsWith(".java"));
"list the 'entries' from a directory where the 'names' endWith '.java'" that is in plain english what is written there a line above. Why do you insist that you care about what types are involved? They are completely irrelevant. If you for funk sake need to know any type in that expression then learn how to us an IDE and "mouse over it".
Java desktop apps? Dead. Nobody's going to argue that. ... I have minimum 10 Java Applications on my desktop. And all Desktop Apps I write are in Java ... would like to make a Qt one though.
I am
Desktop applications basically always come in two versions: without JRE, relying on one installed on the system, but obviously portable, and then bundled with a JRE for the majour OS's
Trying to have the same code work well on Macs, Windows, and Linux was an exercise in futility.
Only if you use Mac specific extensions without checking if the extensions are available, e.g. the menubar. Otherwise every application I ever was involved with runs without any change on Linux, Mac and Windows.
There are plenty of Java Applications on the desktop, for starters: basically all Java IDEs are written in ... uh, Java.
You most likely would realize which programs are in Java and which not ... Java is only memory hungry if you do memory hungry work ... a no brainer.
Many parts (all?) of reflection can be switch off: by a security manager.
That is why it is called unit test and not integration test.
In static typed language most of the time unit tests are a waste and integration tests are much more important, however in a dynamic typed language unit tests have their place.
The problem with McDonald's is: it is a franchise. The particular shop is not owned by McDonald's. It is owned a another person or limited liability company who has a contract with McDonald's to only sell their products and only buy raw material from the "McDonald's mother company".
But in principle you are right.
Getting a job, any job, is the first step out of poverty. ...
No it is not. Obviously there are countries where you can pay such a person so less that it is still poor
Strange, there are countries where the majourity of workers are part time workers, Netherlands, Denmark come to mind. In Germany a good deal of high payed office jobs are part time, 4 days or even only 3 days a week ... or every day but only 6h per day ... bottom line those people have a higher wage per hour - after taxes - because of tax brackets.
Your entire argument eliminates every part-time job open to high school and college students, along with a lot of others.
No it does not. He obviously aims on the wage per hour not "all earnings to be able to live from if done full time or even overtime". Obviously a college student either has a second income, aka parents, or has a job above minimum wage. When I was at college I earned as part time computer scientist/sysadmin/programmer more than any full time worker in a bakery or a random store.
Most minimum wage earners are 2nd or 3rd earners for their household. So the amount they "need" to live is $0.
In your country perhaps (I doubt that), not in mine.
They're going to offset the increased labor expenses by hiring fewer people.
Or they simply double their business because they have the workers already.
Because people did not wash hands, either because of spilled hot choc's or after toilet.