Tell me about that time when you realized Java was shit

Tell me about that time when you realized Java was shit.

Attached: famaleprogramme-760x570.jpg (760x570, 91K)

Other urls found in this thread:

kotlinlang.org/docs/reference/comparison-to-java.html
twitter.com/NSFWRedditGif

litterally the first time i ever used it. but javascript is far worse

When I discovered c# and linq

>Android switched to Kotlin
>Never looked back

when I had to use it for a large project

FYI, the cutie in OP's pic is Samantha John, co-founder of hopscotch.

Attached: sjh.jpg (1066x1600, 261K)

during 5th period when my java teach told us that java was shit and that hes teaching a college course in c++ and we can sign up for it to get college credits if we wanted.

Attached: 1529504749611.jpg (1365x2048, 376K)

When I discovered C and C++

at least its not c

it's not even that terrible. it's useful to write portable (and reasonably fast) graphical programs.

when I actually used C, took ages to unlearn writing Java-y code regardless of language though

It's the opposite, I used to think it was meh, now I actually like it a lot.
Most of the java hate comes from people who learned java 5 at school from completely clueless teachers and think the JVM and Java web start are the same thing. Also complains about the printf statement being verbose. I wish I was kidding on that one.

It's like Egoraptor and his wife have been merged into a single person.

When I found Jow Forums

>Also complains about the printf statement being verbose. I wish I was kidding on that one.
java is too verbose in general, everything has to be fit into a corset of object-oriented paradigms and The Java Way (TM) of doing things.

>tfw hello world takes 200MB of ram

They're very aware of the current trends in programming languages and that's reflected in the language and standard library.
It's still fundamentally an OO language and will always be, but lately they've embraced immutability and pure functions so the age of dumb straight up OO has kind of passed.
The real strength is in the flawless tooling and massive ecosystem though.

>exceeding 80 chars

Back in 1923, the magazine Science and Invention assured readers they were just around the corner.

An article in the July 1923 issue of Science and Invention highlighted the ideas of New York architect and engineer Harvey W. Corbett. As president of the Architectural League of New York, Corbett insisted that skyscrapers would continue to stretch toward the heavens. And flying cars would enable the people who lived and worked in these skyscrapers to come and go as they pleased.

That was when i realized Java was shit

Attached: 1508908628172.png (645x729, 50K)

When I learned other programming languages.

When I learned a different language

When I found out about Scala.

When I was some 12 y/o edgy fag kid.
Later I got into serious language design and realized that petty syntax and boilerplate memes aside it's pretty well-made, given the circumstances.

Poop

>Tell me about that time when you realized Java was shit.
In 1996, the first time I used it.

Threads like these are proof that most people on this board are complete retards. Apparently it's a "cool" thing to bash Java without even knowing much about it.

>Low IQ / Muslim tier
You know someone falls into this category whenever he/she starts comparing Java to C or C++. This comparison is so unbelievably stupid, it makes me get genocidal thoughts like Goebbels.

>Unemployed / hobby programmer tier
You know someone falls into this category whenever he/she starts babbling shit they read on google. Examples are:
- "Java is too verbose"
- "Java is insecure"
- "Java takes up so much RAM"
etc..

First of all, Java is not a bad language, it's just old. Secondly, if people actually learned about the new Java features, they'd find out quickly that it has improved a lot. I don't enjoy programming in Java myself anymore because I moved to Scala but Java is by far not as bad as hobby programmers and unemployed niggers on this board claim. Also Kotlin is a meme. It's literally Scala for brainlets.

Everyone that says Java is shit is a brainlet who can't grasp pure OO. When OO is done right it's unparalleled. Keep writing fizzbuzz in Ruby and not having a job you fucking kids.

So like... children?

I use Java in work and I don't like the verbosity either. Everywhere I have to deal with Factories, then create another Class to configure it, then another class to make the configuration take effect.
Yet, I don't hate Java. It just discourages me from any packages that use this pattern.

When I learned Kotlin.

Attached: 1531228542650.jpg (680x639, 58K)

I wanna deito her ;-;

Why do people prefer Kotlin to Java?

Wtf I hate abortion now

When I discovered Functional Programming and Haskell.

It's less verbose (e.g. no getters/setters [just properties], your entry point can be a main function and doesn't have to be in a class), it's prettier (e.g. semicolons are optional, val/var for variable creation, this is kind of subjective but most agree it's prettier), and all these other reasons:

kotlinlang.org/docs/reference/comparison-to-java.html

>Everywhere I have to deal with Factories, then create another Class to configure it, then another class to make the configuration take effect.
That is a valid point but when I was talking about verbosity, I meant faggots who "complain" about shit like static typing etc. Java being verbose definitely has its advantages, especially as soon as projects get bigger and more complex because often things are not self explanatory.

>Why do people prefer Kotlin to Java?
Imo hype. I don't think it's "better" than Java. It offers some features but I most definitely think it's less readable than Java.

From my first exposure to programming:

1. Cool, I've always wanted to know how computers work
2. Wait, I'm not even compiling to real code? WTF!
3. sudo apt-get remove jdk

Learning java is learning to type with a side of compsci education.

It gets converted to binary by the JVM...
Don't see how the timing makes a difference in how "real" the programming is.

How low is this guys IQ? Is it below 80? What do you think?

>1. Cool, I've always wanted to know how computers work
>2. Wait, I'm not even compiling to real code? WTF!
If what he wrote is true it means nothing but that he was literally too stupid to research which language he should have learned if learning how computers work was is goal.

Same experience here. Java isn't actually bad, especially when programming at large scale.

that's a cute female (male)

First exposure to programming == I didn't know JVMs existed

> be me, 8 years old
> Who would be stupid enough to write programs with the intention they are needlessly run through a VM?

so how do you feel about c code being only compiled to object code? and how does virtual memory make you feel like?

The moment I used NetBeans and saw that the IDE was using an entire *gigabyte* of memory to be a glorified text editor.

literally nobody stops you from using just a texteditor to write Java code. Also there's IntelliJ and Eclipse. Retard, die a painful death by cancer.

Not too happy.
At least virtual memory has a security purpose; although maybe you could pull off something similar without virtual addresses.
Although that might be used as a sidechannel to guess how many other processes are running, or something similar.

Also dislike x86 for related reasons; you don't even get to see the ACTUAL core.

Spotted the boomer.

>muh feels
Jow Forums doesn't even attempt to masque how it prefers feels over reals

When I had to work with JList on Swing

What's wrong with it?

>Swing
>What is JavaFX

Netbeans is written in java.
Java takes up too much working memory.
Pour gasoline on yourself and light a match, illiterate fag.

>Netbeans
It's a fucking piece of shit.
>Java takes up too much working memory.
No it does not if done right. IntelliJ is written in Java as well you fucking moron. Bitwig's GUI is also written in Java and its quick and not memory intensive.

It's fucking funny. As soon as the JVM uses 100MB, people fucking freak.. but nobody cries about all the fucking electron apps that launch a fucking Chromium container.

>he didn't just subclass a jpanel and implement his own gui widget library

>paying for IDE
>using IDE with paywalled functions
the state of javafags

>cutie

IntelliJ community edition is free as in freedom software and has more features than your favorite language's IDE

>bytecode
>vm
i like to program for cpus, not for other programs.

writing java or c# or python is the same as building "apps" for the browser. trash.

DOES SHE #KODE

>CD
>CD..
>CD CODE
>CD ..

what have you accomplished?

when most of the problems I was seeking to solve individually could be better solved using different scripting languages.

java has a lot of legacy decisions that sort of cripple it in weird ways, but it's still a solid language with useful tools. in honesty, the real power of java is the JVM though.

why?

kotlin is just going to be deprecated once the next few java versions add all the same features in some upcoming JEPs.

hell java 10 even has the stupid type inference shit now.

You forgot to mention your spectrum disorder, Andrew.

just use eclipse then bro.

no one is forcing you to use intellij community edition.

Old fag here. When it was first introduced.

That is very true. JetBrains is based.

>Java 10
>imported var

Wow, what a game changer! Let's face it, Oracle bureaucracy will never make Java catch up. If it did literally just become a Kotlin clone, then I'd choose Java obviously. But guess what, it won't.

why would you chose some proprietary Java clone that compile to JVM but has worse performance, when you can do the exact same shit just using Java to begin with
Kotlin fags never cease to confuse me

>why would you chose some proprietary Java clone that compile to JVM but has worse performance

What? It's basically the same in most instances. It's a prettier Java, it shouldn't be slower in most cases.

>A WORLD WITHOUT JAVA
I M A G I N E

>not being attracted to smart, beautiful women

When I saw a map reduce job in Java then saw 1/4 of the lines of code written in Scala.

Back in 2003 when I tried loading a game online in my computer class in elementary, and the game wouldn't work

>co-founder of hopscotch
who's the man that really runs it?

Attached: face-of-coding.jpg (1400x814, 446K)

>java is shit because im too retarded to understand it and “make it work”

Attached: 1D0C8E9C-03AB-40E0-ACF8-E6FA5F64C07D.png (842x792, 82K)

this, back in like 1999 or 2000 though

Well, it was a rather eventful day two decades ago... I had jus finished fapping to some lesbian porn on realplayer...

>tfw it takes 300 in electron/js

Pretty fucking quickly

When I had to implement OAuth2 on springboot and chain hundreds of poorly documented web configuration methods for the thing to even fucking work.
@SpringBootApplication
@EnableOAuth2Sso
@RestController
public class SocialApplication extends WebSecurityConfigurerAdapter {

...

@Override
protected void configure(HttpSecurity http) throws Exception {
http
.antMatcher("/**")
.authorizeRequests()
.antMatchers("/", "/login**", "/webjars/**", "/error**")
.permitAll()
.anyRequest()
.authenticated();
}

}

And that's just a trivial starter chain to get the bare essentials working. Wanna kms.

Oh, you poor, poor bastard ...

When I realized that some of the Swing widgets did not allow you to unsubscribe from certain events - on purpose. You must want to have a memory leak, for your own good! The fact that it was reported as a bug in the late nineties and still isn't fixed made me find a job that didn't involve Java.

when I learned other languages

i'd like to co create her hop with my scotch if you know what i mean

trying to make a minecraft mod when I was younger. worst decision of my life.

I have a job as a Ruby programer.

Attached: 1529817803435.jpg (2000x2000, 489K)

I feel it's not Java that's bad but rather what happened to its ecosystem during the late 90's and early 2000's.

If you feel like blaming anyone blame the same people who use word "Enterprise".

Let's take a walk around what we have had to deal within Java:

> EJB
What a sack of shit this is. It was developed at a different time long time ago and a perfect case study for over engineered solution.
> Heavy weight containers
I'm looking at the likes of WebLogic and WebSphere which require a ton of configuration for not a lot of gain. The world today has gone towards lightweight, fast on startup images instead of monolithic monstrosities and Java is keeping up with the trend (there's like 5-6 micro frameworks with embedded servers that come to mind). But I feel like people still associate Java with these containers.
> Shit tier frameworks
GWT, Struts, JEE... Yeah we all worked with these. They suck dick and eat undoubtful amounts of shit.

The language itself is good. It's predictable, its performant, there's plenty of runtime options and a massive and mature ecosystem with a TON of tooling.

First time I've used it. I didn't liked their java-bytecode bullshit, and I didn't liked garbage collector.

Java has primitives, which means its not a PURE OO language.

OO is cancer.

This but unironically.
>implying

I'll be with you in heaven one day, my gf.
“Before I formed you in the womb I knew you, and before you were born I set you apart and appointed you
jerimiah 1:5

It is though. If you what to shit about primitives, there are wrappers for them. Besides, OOP is based on message passing, not objects. The whole encapsulation, polymorphism etc "pillars of oop" were born out of the need to shape the vague concept that was OOP back in the day.

pic related

Attached: d1a.png (1066x600, 276K)

>the time when you realized Java was shit
>implying i ever thought it wasn't shit

There are a couple of things that piss me off about Java.
Try-catch leads to awful nested pyramids. There is no RAII, and goto is banned for some autistic reason, so you can't even do C-style error handling (which I find to be the cleanest).
Even the simplest stuff is unmemorizably verbose. I still can't remember off the top of my head how you are supposed to read a file line by line in Java. It is some bullshit like .. x = new file(new file(new bufferedinput(filename)). On the other hand, fopen, fread, fclose, fseek etc. are so easy to grasp that you cannot possibly forget them.

Don't get me started on the silly EE patterns, although those don't technically have anything to do with java.