|
^ This.
The smartphone has turned into the tool of the devil.
|
|
|
|
|
I don't use mine very much.
I always tell friends and relatives...my phone has an off button so if you can't get ahold of me you know why.
PartsBin an Electronics Part Organizer is finally available for download.
JaxCoder.com
|
|
|
|
|
Mike Hankey wrote: Why do people subscribe to FB At the beginning wasn't that bad and it was a fast way to keep track of multitudinous events, get the pictures done by other people and offer yours in exchange... back then it was way less toxic, and not so data greedy as now.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I agree, I originally signed on because I had NAM vets that I kept in contact with, but even they got political.
I dumped my FB account about a year ago and all I can say is good riddance.
PartsBin an Electronics Part Organizer is finally available for download.
JaxCoder.com
|
|
|
|
|
FB was new (.edu only) when my kids started college. I thought “Nice. Something for the younger crowd.” Once they opened it up to all comers I knew it would lead to disaster. I’m glad to have never partaken.
Same goes for Twitter, TikTok, SnapChat (is that even still a thing?). Had an Instagram account for about a month before FB bought them so I bailed.
|
|
|
|
|
I guess I'm not very sociable, only had FB none of the others.
I prefer face to face social contact, Covid put a little bit of a crimp in that but it's coming back around.
PartsBin an Electronics Part Organizer is finally available for download.
JaxCoder.com
|
|
|
|
|
My sense of humor tends towards sarcasm and irony so online stuff is always rough. Even here (where the average IQ is a bit higher*) I wonder about it at times.
*Sarcasm? 
|
|
|
|
|
fgs1963 wrote: FB was new (.edu only) when my kids started college. I thought “Nice. Something for the younger crowd.” Once they opened it up to all comers I knew it would lead to disaster.
Eternal September comes to mind.
|
|
|
|
|
rnbergren wrote: Social Security numbers or credit and debit card numbers
[...]
rnbergren wrote: Why do people put their real birthdate on FB
Birthdate, who cares, but SSN and CC numbers? Seriously, people do that?
|
|
|
|
|
I was wondering, how close are C# and Java, syntax?
Would be Java be "easy" to learn if I know C#?
Archchancellor Ridcully
|
|
|
|
|
Close enough.
Java is 'easy' anyway.
My two cents.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Agreed. I found Java easy to master. But I would add a suggestion: If want to master Java, focus on JavaFX. JavaFX makes setting up a good user interface easy.
Oh, by the way: the Kotlin language is very close to Java. Kotlin is gaining popularity. Many large organizations are moving from Java to Kotlin, as it is more modern and very powerful. It is especially popular for developers who write apps for Android devices (such as cell phones)
But: I found Kotlin quite difficult to master. It has a much steeper learning curve than Java.
To do Java (including Java for Windows), I would recommend the IntelliJ IDEA IDE. For Kotlin (especially when writing Android apps) I would recommend the Android Studio IDE. The two IDEs are closely related.
Good Luck!
Get me coffee and no one gets hurt!
|
|
|
|
|
Very nice thorough and helpful answer!
(my 2 cents)
Best wishes--
|
|
|
|
|
|
C# is more powerful and is developing faster - my two cents
Nick Polyak
|
|
|
|
|
I did it the other way and found C# to be easy based on my understanding of Java. So I would say you should not find it difficult. There is a great set of tutorials at Java Tutorials Learning Paths[^].
|
|
|
|
|
It's been some years, but when I got a (corporate) Java project, I had to go shopping: Eclipse (IDE), Spring (UI), Struts, Apache (Web server), NetBeans, JBoss (app server), etc. before I could write any code.
c# (Windows; .NET framework) was "no" shopping.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
I had a similar experience. I learned Java first, then C#. For a while I was working with both languages. I had a situation occur with a project in each language that required reading and writing XML. I spent two weeks researching (and experimenting with) the multiple libraries for XML processing in Java before I found one that best fit my needs. In C#, there were only two choices (one for processing the entire DOM and one for streaming) and making the choice was obvious.
The issue was that there were hundreds of Java libraries from multiple sources but only the Microsoft official libraries for C#. This was over two decades ago. Things have changed. Research is more efficient. Both languages have matured and are more stable.
|
|
|
|
|
1996 - James Gosling invents Java. Java is a relatively verbose, garbage collected, class based, statically typed, single dispatch, object oriented language with single implementation inheritance and multiple interface inheritance. Sun loudly heralds Java's novelty.
2001 - Anders Hejlsberg invents C#. C# is a relatively verbose, garbage collected, class based, statically typed, single dispatch, object oriented language with single implementation inheritance and multiple interface inheritance. Microsoft loudly heralds C#'s novelty.
I boldest the key differences to be aware of.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
modified 2-Sep-22 17:46pm.
|
|
|
|
|
Concurrency control in the net framework is far easier to understand and correctly implement. Java implements this via Dykstra's base implementation. The net framework hides this complexity.
|
|
|
|
|
===== The Joke ====>
You
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
 Yes, relatively easy. Here are some differences to watch out for:
- Generics are different, weaker. The syntax sometimes feels oddly backwards too, eg
public <T> boolean containsAll(Collection<T> c); . foreach loops don't use the foreach keyword, but that takes about 10 seconds to get used to.- Since there are no real delegates, Java tends to use interfaces with a
run method (or equivalent). That also affects how events work. You can use anonymous classes that implement the relevant interface though, you don't have to create a thousand full classes. - Inner classes by default have a reference to a specific instance of their outer class. To get a "plain old inner class", it needs to be a static inner class, which is not a static class. That sounds more confusing than it is.
- Operator overloading doesn't exist. Not even for
String . Avoid == between objects (including String , but also Integer ), unless you really meant to compare for reference-equality. And yes, BigInteger arithmetic is pretty painful in Java .. but also pretty efficient actually. BigIntegers in C# only recently approached how efficient they are in Java. - In terms of the framework,
List<T> -> ArrayList<T> , and Dictionary<K, V> -> HashMap<K, V> (some tutorials may mention Hashtable , disregard them). - There are no unsigned integers (except
char but we don't talk about that), which for the most part doesn't matter (many operations are independent of signedness, and there are special methods such as Integer.compareUnsigned to implement the operations that are dependent on signedness) except that Java's byte is signed and you will probably occasionally forget that and get some bugs due to unintended sign-extension.
|
|
|
|
|
Based on the above, can I simply sum this up as:
- TLDR: "Java sucks"
- Long story: "Java sucks big time"
|
|
|
|
|
it is very close. in the beginning, there is a saying that C# steals Java...
diligent hands rule....
|
|
|
|
|
Isn't it commonly known that MS and Sun were arguing about MS' right to develop their Java compiler and market it as Java? MS ended up turning their back to Sun/Java, declaring: OK, we'll forget Java and make something better, then!
According to my taste, MS succeeded; C# is and improvement over Java in several respects. But I have been working for a number of years in environments where any such opinion was highly non-PC.
|
|
|
|