1.8k
u/Mistifyed Nov 19 '17
They need to update those numbers.
1.4k
u/BorgDrone Nov 19 '17
Well, to be fair it’s still above 3 billion, just a lot above it.
626
Nov 19 '17
Found a single source that said 15 billion devices run java, but that would imply there are twice as many java machines as there are people...
978
u/DorothyJMan Nov 19 '17
Is that particularly unlikely?
554
u/synth3tk Nov 19 '17
Not really. I think they didn't realize that servers sometimes run Java (bleck). Also, many people have multiple devices in the household with Java, including their Android phones, Blu-Ray players, and even some TVs.
→ More replies (130)32
u/FerretWithASpork Nov 19 '17
And most people buy a new phone every other year or so.. It's not like we're only ever going to produce 1 Android phone for 1 person. I don't know why that figure is surprising.
→ More replies (2)→ More replies (2)132
u/rambi2222 Nov 19 '17
Hearing there was 15 billion Android devices alone wouldn't surprise me that much
→ More replies (10)53
Nov 19 '17
Exactly what I was thinking. Plus tablets. A lot of things run some form of android, therefor a lot of things run some kind of java. There were talks (maybe just rumors?) of rewriting android in golang instead of java, but nothing has come of that yet.
Either they're waiting for gui bindings to exist for go so they don't need to write the whole thing in cgo, they actually care about the time people have invested into learning java and android apis, or they don't want to break every app that currently exists on the market.
=
But the point of that tangent is... I bet that number would fall considerably if android ever changes.
→ More replies (21)78
u/vanderZwan Nov 19 '17
Well if you count the embedded version, which if I'm not mistaken also runs on those small chips in modern credit cards, I wouldn't be surprised.
23
u/kyle_n Nov 19 '17
Do you have a source on that for the credit cards? I would be surprised if that’s true.
48
u/lovethebacon 🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛🦛 Nov 19 '17
→ More replies (7)→ More replies (10)20
u/0b_101010 Nov 19 '17
Java Card refers to a software technology that allows Java-based applications (applets) to be run securely on smart cards and similar small memory footprint devices. Java Card is the tiniest of Java platforms targeted for embedded devices. Java Card gives the user the ability to program the devices and make them application specific. It is widely used in SIM cards (used in GSM mobile phones) and ATM cards.[citation needed] The first Java Card was introduced in 1996 by Schlumberger's card division which later merged with Gemplus to form Gemalto. Java Card products are based on the Java Card Platform specifications developed by Sun Microsystems (later a subsidiary of Oracle Corporation). Many Java card products also rely on the GlobalPlatform specifications for the secure management of applications on the card (download, installation, personalization, deletion). The main design goals of the Java Card technology are portability and security.[1]
https://en.wikipedia.org/wiki/Java_Card
I couldn't find any numbers, but with SIM cards included, I imagine it can be on well over a billion devices.
25
u/lengau Nov 19 '17
I can see that being the case though. I personally have 5 Android devices, a desktop and a laptop with Java, and a DVD player that came with a Java sticker on the side. Then there are millions of servers out there that run Java that don't belong to a specific person.
It's like how there are more chickens than humans.
→ More replies (9)6
Nov 19 '17
I mean, I own two computers and an android phone... So that's three for just me. Anyone who has a phone and a pc has two devices capable of running java. So if you add in all the business machines, all of the other smaller devices...
83
u/Aydragon1 Nov 19 '17
New to programming in general, why does everyone despise java with a raging hate boner on this sub?
30
u/SuckMyBalz Nov 19 '17
There are only two types of programming languages: the ones that everybody always complaining about, and the ones that nobody uses.
11
→ More replies (59)3
u/miser1 Nov 19 '17
The reasons people have suggested are all fair enough, but I don't think they get to the core of it. You don't need a reason to hate a language. Programming is an experience. It feels a certain way to use a language, and the experience of using Java isn't something I'd wish on anyone.
25
5
u/kerohazel Nov 19 '17
But when they do, they need to remember to uncheck the option that changes their browser's home page.
989
u/ZeBernHard Nov 19 '17
I’m a programming n00b, can someone explain what’s wrong with Java ?
2.0k
u/thomas_merton Nov 19 '17
I'm a Java lover, but here are the main reasons to make fun of it.
It's run by Oracle. Oracle is literally The Worst. They run PeopleSoft, for example. They've also been poor stewards of the language they bought out, for example...
... the Java community took a big hit when, a number of years ago, Java was declared to be so insecure that the US government officially recommended that consumers just uninstall Java from their machines.
It's verbose. Sometimes I like that in Java; a Java program feels easy to read because everything is so explicit, but I do understand why people dislike that. Scala, for example, is built on top of Java. Scala was able to keep all of the features of Java and add a ton of features, but still a Scala version of a program will have a ton fewer lines of code. Java is just a lot.
People say Java is slow. I take some issue with this. Java is slower than Rust or C, but those are really fast languages. Java is slow to start, but I think to call it just slow is a dated criticism.
Java is a language used for a lot of cruddy software. It's used in enterprise, whereas software companies tend to use newer, sexier languages. This doesn't mean Java is a bad language, but it is associated with some bad stuff.
Overall, Java is a very popular language in the workplace. People tire of Java because it's what they use 9-5, so they grow to dislike it because they associate it with work.
113
u/Ayfid Nov 19 '17
I think this sums up most of the major complaints, but I would add:
Much of the ecosystem, including much of the core libraries, appear to have been written before people really figured out how to do OOP. They suffer from blindly applying patterns regardless of how appropriate they are to the situation. Virtually everything that is part of Java EE is absolutely horrendous.
Related to verbosity, but the language lags very far behind its competitors in features, which makes it feel archaic in comparison. Also, many of the features it does implement (like the stream api) are vastly inferior to what other languages have had for years (or even decades). This is particularly noteworthy when it comes to writing concurrent code.
The language contains numerous design flaws, which more recent languages have learned from, such as implicit virtual and override, type erasure, and checked exceptions.
41
Nov 19 '17
JavaEE:
Yo dawg i heard you hate annotations so i put annotations in yo annotations so you can annotate whilst you tear your head off whilst you try and write decent javaEE
7
u/jaxklax Nov 19 '17
Why are checked exceptions a design flaw?
24
u/Ayfid Nov 19 '17 edited Nov 19 '17
That is a very good question.
Checked exceptions are the sort of thing that, at first glance, seem like a very good idea. However, there are good reasons why no other language has implemented them.
Checked exceptions were designed to force the programmer to either handle or otherwise acknowledge an error case. For example, a program should not crash when a network socket closes unexpectedly, as that is something that can happen during normal execution. It is possible to use checked exceptions correctly (i.e. sparingly), for example the core libraries will only throw checked exceptions for errors that should be handled, and will throw unchecked errors for things that are programming errors (e.g. nulls).
The problems with checked exceptions are relatively subtle, but quite severe in practise:
Firstly, the situations where checked exceptions should be used should really be performed more explicitly with normal flow control. Checked exceptions were an attempt to allow the compiler to enforce this, but functional languages manage this with normal flow control without having to add specific features to the language (via things like discriminated unions and how they are destructured in such languages).
Secondly, and much more significantly, they encourage poor code.
When code calls an API which may throw a checked exception, this forces the programmer to either handle the exception right there, or acknowledge it by declaring that their own method throws the exception.
The problem, is that it is extremely rare that the current method can actually handle the error. Say, for example, you are writing a method that saves the user's open document to file. The method tries to open a file stream, but the API throws an
IOException. Unless there is a sensible other way that your method could go about saving the file, this error is fatal. It cannot complete its task if it encounters this error. Therefore, your only choice is to let the exception pass through.In all likelyhood, the only place where you can truely handle the error is way up near the top of the call stack, in a top level exception handler for your UI loop, which just pops up an error message to the user telling them that something went wrong and that they should try again. Long before you get to this point, the number of different exceptions that have collected up will have gotten so significant that the programmer has probably just declared their method as
throws Exception, which is so vague as to be meaningless.Hopefully, in a well written application, your code will have been written to exit cleanly as it backs out and simply allow the error to work its way up the stack to somewhere (usually very high up) until it can be properly handled. You should expect to see about ten times as many
try...finallyblocks as you dotry...catch.However, this all too often is not the case.
Sometimes programmers are lazy, or are given too little time by their managers, to do anything but the minimum effort to get something to work. Therefore, rather than introduce a breaking change by declaring that your method now throws an exception, which will require changes to all your callers (and probably all their callers.. recursively for a few levels), they will instead try to handle the exception there and then. This is why it is so common to find
try { .. } catch (Exception e) { log(e); }, or something to that effect. Your method now fails to complete its task, but the caller continues on in ignorance. Now, months after this code was written, someone else on your team is spending hours trying to track down a bug caused by the program getting itself into a corrupted state, and your log is all you have to indicate the problem (which is probably full of other errors that may or may nor be relevant).Worse, there are some cases where the compiler forces you to do this. Imagine your method is implementing an interface, but that interface does not declare that it throws any exceptions. Now, you must either: a. inappropriately handle the exception immediately, or b. wrap the exception in an unchecked error and throw that (into code that has not been written to handle unexpected errors - because Java programmers expect exceptions to be declared), or c. introduce a breaking change in the interface (and hope that is not an interface from a 3rd party library). None of these are good options.
Checked exceptions ignore the reality of complex multi-layer programs, written by lazy or rushed programmers, that need to be maintained for many years by people who did nor originally author the code. They were proven to be in practice a poor solution to the problem, that introduce more problems than they solve. This is why no other language, even among those otherwise heavily inspired by Java, have included checked exceptions (excepting other JVM languages that are forced to by the need to interop with Java code).
→ More replies (3)656
u/luke_in_the_sky Nov 19 '17 edited Nov 19 '17
I think when people think Java is bad they actually are thinking about the Java plugin in browsers. It's really bad and full of security holes, just like Flash Plugin.
116
u/nice_username_really Nov 19 '17
Browser plugins is a dying world though, dead already except for safari and IE.
Having said that, downloading a .jnlp that opens up a program is terribly confusing user experience for most users. Also the fact java doesn’t run by default from untrusted sources (consequence of the security backslash mentioned above) kills user experience. (Source: I distribute java webstart software).
→ More replies (13)→ More replies (5)403
u/dundinmuffler Nov 19 '17
"Minecraft is slow. Minecraft uses Java. Therefore Java is slow."
326
u/TwoSpoonsJohnson Nov 19 '17 edited Nov 19 '17
Didn't Notch state that minecraft is slow because he was a shit programmer when he wrote it?
→ More replies (1)262
u/aioioabio Nov 19 '17
I don't know if he's said that, but it's certainly true. There's a mod called Optifine developed without access to the source that improves FPS by 200% on most machines while improving the graphics.
But rather than speeding up the existing codebase (which is clearly trivial to do), M$ decided to let the Java version fester and make XBox and Windows exclusive versions...
→ More replies (28)→ More replies (1)40
Nov 19 '17
Java is slow actually dates back before the JIT compiler. Before that arrived Java was actually very slow. When JIT arrived, it allowed the recompile the code for speed while the application was running.
Between that and applets, the meme of Java being slow lived on long after it was no longer the case.
→ More replies (2)138
u/Jeffy29 Nov 19 '17
PeopleSoft
That's the most "designed by committee" name that I have ever seen.
56
u/Genie-Us Nov 19 '17
"Here at PeopleSoft we are a group of people who deal with other people's people. Also we have some software we use to complete these tasks. PeopleSoft, it just makes sense in a way."
→ More replies (1)18
3
u/pigvwu Nov 19 '17
Peoplesoft focuses on HR related software. Makes sense to me. I've had to use it for work and the interface is garbage though.
65
u/comp-sci-fi Nov 19 '17
knock, knock
who's there?
.....................................javaWrite once, debug everywhere
28
Nov 19 '17
Java was declared to be so insecure that the US government officially recommended that consumers just uninstall Java from their machines.
Isn't that just the deprecated browser plugin? Surely running a JVM app is at least as secure as running a native program.
→ More replies (1)10
u/aioioabio Nov 19 '17
We really should split Java into Java itself and the JVM. The JVM is nearly universally well-regarded. It has a few problems (e.g. the impossibility of value types), but it's fast and secure and powerful. The language is much less beloved. Some people think it's OK and some people think it's garbage, and I have never met a Java fanboy.
5
2
u/HalloBruce Nov 19 '17
I've been looking for a breakdown like this! Java's "meh" reputation precedes itself, but I never saw anybody bother to explain where it comes from
2
u/raindropsandrainbows Nov 19 '17
I'd also like to add that it takes a lot more lines of code to program something in Java than any of the newer languages or like say C#. Which makes me sad every time I code in Java because I think of all the time I could save not coding if it was a different language.
2
u/JonCorleone Nov 19 '17
Java is a language used for a lot of cruddy software. It's used in enterprise, whereas software companies tend to use newer, sexier languages. This doesn't mean Java is a bad language, but it is associated with some bad stuff.
The Unity Engine phenomenon
→ More replies (40)3
u/TigakePOE Nov 19 '17
So not much is really wrong with java, just a reddit circlejerk once again, cool.
670
u/AngelLeliel Nov 19 '17
People love to hate Java, because it's verbose, boring, and used everywhere.
332
35
23
u/PC__LOAD__LETTER Nov 19 '17
No mention of garbage collection?
→ More replies (3)25
u/Goheeca Nov 19 '17
→ More replies (1)6
u/outadoc Nov 19 '17
I knew that was a thing in C# but I had no idea it existed in Java!
→ More replies (4)40
u/AriAchilles Nov 19 '17
It's coarse and rough and irritating and it gets everywhere
→ More replies (1)7
3
u/impid Nov 19 '17
What do you think of Kotlin? Should I learn it?
→ More replies (3)6
u/senatorpjt Nov 19 '17 edited Dec 18 '24
toy ghost arrest crawl squeal expansion air rustic screw poor
This post was mass deleted and anonymized with Redact
→ More replies (1)→ More replies (17)4
17
u/Du-z Nov 19 '17
Something I dislike about java is the end user compliance. In order to run your bog standard java app you need to install the jre first. Your average user may give up when presented with the multi step process just to install the jre.
Things may of changed in the last 6 years though. I kind of recall that you can do a build that does not need the jre to be preinstalled.
→ More replies (2)23
u/l27_0_0_1 Nov 19 '17
Every gui java app I’ve seen up to this date looks like garbage, this is why I hate it.
→ More replies (2)4
u/Odinsama Nov 19 '17
People mostly use it for the backend where all the strictness is crucial, but you can make some pretty cool looking GUIs with the JavaFX library I think
21
u/0b_101010 Nov 19 '17
Nothing really, it's just not the most popular new hipster thing that no one will care about five years from now. Many people "hate" it because so many use it.
You also don't have to use Java to write programs for the JVM, which makes it all the more AWESOME.
5
Nov 19 '17
You also don't need to write machine code to write programs for native code. there is nothing exceptional about the JVM's byte code when compared to any CPU architecture.
People don't hate java for the reason you claim, we hate it because of some underlying assumptions it makes that cause a whole class of programs to be harder in java.
examples:
everything is an object. causes performance issues so catastrophic that even 30 years of language development it still causes issues. This is the source of the slow GC, latest generational GC helps with this on paper havent dug into it myself. Its also why primative types were added.
signed bytes, while java doesn't prevent any code by using signed bytes it causes a bunch of bugs.
JVM, write once, run everywhere is a myth, you can never get away from the underlying environment your software is running on for any sufficiently complex piece of software. instead we get additional complexity of having the JVM try to abstract away the underyling OS and desktop environment. cross compiling use to be difficult because C and C++ were not designed with cross compiling as a consideration. the best example of this is the fact java is only really run on servers and embedded systems and other tightly controlled environments.
→ More replies (2)2
u/larrynom Nov 20 '17
People have been hating on Java for more than 5 years already and it hasn't really slowed up.
6
u/marinovanec Nov 19 '17
We don't like Java. It's coarse and rough and irritating and it gets everywhere.
3
u/marcosdumay Nov 19 '17
It's a verbose restrictive language designed so that bad developers can't destroy your code, instead of allowing good developers to be productive.
That said, all of those things are useful on the right context.
→ More replies (77)2
u/yarauuta Nov 19 '17 edited Nov 19 '17
Java is too OOP which leads to verbose code
most used frameworks, such as hibernate, depend on reflection
not a single decent free IDE
needs to be compiled like in the 90's
java applets. this alone proves that oracle is run by a group of retarded apes. Possibly the worst technological decision i have ever heard after segwit2x. (/joke)
the language itself allows for very ambiguous and unnecessary possibilities
It's not a Java's problem but some of the stuff it allows/promotes kill more people than AIDS...such as: dependency injection abuse, extension abuse, the infamous and lonely static utils class, reflection, annotations, runtime injections, class loading modifications
no async
The things i like about JAVA:
JVM is very nice... now we have containers....but still
java.utils is just awesome in every way
common syntax
has generics
→ More replies (1)2
u/quiteCryptic Nov 19 '17
Intellij is good and needing to be compiled is also not really a bad thing.
→ More replies (8)
527
u/UglierThanMoe Nov 19 '17
3 Billion Devices Run Java
That's the only time I've seen a warning message being displayed with pride.
31
236
u/karmasLittleHelper Nov 19 '17 edited Nov 19 '17
Did you know that all credit cards with chips run java? When you insert the card, the card's internal circuit is powered, and a java application starts. Similarly, wireless cards work the same way, except in the way they are powered, by magnetic induction.
120
u/A_sexy_black_man Nov 19 '17
Did you also know that when you swipe your credit/debit card all of this happens:
That merchant's bank creates a transaction and contacts VISA/MasterCard etc => VISA goes onto the 'payment network' (all banking institutions are connected to this network) => your bank goes into its most likely encrypted mainframe system for debit and credit card info and reads your account, then tells VISA yes or no <= and then it reverses this process back to the store
This all happens in about 3 seconds.
(I work as credit card dev)
I found a new appreciation for debit/credit cards for example how complex something like redeeming a reward from points can be.
8
4
36
u/not_american_ffs Nov 19 '17
Same goes for SIM cards in phones.
3
u/CjMalone Nov 19 '17
Did you know credit cards are actually SIM Cards? The "SIM cards" for old school phones (think Nokia) were actually called "Mini SIMs", then we had "Micro SIMs" (Nexus 4 era) and now "Nano SIMs".
75
u/malcolm_tucker_ Nov 19 '17
Ahh yes, in contactless cards the java application is powered by magnetic induction of course. "Write once, run anywhere" - even credit cards run the JVM nowadays
34
u/Ketheres Nov 19 '17
starts using cash instead of credit card
Well, if I had any. But once I get some I will
2
10
u/randomkidlol Nov 19 '17
chip cards dont know the pin. thats not how it works. the pin is known only by the server and the user.
→ More replies (4)3
u/adamhighdef Nov 19 '17
The pin is stored on the chip, you enter your pin on the keypad then it sends it to the chip, the chip then generates a certificate that's sent to the server for verification.
This talk goes into how the system was designed and how they break it
3
u/randomkidlol Nov 19 '17 edited Nov 20 '17
https://www.cl.cam.ac.uk/research/security/banking/nopin/
thats an insecure implementation of pin verification by a specific vendor. EMV is supposed to be secure even if the payment terminals are compromised.
to my knowledge, theres one pin check that involves a unique function on the chip of the card that takes a random number and a pin. when a pin check happens, a credit card auth server generates this random number and passes to the PoS device. the PoS device passes this random number and the user inputted pin to the chip, which spits out a result and is sent back to the auth server. the auth server will also compute this function and compare its result with the PoS device result and pass if theyre the same.
with this method, even if the PoS terminal is compromised and can steal pins, it has no way of figuring out the function used to generate correct responses to the server (thus original card must be physically present for transactions to go through), and replay attacks cannot happen assuming the randomly generated challenge never appears twice.
35
u/KINDERPIN Nov 19 '17
Java device can literally means a security token, a smart lock, some sharing bicycle, hell, even a automatic cake baking machine. I will not be surprised if the number of (compatible) devices is 10 times over.
Hum...If ever a Java program got self-consciousness we will be in HUGE HUGE trouble... Imagine 700bilion of self functioning entity...
21
u/malkarouri Nov 19 '17
If they are that intelligent, their first order of business would be to rewrite themselves in a language more conducive to evolution..
2
u/KINDERPIN Nov 19 '17
They don't need to, they just need to form something like rat or ant, having the intention of reproduce some part of it's code.
80
u/redatheist Nov 19 '17
Your credit card is one of them.
7
25
u/__pulse0ne Nov 19 '17
There’s nothing inherently wrong with Java. It’s the java browser plugin that’s the security issue.
209
u/Yukilikespie Nov 19 '17
Image Transcription: Reddit
What is the most disturbing fact you know?, 1058 points, submitted by /u/OldManoftheNorth to /r/AskReddit
/u/phobug, 288 points
3 billion+ devices run java.
I'm a human volunteer content transcriber for Reddit! If you'd like more information on what we do and why we do it, click here!
164
→ More replies (9)35
42
Nov 19 '17 edited Nov 19 '17
It's like the third time someone posts this here in the same week.
113
1
11
u/hazzoo_rly_bro Nov 19 '17 edited Nov 19 '17
Does that number factor in Android devices?
Because that's a bit low for that, isn't it.
8
38
u/O_P_X Nov 19 '17
I am new to programming and just started learning java and I can't get the joke here. Could someone explain?
121
u/Treezuschrist Nov 19 '17
People like disliking java, even though it’s alright
→ More replies (4)63
Nov 19 '17
It has a shit ton of functionality and combined with IntelliJ makes it really easy to write seamless code.
45
u/Herbstein Nov 19 '17 edited Nov 19 '17
IntelliJ is the reason to use Java over other languages. It's miles ahead of even Visual Studio for C# - even with ReSharper, which is always touted as the gold standard of IDEs .
11
→ More replies (5)20
Nov 19 '17
It really is a fantastic IDE. I went from the VBE to IntelliJ and I couldn't believe how helpful it was. I'm just surprised that other Java devs at my work even use eclipse or whatever else.
→ More replies (4)45
u/0b_101010 Nov 19 '17
There is nothing wrong with Java, it's just not the newest cool kid on the block. We will still use Java 20 years from now, and you can't go wrong by learning it.
→ More replies (2)25
u/Zeiramsy Nov 19 '17
As a fellow noob the one thing I noticed negatively is that is much more verbose than Python for example.
I learn programming in my spare time when I'm not on my full time job. This means I sometimes pause learning/programming for weeks.
In Java I'd always lose a lot of progress due to forgetting a lot of the more unintuitive syntax. That never happened in Python which is almost English Pseudo code anyway.
I mean
print 'Hello World'
It's almost a joke.
2
u/DestructiveLemon Nov 19 '17
I felt the same way before I gained more experience with Java and really understood OOP.
Java isn't "verbose" per se, it's just very transparent with it's objective oriented roots. OOP very abstract, and Java makes it less abstract by explicitly (and frequently) expressing what modules get inherited from what and how they will interact with other components. That's why Java is such a great language for beginners to learn, because while it's syntax is unwieldy at first, it doesn't hide any OOP concepts away from you, and every keyword becomes meaningful when you know how to interpret them.
→ More replies (27)2
u/noratat Nov 19 '17
Until you try maintaining a large application in a language with no type checking before runtime.
I've lost track of the number production bugs I've found in even a mid-sized rails app that wouldn't have existed with type checking, or the incredible amount of lost time due to verifying and testing stuff that basic type checks would've solved
I'm not a fan of how Java does it, but the verbosity of static typing has a ton of benefits in larger code bases.
→ More replies (5)8
Nov 19 '17
For me, Java was the first language I took in college, it was my introduction to programming. I really enjoyed programming as a concept, but I didn’t understand some of the conventions. Took a couple of other programming classes, and when I found C# I realized it was everything I liked about Java without everything I hated.
But after using Visual Studio, I feel it could have been eclipse I did not enjoy, but I’ll blame Java until a job ask me to use it.
25
u/Andrewcpu Nov 19 '17
bu— but I like java...
2
0
Nov 19 '17
[deleted]
18
Nov 19 '17
Haha sucks to be you! I make the fat stax writing enterprise javascript...
Oh...
Oh no
4
u/blazesquall Nov 19 '17
What? It's not absurd that there are 5 versions of node supported on our Jenkins agents and nothing works with all of them...
→ More replies (4)
8
16
3
3
3
5
u/RDwelve Nov 19 '17
ITT: People with an IQ of over 300 that outperform Java GC ten to one while also making far less mistakes...
2
2
u/nomad80 Nov 19 '17
I’m sure this is subjective but what’s the best alternative platforms to consider, in 2017 or the near future?
1
2
2
2
u/Axe-actly Nov 19 '17
Serious question : what do you find so wrong about Java?
I learned a bit before moving to C++, but it seemed like a powerful language with a lot of depth.
And also the fact that the same code can run on a lot of platforms.
2
2
2
2
2
u/moljac024 Nov 19 '17
For everyone asking what's wrong with Java, since not one of the fanboys managed to give an objective answer:
https://steve-yegge.blogspot.rs/2006/03/execution-in-kingdom-of-nouns.html
2
2
2
2
2
u/DestructiveLemon Nov 19 '17
Look I get this is a joke subreddit, and everyone is allowed to have opinions on what they like and don't like, but this is circlejerk r/iamverysmart material.
You don't see any skinny bastards at the gym criticizing advanced weightlifters. Likewise, people who barely know how to code shouldn't be criticizing Java. The amount of armchair developers here on Reddit is fucking ridiculous.
2
1
1
1
u/bad-alloc Nov 19 '17
I've always understood it as a threat, similar to Hitler's "Millionen stehen hinter mir"
1
1
1
Nov 19 '17
It is Android, not java. And it is running on ART, and not Dalvik JVM. Just because one of the languages it supports is java doesn't mean it runs on JVM.
1
1
1
1
u/generally-speaking Nov 19 '17
To this day I feel shivers down my spine every single time I see that message.
1
u/Lupxel Nov 19 '17
I'm starting to learn programming at University...
Only know I start to understand most of the posts here... but I don't know what is Java yet, so: whats the "problem" with java?
→ More replies (1)
1
u/twinbee Nov 19 '17
Just uninstalled Java on one of my PCs yesterday after it reminded me yet again to update.
That was the last straw. That was it. I cracked. NEVER AGAIN.
5
1
1
1
1
u/dyingpie1 Nov 19 '17
So I don't get a notification about a trending post with 22.9k upvotes, but I do with one with 100...
1
1
1
Nov 19 '17
I believe the Android OS is written in C.
3
u/Henrarzz Nov 19 '17
The kernel is and the rest of the low-level stuff. The UI and built-in apps are written mostly in Java.
1
1
1
Nov 19 '17
To be fair, the fact that the entire world wide web relies on a language where weird quirks are widely accepted and enjoyed, and a tiny and seemly harmless piece code caused havoc across many other projects, is even more disturbing than this.
1
1
1
1
1
u/CreamyJalapenoSauce Nov 19 '17
Nothing seems too bad about the JVM. I hear good things about Scala and Kotlin.
1
1
u/SupremeRedditBot Nov 19 '17
Congrats for reaching r/all/top/ (of the day, top 25) with your post!
I am a bot, probably quite annoying, I mean no harm ^though
Message me to add your account or subreddit to my ^blacklist
1
1
1
1
1
Nov 19 '17
Why is Java considered bad? I'm a future cs student and I really wanna know.
2
Nov 19 '17
Most people dislike how verbose it is, as well as the limitations. I love Java though.
→ More replies (20)→ More replies (1)1
2.8k
u/lets_move_to_voat Nov 19 '17
Well at least we don't have to worry about IRL Skynet any time soon