[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]

So tell me again why you dislike Python and Java?

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: 48
Thread images: 3

File: FB_IMG_1495726807208.jpg (54KB, 1080x1080px) Image search: [Google]
FB_IMG_1495726807208.jpg
54KB, 1080x1080px
So tell me again why you dislike Python and Java?
>>
>>60580453
They are both fine
I prefer Kotlin though. Can write it almost as quickly as Python while getting the type safety and libraries of Java.
>>
>>60580453
>FB_IMG_1495726807208.jpg

fuck off back
>>
>>60580453
>Java
>Understandable

Yeah let me dig through all 20,000 object factories and classes here to try and figure out what the fuck is actually going on.
>>
>>60580524
You're probably the kind of person that use one letter variable names and inscrutable abbreviations
>>
>>60580543
And they're all globals too, the way god intended.
>>
>>60580470
>doesn't use autocomplete to write Java
>>
I enjoy Python, but I find Java to be frustrating, I feel it forces me to write too much boilerplate
>>
>>60580453
I prefer Ruby (and therefore also Crystal) and C#, because they came afterwards and therefore alone are better, since hindsight is 90% in PL design.
>>
>>60580583

>Java
>Globals
>>
>>60580453
>java
slow, verbose and bloated language that is mostly used by mindless codemonkeys in huge corporations

python is a really nice language though
>>
>>60584136

>Complains about Java being slow
>Recommends Python
>>
>>60584178
yeah that is kind of a hypocrisy but i think when you need fast language you go for c/c++ and when you don't care about it you can choose much better language like for example python, and that's why I'm complaining about being slow
>>
>>60584275

Performance is a sliding scale. Sometimes the extra 20% in speed isn't worth doubling the development time or throwing safety to the wind.
>>
>>60582782
I've found ruby to be one of the least consistently styled languages out there and this is coming from a js dev. too many liberties with syntax and gems with meta programming just let people do anything they want with convoluted module structures. I think python at least encourages good style and common patterns. I really hope ruby dies off and it's looking like js/node is doing just that.
>>
>>60584136
we are talking about java, not JVM anon

java is a nice language OP
>>
>>60584397

You've got it backwards. JVM is probably the best VM of its kind.
Java the language is a lean to a fault, which means your code is bloated with boilerplate. And wherever there looks like there's a nice language feature, it's all just sugar for something hideous underneath.
>>
>>60584397
>verbose
that still applies to java and in my personal opinion it's its biggest flaw
>>
>>60582544
This.
Java is a fine language when you use an IDE.
>>
>>60584136
how is java slow exactly?
>>
>>60584516
compared to compiled languages it's slow as fuck, compared to interpreted ones it's pretty fast i guess
also it's relatively slow to write
>>
>>60584372
>I've found ruby to be one of the least consistently styled languages out there and this is coming from a js dev.
> I think python at least encourages good style and common patterns.
A red flag that tells that you can't into language design. Call me back once Python has an equivalent of array.sample that doesn't suck.
>>
>>60584572
Java is compiled. It is also faster than some other compiled languages, for example Haskell.
>>
>>60585189
compiled to a bytecode not a native code, thats a difference
>>
>>60585530

You can compile Java to native machine code, you know.
>>
Java programs being JIT compiled makes it faster than pre-compiled C/C++ programs

>source: searched for 'java vs c++' in Bing
>>
>>60585680

>JIT is better 10% of the time
>Therefore JIT is better all the time
>>
>>60585530
Java bytecode is just an immediate representation. In the end it gets compiled to "native code". It can also be compiled directly if you need that for some reason.
>>
>>60585722

Every language is compiled, by that logic.
>>
>>60585738
cool, then we can drop this useless disctinction
>>
>>60585701
>I can spend 100 hours optimizing the code by hand and compiling for one specific machine, achieving 10% better performance
>therefore pre-compiling is better 100% than JIT compiling
>>
>>60580453
The closer your code is to machine language the better it runs.
>>
>>60586714
The more abstracted the code is, the better and easier it is to work with.
>>
>>60586761
The more abstracted the code is, more retards will be able to develop and it's not a good thing.
>>
>>60586926
That's some malicious logic. Don't tell me you also obfuscate your code on purpose to keep your job "secure"
>>
File: face you4534.png (161KB, 249x345px) Image search: [Google]
face you4534.png
161KB, 249x345px
>>60584136
>almost as fast as C/C++ (within 5% on most tests)
>slow
>>
>>60587285
Not him, but coding in a different language isn't obscuring. You can code readable stuff in C. If you can't, then you're a fucking retard.
>>
>>60587316
Synthetic benchmarks don't mean much, since the tests can be skewed in favor of either language. I can find benchmarks that say C is 30x faster than JS.
>>
>>60585722
java bytecode is interpreted, not compiled
>>
>>60587372
Wonder whatever happened to ARM's Jazelle. It's a processor that allows for direct bytecode execution on silicon.

If they put that on Xeons/Ryzen next gen, enterprise would flip shit.
>>
>>60587337
avoiding abstractions because "more retards will be able to develop" is obfuscating, but mostly it's being an unpleasant to work with shithead
>>
>>60587372
Sure, that hotspot compiler in the JVM exist only for shits and giggles.
>>
File: 1494574539983.png (34KB, 633x758px) Image search: [Google]
1494574539983.png
34KB, 633x758px
Those are the only 2 languages i know. How worthless am I?
>>
>>60587476
If you know Java, you can get a job in enterprise no problem.

You have to REALLY know java though.
>>
>>60587476
7
>>
>>60587372
it is mostly compiled. some parts might be interpreted if they are short and used infrequently.
unless of course somebody compiles it ahead of time. then it's all compiled except for dynamically loaded classes which are still compiled for the most part as I explained above.
>>
>>60580524
this
>>
>>60580524
>java is not understandable because my imaginary project has 20,000 files
u wot m8?
Thread posts: 48
Thread images: 3


[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.