That would work perfectly if I only wanted to have my friends on that blog/forum.
But my friends have friends, too. People I have no contact with. So my friends now need to set up their own forum/blog to have their friends in a group? Now the have to double and tripple post things of interest into my blog, their blog and other blogs to reach all their "circles" of friends?
As soon as you start this, you can simply start writing a facebook clone.
I suggest people who have no FB account simply stop posting in this article, you simply have no clue.
I've read horror stories on the web of people being locked out of their Facebook account for refusal or inability to link an SMS number to an account. Und why would you believe them?
The inbox can not be a timeline, as it only shows subject and sender... nothing of the contents of the mails. And it only contains mails that are addressed to me or to groups I'm a member off. A timeline in FB and its clones is something completely different.
Erm, the assignment is in the same line as the var is, obviously. How can you not know the type? No one is declaring variables with var at the top of a method and starts assigning values several lines later...
If you have to write some extra at the declaration is not a major issue. Actually that is what most developers hate: verbosity. So it is not an issue, but an annoyance.
I never had a problem like that. But usually when you are developing and mid term you upgrade the VM/JDK, you recompile anyway.
Hm, I believe there was indeed a problem with Java 1.3, I remember Java 1.4 broke serialization on IBM VMs, or cross serialization between IBMs and SUNs VMs... don't remember.
As if the grid operators would not read newspapers and new in advance about it... I guess the switch off the lights thing did not even drop power demand by 10%
Actually my original code would have compiled, because there is a println() method that accepts Object's and calls toString() on them... the parent was just an idiot I liked to tease.
Well, we have to agree that that autopilot crash never should have happened. A german or japanese car with "driver assistance" would have braked, without even activating "autopilot". Driver assist, as in range detection, pedestrian detection, sign recognition, lane detection etc.is "always on". You can not deliberately crash into the car or anything in front of you or deliberately run over a pedestrian.
I guess that is a matter of taste, I find C# nearly unusable and you think the same about Java... but that is why I mostly use Groovy and hope that my current project slowly shifts to Scala:D
You don't know what var is about... makes you look like an idiot.
No var:
HashMap<String,Employee> employeeByName = new HashMap<String,Employee>();
Why do I have to write the left hand side before employeeByName when the compiler and a human reader implicitly sees that the type should be "HashMap<String,Employee>" ?
Hence we like to write: var employeeByName = new HashMap<String,Employee>();
And all that has nothing to do with supertypes or inheritance...
Actually you should have the recent JDK/JRE for modern libraries, like the streams, but program in Scala and Groovy... the progress Java makes as a language is simply not radical enough.
Java 6,7,8, and 9 runtimes are incompatible with each other. What is that supposed to mean?
A application compiled for Java 6 runs just fine on a Java 8 VM, and I would bet on Java 9, too.
To launch an Application with the "correct" JVM you have that magical thing called a PATH variable. You can have as many Java installations on your computer as you have disk space, nothing special here, nothing incompatible.
Erlang is nice for highly interactive multi threaded environments, e.g. in telecommunications. But pretty difficult to use for desktop applications or apps.
Because it lacks all the open source tools and libraries, Java has. It has no web server, like tomcat e.g. C# versus Java is simply an awful language, but you could use managed C++ of course, that wold be a plus. Most Java alternatives like Groovy, Scala, Kotlin etc. doc. don't run on.Net
And the naming conventions of C# just suck:D a pain for my eyes...
So, what else? We could put a nice tool chain on CLANG to support everything that Java can, e.g. Reflection/Introspection/Serialization... but it seems no one is doing that at the moment.
A sanitized C++ running on a VM with optional GC, that would be fine... but I see no one going there.
Or an open source Eiffel... but then again it would be verbose like Java.
On the other hand, image based environments like Smalltalk would be cool, no one is really pushing that either.
So, it looks like we are stuck with Java the next 30 years.
Tomcat was just an example for the implementation of the Servlet API.
APIs in Java are generally defined by experts of the field.
In .Net I have no idea why everything is so horrible unusable. But: I did not use it since 10 years, so perhaps it got better ;D
What has that to do with FB?
Unfortunately I live in Europe.
And my FB friends live all over the world.
So, we need FB to organize to meet in the old fashioned way.
And now get of my lawn ...
If you don't grasp that there are legitimated usages for FB, then you are a moron.
That would work perfectly if I only wanted to have my friends on that blog/forum.
But my friends have friends, too. People I have no contact with. So my friends now need to set up their own forum/blog to have their friends in a group? Now the have to double and tripple post things of interest into my blog, their blog and other blogs to reach all their "circles" of friends?
As soon as you start this, you can simply start writing a facebook clone.
I suggest people who have no FB account simply stop posting in this article, you simply have no clue.
You could always do that :D
But perhaps you mean the new diamond constructor?
HashMap<String, Employee> map = new HashMap<>();
I've read horror stories on the web of people being locked out of their Facebook account for refusal or inability to link an SMS number to an account.
Und why would you believe them?
The inbox can not be a timeline, as it only shows subject and sender ... nothing of the contents of the mails.
And it only contains mails that are addressed to me or to groups I'm a member off. A timeline in FB and its clones is something completely different.
Timeline ... ... well, groups. ...
Grouping people into
Photo albums
Probably thousands of things which are either complicated or not possible with email.
Why not make a fake account and test it, instead of giving stupid advice and asking "stupid" questions?
Erm, ...
the assignment is in the same line as the var is, obviously. How can you not know the type?
No one is declaring variables with var at the top of a method and starts assigning values several lines later
If you have to write some extra at the declaration is not a major issue.
Actually that is what most developers hate: verbosity.
So it is not an issue, but an annoyance.
I never had a problem like that.
But usually when you are developing and mid term you upgrade the VM/JDK, you recompile anyway.
Hm, I believe there was indeed a problem with Java 1.3, I remember Java 1.4 broke serialization on IBM VMs, or cross serialization between IBMs and SUNs VMs ... don't remember.
Ah, right, that actually was my original point. ...
However your "object.toString()" misslead me again
As if the grid operators would not read newspapers and new in advance about it ...
I guess the switch off the lights thing did not even drop power demand by 10%
You have it all backward!
All they're doing is stress testing the grid's ability to cope with increased demand when everything comes back up.
No, they are stressing the grids ability to cope with a sudden drop in demand when everything is switched off.
Sigh, do you guys never learn: the demand changes go both ways?
Hehe, nice try :D
Actually my original code would have compiled, because there is a println() method that accepts Object's and calls toString() on them ... the parent was just an idiot I liked to tease.
Well,
we have to agree that that autopilot crash never should have happened.
A german or japanese car with "driver assistance" would have braked, without even activating "autopilot".
Driver assist, as in range detection, pedestrian detection, sign recognition, lane detection etc.is "always on".
You can not deliberately crash into the car or anything in front of you or deliberately run over a pedestrian.
I guess that is a matter of taste, I find C# nearly unusable and you think the same about Java ... but that is why I mostly use Groovy and hope that my current project slowly shifts to Scala :D
You don't know what var is about ... makes you look like an idiot.
No var:
HashMap<String,Employee> employeeByName = new HashMap<String,Employee>();
Why do I have to write the left hand side before employeeByName when the compiler and a human reader implicitly sees that the type should be "HashMap<String,Employee>" ?
Hence we like to write:
var employeeByName = new HashMap<String,Employee>();
And all that has nothing to do with supertypes or inheritance ...
Well,
... can you tell me why?
I just tried it, but
System.out.prinline(locale.toLowerCase());
does not compile
Actually you should have the recent JDK/JRE for modern libraries, like the streams, but program in Scala and Groovy ... the progress Java makes as a language is simply not radical enough.
Java 6,7,8, and 9 runtimes are incompatible with each other.
What is that supposed to mean?
A application compiled for Java 6 runs just fine on a Java 8 VM, and I would bet on Java 9, too.
To launch an Application with the "correct" JVM you have that magical thing called a PATH variable. You can have as many Java installations on your computer as you have disk space, nothing special here, nothing incompatible.
Upgrading to a new Java version hardly ever broke anything.
Java uses an annotation to @depricate parts of APIs ... but keeps those parts around for several versions.
Erlang is nice for highly interactive multi threaded environments, e.g. in telecommunications.
But pretty difficult to use for desktop applications or apps.
Perhaps OCaml ...
Because it lacks all the open source tools and libraries, Java has. It has no web server, like tomcat e.g. .Net
C# versus Java is simply an awful language, but you could use managed C++ of course, that wold be a plus. Most Java alternatives like Groovy, Scala, Kotlin etc. doc. don't run on
And the naming conventions of C# just suck :D a pain for my eyes ...
Seems I was wrong, and you need special mice and an app for it: https://forums.macrumors.com/t...
Because the managers are idiots.
Plain and simple.
What would be an alternative to Java?
C#/.NET? I don't think so.
So, what else? We could put a nice tool chain on CLANG to support everything that Java can, e.g. Reflection/Introspection/Serialization ... but it seems no one is doing that at the moment.
A sanitized C++ running on a VM with optional GC, that would be fine ... but I see no one going there.
Or an open source Eiffel ... but then again it would be verbose like Java.
On the other hand, image based environments like Smalltalk would be cool, no one is really pushing that either.
So, it looks like we are stuck with Java the next 30 years.
I for my part don't mind that.