[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Java is the most popular programming language.
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 72
Thread images: 7
File: javalogogroot.png (39 KB, 518x518) Image search: [Google]
javalogogroot.png
39 KB, 518x518
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

How do you feel /g/?
>>
>>51857357
Good, because it's a great language...

But bad because Swing is so shit I pretty much stopped making Java apps with a GUI
>>
I love Java. My job is based around Java and I've learned a plethora of translatable skills from it.

The "java a shit" meme needs to die
>>
>>51857403
It does seem like Java is used for more backend stuff, is there a way to write a GUI in another language?
>>
>>51857403
/thread
>>
>>51857403
JavaFX?
>>
File: scala-logo.png (8 KB, 635x282) Image search: [Google]
scala-logo.png
8 KB, 635x282
Feels ok, especially considering the fact that there are now multiple JVM languages with flawless interop to regular Java libraries.
>>
>>51857426
You can't really write a GUI in another language and use it in a native Java application. Swing isn't the best interface, but there are numerous GUI design libraries that people have made, like QT, JavaFX, etc.
>>
>>51857426
With sockets
>>
>>51857440
This. More Scala jobs near me than Java jobs, and that suits me just fine.
>>
>>51857453
>>51857442
Ah I see
>>
I taught myself java in 8th grade, played with it as a hobbyist though my first year of college. Love the language, mostly because of automatic memory management, I can just focus on coding..It's actually fun to use!
>>
File: 1449236675281.png (29 KB, 633x758) Image search: [Google]
1449236675281.png
29 KB, 633x758
Lisp and C are the only worthwhile languages.

Java is bloated SHIT.

DELETE THIS!!!
>>
>>51857497
be mad, friend.
>>
>>51857435
Its still shit
>>
Java is great, I use it at work and at home
>>
Beats are the most popular 'studio' headphone
>>
Ad populum
>>
>>51857524
>>51857537
Beats aren't actually bad.
>>
iphones are popular.
>>
>>51857555
iPhones aren't bad either
>>
>>51857357
So comparing the best C++ code to the best Java code, obviously C++ will be faster by a fairly large margin.

But in the modern day where things seem to always need to be rushed to market, what is the real world difference in speed? Like say you're given a task to do in 1 or 2 working days, that's not going to leave a lot of time for optimisation in C++.
>>
>>51857357
It's shit and I know it first-hand. 8+javafx are better but has some crippling issues. Like, fx not being fucking thread-safe.
>>
>>51857524
>>51857555
>one popular things is bad
>this other popular thing must also be bad
>>
>>51857566
the point is it doesn't suit my needs, so why the fuck should I use it? Because it's popular?
>>
>>51857583
>Like, fx not being fucking thread-safe.
Virtually all GUI toolkits are not thread-safe.
Look up GTK or Qt. You're only supposed to call GUI functions from the main thread. That's not a problem either. Just use proper messaging and synchronization.
>>
Most people I've witnessed complaining about Java were C# people that just couldn't handle the output and input stream classes right away and since then threw a tantrum every time someone mentioned it.
>>
>>51857455
Really? I hope the same happens where I live. Java still dominates significantly.
>>
>>51857585
Okay that's a valid case, but why did you need to mention it? This is a Java thread so if you don't use the language, why bother posting?
>>
>>51857621
because it felt like I was in another "why don't you use Java /g/? Its the best!" thread
my bad
>>
I don't understand Java's popularity

The only real advantage is the cross-platform compatibility because of JVM

I honestly have trouble with java more than any other language, it just hurts my eyes to look at.
>>
>>51857667
it helps that android is jawa.

You'd be surprised at how useful "cross-platform" is.
>>
>>51857667
>The only real advantage is the cross-platform compatibility because of JVM
You underestimate the significance of this.
>>
>>51857686
>>51857695
I guess. Doesn't mean it isn't an abomination. Don't get me started on Eclipse.
>>
>>51857667
>I honestly have trouble with java more than any other language, it just hurts my eyes to look at.
That's your autism kicking in
>>
>>51857667
The domain based namespacing is a pretty good idea
>>
>>51857702
Well the same can be said for windows.
>>
>>51857667
Projects are very expensive and the shorter the development time is, the less money is spent. Java is very stable and developers are willing to sacrifice speed for the stability as releasing something that's a bit slow can be tolerated while something that crashes all the time cannot.
>>
The strict nature of the language facilitates working in large teams. With Java I don't have to read or understand the code of my colleague as much. We agree on an interface and that's it.
>>
>>51857716
This, for most applications, stability > speed. And even then java is pretty fast. If you really need to optimize something you can always call native code
>>
Java is a fucking horrible language to read and write, no /g/ shitpost can change this fact.
>>
>>51857729
This is why I love OO, composibility and reusability.
>>
>>51857749
I can read Java just fine.
>>
>>51857749
That's just like your opinion man.
>>
>>51857749
Java is fine, mostly. You can get retarded code in any language.
>>
>>51857749
IMO, java is pretty ok to read, but rather cumbersome to write.

Code that contain tons of magic, implicit and hidden functionality or meta programming is usually really hard to read, but Java is almost entirely free of things like that.
>>
I don't understand

How is it the most popular language? When was the last time any of you saw a .jar file outside of very specific circumstances?

I don't know shit about java, but when is it actually used? Cross platform or not, the last time I seen a .jar file was when I played minecraft years ago. Who are these multi-platform people running jar files all over the place?
>>
When will Java get higher-kinded types?
>>
>>51857893
Backend stuff, it's very important for server applications for example.
>>
>>51857893
>When was the last time any of you saw a .jar file outside of very specific circumstances?
Most Java runs on servers
>>
>>51857893
Businesses don't use Python, they aren't writing Web Applications in C, Lisp? They haven't even heard of it. They're using C# and Java.
>>
>>51857893
Protip: Java executables are often repackaged as .exe for windows.
>>
>>51857911
>>51857912
>>51857913
>>51857914
Thank you anons
>>
So java is pretty future proof then? With cloud computing and all that jazz?
>>
>>51857947
No language is future proof, but it'll be in common use 50 years from now.
>>
>>51857420

There are far better languages.

But it's hard to make a language popular and widely used since companies would have to retrain or rehire all their staff.

Java is literally job security right now.
>>
>>51857957
I know C# at the moment, going to learn Java just for the sake of shoving it on my resume some time in the future. What is the best way to handle GUI's?

I hear people talking about JavaFX and swing, but I don't know anything about it.
>>
>>51857957
languages? sure, there isn't any better platforms though. What do you purpose.
>>
>>51857967
Swing is deprecated, that is, it won't be developer further aside from bug fixes.
JavaFX is the new standard for Java GUIs.
>>
>>51857978
Thanks
>>
>>51857967
swing is older. it works, but it's a pain in the ass for larger GUIs.
JavaFX is newer and intended to replace swing. it's better in pretty much every way. however, JavaFX isn't completely free/open source yet. some party are proprietary.
>>
>>51857497
kek
>>
>>51857403
Javafx bro...
>>
File: 1448812894300.jpg (154 KB, 580x452) Image search: [Google]
1448812894300.jpg
154 KB, 580x452
Java is just an island in the C.
>>
File: 1444355643022.webm (3 MB, 718x404) Image search: [Google]
1444355643022.webm
3 MB, 718x404
>>51858372
>not programming in asm
>>
File: 659.jpg (32 KB, 413x625) Image search: [Google]
659.jpg
32 KB, 413x625
>>51858372
sauce on that crop?
>>
>>51858898
ketchup
>>
File: Image25.gif (211 KB, 706x418) Image search: [Google]
Image25.gif
211 KB, 706x418
>>51858751
cool
>>
>>51857893

Desktop applications are a very, very small part of the marketplace.

Pretty much any large website on the internet is powered by Java.
>>
>>51857749

If you have difficulty understanding Java code bases you had probably just stick with CSS and other markup languages:

Java is absolutely the easiest to read and follow of any language. The syntax forces it to be readable.
>>
>>51857357
will an embedded systems engineer ever need java?

i'm 3rd year in my ECE minors, we're only doing stuff in C and some assembler code. i don't know if i should take a course in java
>>
Im about to learn java, coming from C++. Will this be much easier?
Thread replies: 72
Thread images: 7

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.