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

java a meme language? i mean why would it be? or why would somebody

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 22
Thread images: 1

File: java.jpg (36KB, 651x400px) Image search: [Google]
java.jpg
36KB, 651x400px
java a meme language?

i mean why would it be? or why would somebody consider is as dying?

> still pretty most programming jobs require Java knowledge
> has a pretty nice learning curve
> huge amounts of learning materials

i mean the only thing I can say that I particularly dont like is that you cannot really protect your source code or it requires >9000 techniques

what do you say, /g/?
>>
>>60001843
>protect your source code
triggered
>>
>>60001863
im sorry, Mr. S
>>
>>60001843
Java is mostly used by people who have jobs. It's not a good choice, when you want to write fizzbuzz-tier programs, that's why /g/ hates it. Most people here are gamers and consumerist, not actual IT people.
>>
>>60002404
literally this
>>
>>60002404
This is the actual answer
>>
>>60001843
It's a shit language but has seen widespread adoption and the JVM is a nice piece of software engineering.
>>
>>60002404
this is how I feel. It's better to do small things in another lang due to all the boilerplate, but when it comes to engineering a huge distributed system that will need to be fault tolerant and be maintained for 10+ years, Java is probably one of the best choices. With Java 8 + streams we get most of the functional goodies too so it's all around a great language. Great Community as well, theres libraries for everything!
>>
>>60003359

>It's a shit language
It's good for what it is, a "safe" language.
Safe meaning that a team of hundreds of retards can smash the keyboard for a few hours and end up with something that works if it compiles. Every feature that could be considered convenient but would be dangerous in an idiot's hands is gone.
>>
>>60003402
One can have expressiveness while maintaining memory/type/… safety. It's just that Java went full retard on OO.
>>
>>60003456
Gonna need an example on this one. The only things that truly are terrible are (imo):
1. Primitives. Fuck them.
2. No multiple inheritance, but this could also be a good thing so its really in the eye of the beholder.
>>
>>60003456

Absolutely, and C# pretty much solves that problem.
>>
>>60001843
Just use Scala. Last couple of projects I have worked on would have been Java but are now written in Scala due to these reasons;

> multiparadigm
> interop with java libs
> runs on the JVM
> nice collections
> good libs for data processing (spark, avro)
> greats libs for highly abstracted concepts or DSLs
>>
>>60003480

>1. Primitives. Fuck them.
explain?
>>
>>60002404
Yep. Java is the 21st century COBOL. It will be around for looooong time.
>>
>>60003670
The fact that they even exist is terrible, in a pure OOP world like smalltalk and ruby everything is an object, NOPE not with java you have to worry about primitives and handle them. It introduces lots of bad things, like for example db inserts primitives can't be null so if you're using mybatis or whatever and have a primitive field in your pojo it'll show up as 0 because thats the default instead of null like it should be. Its just bad. Everything should be an object and that should just be the end of it.
>>
>>60003713

Oh, you're talking about that other problem that C# solved.
>>
>>60003713
Oh tahts cool, I don't know C# at all but thats really cool that they went to a better OOP paradigm!
>>
>>60003843

It has a unified type system so everything is an object.
Besides that, it also has nullable types. int cannot take the value null, but
Nullable<int>
can. You also get the really nice syntactic sugar of declaring it as an int? and doing operations like
int myRegularInt = myNullableInt ?? 0 
to provide default values in case of null.
It's basically made for database shit.
>>
>>60003982
Damn. Thats awesome, might have to finally look into it. Is xamarin/mono the best C# implementation for linux?
>>
>>60004002

I don't use it on platforms other than Windows so I can't help you there, sorry.
>>
>>60001843
In all honesty Java is probably the best high-level language ever created. It has only improved and improved since its creation and is at the top of the industry for a reason. Java is easy, readable, portable, very easily extendable and it is more than efficient enough for the vast majority of circumstances. The only thing you wouldn't want to use it for is game development and low-level systems programming.

If you aren't using Java you are a fucking retarded autist, plain and simple.
Thread posts: 22
Thread images: 1


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.