Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "#java"
-
When you install Java it says "3 billion devices run java"
Well I'm not sure how many of those devices actually respond11 -
He's stop writing Java because he thinks Java is inelegant. He write PHP instead.
Am I still on earth? 🤔28 -
So I've got a friend learning Java, using Eclipse.
I walk in one day and see him restarting his computer. I make nothing of it. Few minutes later, he's restarting again.
I jokingly say "Windows update?"
He responds with the straightest face ever: "No, compiling code."
Apparently he thought you needed to restart the computer before compiling.
Not sure if I should be mortified or laughing my ass off.5 -
My new year's resolution:
- Learn more Java
- Build a web server with Java
- Make a 3D game with no frameworks in Java
- Make a simple Android app with java
- Try JavaOS
- Tell people I know Java14 -
java - - version
Unrecognized operation: - - version
FUCK!!!
java - version
java version "1.x...."
EVERY FUCKING TIME!!!
Why Java, WHY?!?!? 😭
Every other tool uses - - version ❤️9 -
What?!?
There is an ^= operator in Java for booleans. I have been programming in Java for 4 years now and never knew this. Like b ^= true will flip b.
Mind blown; this is the greatest thing ever14 -
Interviewed a guy for Java Developer.
He didn't managed to explain his hello world program.
:') :D
He won't be giving java interview anytime soon5 -
After heck a lot of hours of debugging my Java code which looked all right, found out my mistake was just using == instead of equals()5
-
After a long time in .NET and JavaScript, I have returned to Java today. I was quite happy about it for a few minutes!3
-
Either I bumped my head really hard, I’ve died and I’m in hell, or something crazy because I’m actually kinda enjoying Java.19
-
If you put a million monkeys on a million keyboards, one of them will eventually write a Java program.15
-
"I decided to write the core software for my Time Machine in Java. It's Date API is so error free and easy to use."
As the legend goes, the scientist is trapped in another dimension between Timezones.
#thanksjava4 -
Went in to the therapist today. Their impression is I'm likely okay. Wait until I show them the cluster fuck that is Java Enterprise. 🙃11
-
You know you are screwed when your colleague in a Java project asks you how to create two different constructors on the same class.4
-
"Java uninstalling itself Windows 7"
https://superuser.com/q/1492961/...
The garbage collector is working! :D3 -
i was talking with a senior developer and...
...i realized...
...every single thing you people trashtalked against java, was a delusional lie.16 -
Why don't people like Java? With only a year of AP comp sci for experience, I don't know enough about it to say I do or don't like it. But it's widely used, and is an official language of Android. Are the people hating on Java just people that don't use it? Or is there something about Java that people just genuinely despise?35
-
A kid in highschool asked what are the similarities between Java and Javascript. I told him:
"Java is to JavaScript what Car is to Carpet."7 -
I was assigned my first ever huge software project in college (a complex board game made in only pure java) and was assigned a group by my professor. Since I'm doing well in the class, I was given kids who want me to teach them everything (from GitHub to simple oop) on top of programming most of the system because they can't or don't want to. So to make things easier I gave out some relatively simple and specific jobs in GitHub using the issues system that apparently nobody reads. Thankfully one person decided to take initiative and start their feature but one commit later the entire system crashed and everything is broken FML can't wait to program this entire thing by myself.5
-
Java
It's my favorite language because I started learning programming in Java when I was in school.
The most annoying thing in Java is I don't feel like writing System.out.println each time.12 -
Java is so fucking stupid. Literally nobody likes Java. Fucking stupid ass language and every app that uses it is laggy and stupid as fuck. Fuck you Oracle. This is why literally nobody uses your cloud platform. Stupid deprecated shit that nobody uses anymore.
Anyone that uses Java is forced to because the software ware literally made 949349 years ago. Java is just such a stupid language and so fucking laggy. NOBODY LIKES JAVA VIRTUAL MACHINE. WHAT A STUPID INVENTION. WHOEVER DID THAT NEEDS TO BE FIRED ASAP. Oracle is such a stupid company. Make something that people actually want to use, because obviously nobody wants to fucking use Java. Nasty ass laggy fucking language.
Fuck you32 -
Java is kind of like teenage sex--everyone is always talking about it, but in reality they don't even know what they're talking about.
-
This whole week I’ve been writing Java (for the first time) and I’ve come to the conclusion that it’s a horrible language, written by horrible people, for the purpose of making other people’s lives horrible.
Fuck Java 🙂9 -
Once I didn't knew anything about coding or development.
Someone suggested me to start with Java.
Still looking for that Mada-foker.5 -
-Yeah sure, I'll adjust to java pretty quickly. Have been working with C# for years.
Narrator- But little did he know that how much Java differs.9 -
"No you can't use Java 11's `var` because other developers will [be boomers about it and unable to check types by hovering over variables for half a second]" - my team, basically22
-
in the past 48 hours my partner must have asked me 50 times to create an "AI" that can get the data we need off of wikipedia.
Background: I am in AP Computer Science AB but I have been programming long enough that this class is a joke. We were assigned to partners with the task of creating a search engine that finds informations on wikipedia("which is dumb because thats what the search tool is for") so I created a Java Web-Scraping program in probably 30 minutes and showed my partner. He told me I am completely wrong because it would be "cool" to incorporate machine learning into the assignment.
Do I even tell his what machine learning is or should I just let his figure it out?7 -
ah yes, i'm a VERY kinky Java dev
my favorite NSFW act is naming my java variables shorter than their data types11 -
>Be me
>About to finish large-ish GUI program in Java
>Finish coding program
>Be happy that you finally finished
>Go to test the program
> Doesn't start
>Get concerned
>Debug the code for hours on end to find out why it isn't working
>Find that you were missing a semi-colon the whole time
>Yell into a pillow
>Go to devRant to rant about it11 -
Back in the late 90's when I got started in my career - had a boss that didn't known the difference between Java and JavaScript. I made the mistake of trying to explain the difference. If you can keep the boss in the dark and get away with it - do it. Ignorance is bliss.1
-
I really dont understand the hate for Java, people specially showing on devRant. Java is such a beautiful language. Im ready to take on the negatives if Java loses. Java lovers can put ++ and hater can hit --. Let's see the results at the end of the week.6
-
Anybody remember when we actually spent time writing code instead of debugging the tools? Specially the gazillion of crap that's out there for fucking Java shit?11
-
Wtf java.. You can't just fucking make java paid.. This is not acceptable assholes. Although I don't use java now for many good reasons. But I always had respect for it. And I used to use it.9
-
This jewel piece of code in Java:
if(String.valueOf(var1.toString( ) ).equalsIgnorecase(String.valueOf(var2.toString())){
//fuck something else here
}
String var1; //defined somewhere
String var2; //defined somewhere in the code
At this point I am not even mad 😂😂3 -
So I'm tryna register for classes using my college's portal, and I click on "add/drop classes", and an entire Java stack trace gets dumped on my screen, with a warning at the bottom not to expose these errors to production in order not to let potential attackers know about how your backend works. I guess nobody at the college ever read that message.3
-
New on HS Robotics team (we went to worlds last year —> we’re good). I come from France.
The lead programmer say that we are gonna stop coding the robot in Java and start C++ this year, so naturally I’m excited!
Lead programmer just told us we’re actually staying with Java... fuck.4 -
teaching myself Java servlets
ide refuses to recognize my tomcat server
me: ...... no one's using java servlets right?
*nods to self, gets up and leaves laptop*4 -
There should be a competition for java developers where they compete to generate the longest stack trace.
#javasucks1 -
Wrote my first line of Java since I was 12 or 13. A basic hello world line. I then got the error that reminded me of why I disliked programming in general that time. Fucking semicolon8
-
Started doing Java because i thought it had much better libraries than C++ .Now after doing it , still not able to decide whether to stick with Fucking Java or with that Fucking C++ LOL.35
-
CIA – Computer Industry Acronyms
CD-ROM: Consumer Device, Rendered Obsolete in Months
PCMCIA: People Can’t Memorize Computer Industry Acronyms
ISDN: It Still Does Nothing
SCSI: System Can’t See It
MIPS: Meaningless Indication of Processor Speed
DOS: Defunct Operating System
WINDOWS: Will Install Needless Data On Whole System
OS/2: Obsolete Soon, Too
PnP: Plug and Pray
APPLE: Arrogance Produces Profit-Losing Entity
IBM: I Blame Microsoft
MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers
COBOL: Completely Obsolete Business Oriented Language
LISP: Lots of Insipid and Stupid Parentheses
MACINTOSH: Most Applications Crash; If Not, The Operating System Hangs
AAAAA: American Association Against Acronym Abuse.
WYSIWYMGIYRRLAAGW: What You See Is What You Might Get If You’re Really Really Lucky And All Goes Well.2 -
Saying Java is good because it works on every operating system, is like saying anal sex is good, because it works with every gender!9
-
Am I the only one that doesn't like Java? I mean I don't hate it or say it's bad. It's pretty clear that it has been probably the most influential language after C. I just don't like how typed and verbose it is, also I feel old just using it or something based on it (like Jenkins)14
-
why the hate on java? ok, i'm only studying applied computer sciences for a year now, we mainly saw java /javascript and i like them. personally i worked with python, c, c#, php, swift too but i still don't see the problem with java4
-
Hey everyone, I am trying to learn how to become better a Java but I don't really know where to begin. I already know some of the basics and have made a few minor projects but I really want to advance. I was hoping someone could provide me with some ideas for simple yet complicated projects so that I can further my knowledge of the Java programming language.4
-
For all the hate that Java gets, this *not rant* is to appreciate the Spring Boot/Cloud & Netty for without them I would not be half as productive as I am at my job.
Just to highlight a few of these life savers:
- Spring security: many features but I will just mention robust authorization out of the box
- Netflix Feign & Hystrix: easy circuit breaking & fallback pattern.
- Spring Data: consistent data access patterns & out of the box functionality regardless of the data source: eg relational & document dbs, redis etc with managed offerings integrations as well. The abstraction here is something to marvel at.
- Spring Boot Actuator: Out of the box health checks that check all integrations: Db, Redis, Mail,Disk, RabbitMQ etc which are crucial for Kubernetes readiness/liveness health checks.
- Spring Cloud Stream: Another abstraction for the messaging layer that decouples application logic from the binder ie could be kafka, rabbitmq etc
- SpringFox Swagger - Fantastic swagger documentation integration that allows always up to date API docs via annotations that can be converted to a swagger.yml if need be.
- Last but not least - Netty: Implementing secure non-blocking network applications is not trivial. This framework has made it easier for us to implement a protocol server on top of UDP using Java & all the support that comes with Spring.
For these & many more am grateful for Java & the big big community of devs that love & support it. -
coded a java program in eclipse throws back error .
Know that program is correct.
Created a new project file copy pasted the code, wolaa.. executed.
:/5 -
Fucking java library publishing. It's a nightmare. You have to fucking own a domain to publish a shit onto jcenter/bintray/whatever. You have to own the domain, that your lib's package name is. And you MUST verify it, otherwise you won't publish anything. Or you can shit allover your lib with package name like com.github.dumbcoder.mycoollib.
You must to create a ticket for some shitheads that are going to verify your shit for two weeks. They gonna ask you for source.jar, docs.jar and whatever shit.jar they need.
What THE fuck? Who was the asshole that decided name packages in reverse domain name? No FUCKING more ecosystem has such a bullshit. In .net you just make a lib, create a free nuget account, fill some basic info and boom! you have .net package published. Same for npm and rust for example.
Because the fucking package name should be just for structure not for a some dick to own it. Namespace is name-fucking-space.
FUCK JAVA.7 -
To all fellow Java devs out there. Remember the Java life: "We code hard in the cubicle"
https://youtu.be/b-Cr0EWwaTk -
I have just learned java language. Can anyone tell me some small projects that will help me as a beginner?10
-
No one loves Java as much as Google and Oracle. They are willing to have a battle in court. Or maybe it is just that $9 billion 😂😂😝
But on a serious note as a former paralegal "I don't think copyright should be applied on a programming language " plus, I feel like even if it is applied... google is using java in it's own way (android) as the courts have stated that you can't copyright a language syntax or API definition. So Google can use the Java langauge syntax and core Java API freely on Android.
I don't know about you but, a lot of clients do bring up their concerns..on what the implications are for them and their company developing mobile apps!!
Any updates? Concerns? Thoughts?4 -
Am at a Hackathon and am being judged for coding in Java, and I have been relegated to developing the front end. I feel judged.6
-
Java Dev: "Does Josh's team own this java service?"
Scrum Master: "They did the dev work but we own it."
Java Dev: -
I thought I was decent at Java until I saw it in action over an internship this summer... is it always so complicated or do I have more to learn?2
-
Hadn't touched Java for more than a year, had to refresh it back. Probably learnxinyminutes is enough?2
-
I feel like more than half of the time i spend coding Java is actually writting system.out.println().
I mean come on ! Who got time for that ?!5 -
When some colleague ask for help in a project that you're supposed to know everything but you really don't (damn multi threading in Java )4
-
I'm looking for advice on building a cross-platform java library for embedded devices, where I want the same framework for all devices, but some hardware is incompatible.
Should I make this thing multi-part, where the framework is the "core library" and hardware-specific parts are add-ons?3 -
Screw Java. Spent the last two days in this language and it's driving me to fits. Tried making a generic function. Java can't seem to easily handle generic typed arrays. Java threw a fit when I converted an array function to an integer function. Java has all this stupid boilerplate code that you put on every stupid thing.
Programming in Java is about as pleasurable as running face first into a brick wall.2 -
Why does java have so many nonsensical limitations? Why? Why can't we have multiple heritage? Why can't we have friend classes? Why can't we make static abstract methods? Oracle, PLEASE.9
-
Who says Java is platform independent? Here I can't easily move a project to different device on same platform.3
-
I am a chinese dev with 5-6 years experience, working on c/cpp/golang for backend server and PHP for web.
But I still feel hard to learn JAVA and JAVA web framework. You know it just has too many bultshit too learn, which is meanless to me.
Do you no-chinese guys also think so?2 -
So, a year ago we started to learn java at school. Since I have started learning java I hated it. I don't know why, but I absolutely don't like java. Do you guys agree? I want to like java, but I have no reasons why, anyone has some tips?7
-
I have coded in Java from like two years but just now out of nowhere a thought came to my mind.
Why do we need to use "java SomeClass" to run code of SomeClass and why not "java SomeClass.class" ? What difference does it make? 🤔 -
Boss asked me to find out good beginner java course for the new n00b colleagues. Help me out please.7
-
Idk why but whenever I seem to code anything in Java, my hands stumble all over my keyboard and I end up back spacing more than writing ActUAL code
-
“Data structures”... More like “i hate java so much and i am thinking of dropping outta college and live in a cave where i never have to see a monitor ever again.” Am i right?3
-
I've just tried those streams of Java 8. And I can't understand, how on Earth I didn't try them before. They're magnificent.
Hovewer I have some doubts about using them in production. I think no one else will be able to understand what code with streams do.2 -
Is it wrong that I hate Java?
I tried learning it before, couldn't get myself to, I thought there was something wrong with me, maybe im not open to learning new languages
Then I got introduced to F#, Loved it! Even moved portions of pet projects to it
Looked at Java again
Still hate it.
Advice?2 -
Java is the worst shit ever
This works:
int a = 4;
a *= 4.0;
This doesnt:
int a = 4 * 4.0;
:)))))))))))))
Makes sense10 -
There was a rare footage of aliens using java to fly their ufo, well then i guess thats why android was built on top of java
-
Will you pay for JAVA? This is really funny now that .NET is open source and free. We went the other way around.
https://dev.karakun.com/java/2018/...3 -
What is the use of Java nowadays besides Android? I rarely see Desktop apps written in Java and backends are developed more efficientl with django, node.js ,etc... just think about it setting up spring boot and all the warnings and errors...4
-
The more I work with Java, the more I recognize how C# copies Java and yet doesn't admit themselves so. Real hypocrites. F@ck C#.5
-
Since I have learned Java I was taught that Java only passes by value. But my Uni Professor discusses that Java is passed by reference for object and string. I am really confused right now and need some advice.15
-
Hi everyone well we quit gg scripting cause we figured out lua can be converted to cpp for memory searches! we all know lua and know how to convert it to cpp but for the gui
How do i learn java?9 -
I'm taking a beginners course on java. After I'm done I want to do a tiny project.
I want you guys to suggest what I should build as I have no idea where to begin. It's my first language so suggest easy projects please.7 -
Hia! I’ve been asked to have a talk on Java in the near future. Right now I’m not quite sure what to talk about - it can br all things Java - Spring, Java9-11, Modules, architecutre and what not. Any suggestions on good topics I could cover?🔥1
-
Oh yeah ... Java is cool in an utterly sick way even that i can't seem to find a non-retarded built-in stack data structure
Call me a racist, but java.util.Stack has a removeIf() method in case you want to remove odd numbers:
import java.util.Stack;
public class App {
public static void main(String[] args) {
int arr[] = { 2, 4, 7, 11, 13, 16, 19 };
Stack<Integer> s = new Stack<Integer>();
for (int i = 0; i < arr.length; i++) {
s.push(arr[i]);
}
s.removeIf((n) -> (n % 2 == 1));
System.out.println(s); // [2, 4, 16]
}
}
Stop using java.util.Stack they said, a legacy class they said, instead i should use java.util.ArrayDeque, but frankly i can still keep up being racist (in a reversed manner):
import java.util.ArrayDeque;
import java.util.Deque;
public class App {
public static void main(String[] args) {
int arr[] = { 2, 4, 7, 11, 13, 16, 19 };
Deque<Integer> s = new ArrayDeque<Integer>();
for (int i = 0; i < arr.length; i++) {
s.push(arr[i]);
}
s.removeIf((n) -> (n % 2 == 1));
System.out.println(s); // [16, 4, 2]
}
}
The fact that you can iterate through java.util.Stack is amazing, but the ability to insert element in a specified index:
import java.util.Stack;
public class App {
public static void main(String[] args) {
int arr[] = { 2, 4, 7, 11, 13, 16, 19 };
Stack<Integer> s = new Stack<Integer>();
for (int i = 0; i < arr.length; i++) {
s.push(arr[i]);
}
s.add(2, 218);
System.out.println(s); // [2, 4, 218, 7, 11, 13, 16, 19]
}
}
That's what happens when you inherit java.util.Vector, which is only done a BRAIN OVEN person, a very brain oven even that it will revert to retarded
If you thought about using this type of bullshit in Java get yourself prepared to beat the disk for hours when you accidentally call java.util.Stack<T>.add(int index, T element) instead of java.util.Stack<T>.push(T element), you will probably end up breaking the disk or your hand, but not solving the issue
WHY THE F*** CAN'T WE HAVE A WORKING NORMAL STACK ?5 -
Question for java masters, can you please show me the java mastering degrees
Example : Java, Java Gui, Java Jdbc .....
Thank you7 -
I'm not going to pickup Java no matters what. I'm moving from tech giant to advertising field which I can avoid Java. I like to develop things quick and see the impacts straight away, that can be done using php, node.js. Not Java. Life is too short for Java.3
-
The problem with Java errors is you ask for the error of a banana and you get the stack trace of the past 100M years of evolution.4
-
Going to a crash course Java event tonight. Not sure how enthusiastic I should be based on some of your rants 🤔2
-
Why is Java goto language for most backend systems, distributed and scalable, specially in big organizations like Amazon?12
-
People experienced with java/ multi threading , can you tell me how you build a pausing mechanism for threads? Like, if my bg thread is supposed to count for 100 seconds, and i need a mechanism to :
A: start it,
B: stop it on its counting completion/ manually
C: pause its execution at a number on a button click
D: resume its counting from the same number on another button click
How would i do that?
SO Question link here: https://stackoverflow.com/questions...21 -
Which Java GUI shall I learn in 2021? I see people are demonizing swing and telling its obsolete, so it would be really helpfull if someone gives an nice Java stack example for developing windows application focused on PLC and other external controller like arduino, raspberry etc, control and visualisation., in general, automation and industrial monitoring and controls.3
-
There is no something more frustrating than that when you write a long code in java, and you click the debug button and that happens:
Null Pointer Exception -
It seems Java on Linux runs slower than Windows... Same code takes about 2x longer to run. And well this code is for a batch job...
Does anyone have experience with JVM tuning/optimization or can confirm/disprove this is the case?23 -
public class LearningJava{
public static void main(String[] args){
boolean isprogrammingEasy = true;
if(isprogrammingEasy){
System.out.println("your on the right track!");
}else{
System.err.println("Try again!");
}
}
}
i know i know pls dont get triggered cuz dev rant is not a code editor but im starting to understand java and javascript also found this youtuber im learning off of i think you guys helped and yes i have skidded a few times but i know its okay sometimes not cool to steal someone source code Thanks everyone
youtuber im learning from: https://youtube.com/watch/...
i think i can understand dex. jadx and more i wont post anymore cringe posts before some devs mght get tired of me just development :)2 -
There is a new Java library very useful for building frameworks and in this library there is a particular classpath scan engine that deserves attention as it is original and powerful.
The peculiarity of this engine is the possibility to search classes over a path or the runtime classpath by concatenable and nestable criteria by exploiting the power of the lambda expressions on the native Java reflection elements such Class, Field, Method, Constructor, Module, Package, Annotation, etc ... thus giving the possibility therefore to carry out searches without limits and for any criterion that can be immaginated: this library is called Burningwave Core, it is open source and on the official wiki on github there are a lot of examples.8 -
Hey, I'm new to java. I was just practicing and found that don't know how to use Date to get an input. Any easy way? Searched almost for an hour. Help!1