Discuss Scratch

FlameEater9000
Scratcher
100+ posts

JAVA is better then PYTHON

Java is better then Python, it's just better

Java is a superior language when it comes to performance and scalability. It is an ideal language for developing large-scale applications and enterprise-level software. The language is optimized for speed and has excellent support for multithreading, which allows it to handle multiple tasks simultaneously without compromising performance. With its robust security features, Java is also a more secure language than Python, making it an excellent choice for developing applications that require high levels of security.

Java is also a better choice for developing applications that require cross-platform compatibility. It has excellent support for various operating systems, making it easy to develop applications that can run on different platforms. Python, on the other hand, can be difficult to port to different operating systems, which can limit its usefulness in certain situations.

Java also has a massive community of developers, making it easy to find resources, libraries, and tools to help you develop your applications. It has a robust set of development tools, including the popular IntelliJ IDEA and Eclipse IDEs, making it easy to write, debug, and deploy Java applications. Python also has a large community of developers, but it is more focused on data science and machine learning applications.
Thanks to ChatGPT (GPT 3.5)

That's why Java is way better then Python, you can choose whichever you like but this may convince you that Java is better
FlameEater9000
Scratcher
100+ posts

JAVA is better then PYTHON

+1 For java. you can also code reskins in Java, it's harder in Python trust me I have coded reskins in Java and Python
Redstone1080
Scratcher
1000+ posts

JAVA is better then PYTHON

I feel like this might start a flame war…
gilbert_given_189
Scratcher
1000+ posts

JAVA is better then PYTHON

  1. Can you please be a little less aggressive with the title? “Java is better then Python” is more benign than “JAVA is better then PYTHON”.
  2. The language is optimized for speed and has excellent support for multithreading, which allows it to handle multiple tasks simultaneously without compromising performance.
    If I want to optimize speed I'd rather compile it native instead of to JVM. Also, have you seen how complex multi-threading is in Java?
(I want to add more but I'm trying to not add more fuel to the firewood so I'll stop it here)
A-Hadi
Scratcher
100+ posts

JAVA is better then PYTHON

Agreed
WojtekGame
Scratcher
1000+ posts

JAVA is better then PYTHON

i don't agree.

Python: 1
JavaScript: Ameturs
Redstone1080
Scratcher
1000+ posts

JAVA is better then PYTHON

WojtekGame wrote:

(#6)
i don't agree.

Python: 1
JavaScript: Ameturs
java ≠ javascript
WojtekGame
Scratcher
1000+ posts

JAVA is better then PYTHON

Redstone1080 wrote:

WojtekGame wrote:

(#6)
i don't agree.

Python: 1
JavaScript: Ameturs
java ≠ javascript
I know, but JS can also be ran everywhere if it has an browser and has JS activated (because they still have that option -_-)
bigspeedfpv
Scratcher
500+ posts

JAVA is better then PYTHON

WojtekGame wrote:

Redstone1080 wrote:

WojtekGame wrote:

(#6)
i don't agree.

Python: 1
JavaScript: Ameturs
java ≠ javascript
I know, but JS can also be ran everywhere if it has an browser and has JS activated (because they still have that option -_-)
this debate doesn't involve js lol, js is way way way different

anyway, java's still an industry standard. there's a reason you won't find big corporations writing their backends in python
ScratchCatHELLO
Scratcher
1000+ posts

JAVA is better then PYTHON

they both have their purposes. they’re from different classes of language and so can’t really be compared.

FlameEater9000 wrote:

Java is a superior language when it comes to performance and scalability.

java is static and lower-level, so yes, it’s faster. speed doesn’t always matter, though. if it’s something that you only need to run occasionally, then what matters is how much you care. if you value your time, then often it’s better to use a language that is easier to use. this is why virtually no language is universally “better” than any other.

It is an ideal language for developing large-scale applications and enterprise-level software.

rust is usually simpler, safer, faster, and more featureful.

The language is optimized for speed and has excellent support for multithreading, which allows it to handle multiple tasks simultaneously without compromising performance.

this is not unique. more modern languages (eg. rust) exist with the same featureset.

With its robust security features, Java is also a more secure language than Python, making it an excellent choice for developing applications that require high levels of security.

“with it’s security, it is secure, making it good for security”

regardless, rust is also secure while being a decent language at the same time.

Java is also a better choice for developing applications that require cross-platform compatibility. It has excellent support for various operating systems, making it easy to develop applications that can run on different platforms.

yes, but that’s not unique either.

Python, on the other hand, can be difficult to port to different operating systems, which can limit its usefulness in certain situations.

what are you talking about? python has ports to every major operating system people use. the problem with python is getting people to install it, not the lack of ports.

Java also has a massive community of developers, making it easy to find resources, libraries, and tools to help you develop your applications.

python has more professional developers than java.

It has a robust set of development tools, including the popular IntelliJ IDEA

python is more modern and has all of these things

and Eclipse IDEs

doesn’t everyone hate eclipse?

, making it easy to write, debug, and deploy Java applications.

it’s not hard to debug python

Python also has a large community of developers, but it is more focused on data science and machine learning applications.

ehh, not really? those are common, but people have done pretty much everything in python. it’s incredibly versitile.

Thanks to ChatGPT (GPT 3.5)

no, machine learning has been a major draw of python for a long time.

That's why Java is way better then Python

your arguments are mostly either incorrect, not always important, or more true of other languages like rust.
ScratchCatHELLO
Scratcher
1000+ posts

JAVA is better then PYTHON

bigspeedfpv wrote:

WojtekGame wrote:

Redstone1080 wrote:

WojtekGame wrote:

(#6)
i don't agree.

Python: 1
JavaScript: Ameturs
java ≠ javascript
I know, but JS can also be ran everywhere if it has an browser and has JS activated (because they still have that option -_-)
this debate doesn't involve js lol, js is way way way different

anyway, java's still an industry standard. there's a reason you won't find big corporations writing their backends in python

proof? I don’t think java is even a common backend.

bigspeedfpv
Scratcher
500+ posts

JAVA is better then PYTHON

ScratchCatHELLO wrote:

rust is usually simpler, safer, faster, and more featureful.
not necessarily - rust doesn't have gc pauses (java doesn't either with some configuration), but i'd bet you'd have to hand-optimize rust pretty far to get it to beat a warmed-up JVM. do you have the expertise to do that? i know i don't.

The language is optimized for speed and has excellent support for multithreading, which allows it to handle multiple tasks simultaneously without compromising performance.
this is not unique. more modern languages (eg. rust) exist with the same featureset.
rust's async ecosystem is very fragmented. async-std? tokio? why is making async components so different from using them?

regardless, rust is also secure while being a decent language at the same time.
this is literally you just saying rust is decent lol
does rust have security policies? cryptographically signed binaries? binary sandboxing?

python has more professional developers than java.
look in the enterprise space and say that one more time

python is more modern and has all of these things
then why isn't intellij written in python

doesn’t everyone hate eclipse?
no?

it’s not hard to debug python
depends on what you're doing

ehh, not really? those are common, but people have done pretty much everything in python. it’s incredibly versitile.
okay find me an enterprise server written in python

Thanks to ChatGPT (GPT 3.5)
no, machine learning has been a major draw of python for a long time.
you just argued with an AI written article lol

your arguments are mostly either incorrect, not always important, or more true of other languages like rust.
rust doesn't have nearly as much tooling or enterprise support as Java. ever tried using a debugger on a rust program? not to mention the fact that the package ecosystem is HORRENDOUS still. there's not really a rust equivalent of something like spring boot, for example.
rust is still a baby language in terms of ecosystem, imo. it'll be a while before it can replace java - it's definitely a good language, as services like cloudflare and the blurple app use it, but it's not nearly as easy to use as something like java
bigspeedfpv
Scratcher
500+ posts

JAVA is better then PYTHON

ScratchCatHELLO wrote:

proof? I don’t think java is even a common backend.
this image is clearly not for backend?? do you really thing html/css is used on the backend? this is a super weird picture to use to argue that java's not popular, because it's only a subset of devs. looks like stackoverflow? their surveys tend to follow hype trends - just look at the graphs for UI frameworks. everything starts out high and slowly drops off in their charts.
in their most recent survey, svelte has a 75% “love” rate while angular's at 21%. guess which one's more widely used?
source https://survey.stackoverflow.co/2022/#section-most-loved-dreaded-and-wanted-web-frameworks-and-technologies
SansStudios
Scratcher
1000+ posts

JAVA is better then PYTHON

nice troll thread
ScratchCatHELLO
Scratcher
1000+ posts

JAVA is better then PYTHON

bigspeedfpv wrote:

ScratchCatHELLO wrote:

proof? I don’t think java is even a common backend.
this image is clearly not for backend?? do you really thing html/css is used on the backend? this is a super weird picture to use to argue that java's not popular, because it's only a subset of devs.

the image was a separate argument.

looks like stackoverflow? their surveys tend to follow hype trends - just look at the graphs for UI frameworks. everything starts out high and slowly drops off in their charts.
in their most recent survey, svelte has a 75% “love” rate while angular's at 21%. guess which one's more widely used?
source https://survey.stackoverflow.co/2022/#section-most-loved-dreaded-and-wanted-web-frameworks-and-technologies

this graph is how many people use it, not how many want to use it.

but also I’ve used svelte and it’s actually great. it’s mostly that not everyone can just migrate and there are fewer people with experience in svelte.

Last edited by ScratchCatHELLO (Feb. 26, 2023 20:45:44)

NFlex23
Scratcher
1000+ posts

JAVA is better then PYTHON

Not another GPT-generated topic.

Edit: this could be fun…

ChatGPT wrote:

While everyone is entitled to their own opinion, I must respectfully disagree with your claim that Java is “better” than Python. Here are a few reasons why:

Firstly, when it comes to ease of use and readability, Python is often considered to be a much simpler language than Java. Python's syntax is designed to be intuitive and easy to understand, which can make it quicker to write and debug code. In contrast, Java's syntax can be more complex, which can make it more difficult for beginners to learn.

Secondly, Python is often considered to be a more versatile language than Java. While Java is primarily used for developing large-scale applications, Python can be used for a wide variety of tasks, including web development, data analysis, machine learning, scientific computing, and more. Python's flexibility and ease of use make it an ideal language for beginners, as well as more experienced programmers who need to quickly prototype and test their ideas.

Thirdly, while it is true that Java is optimized for performance and scalability, Python is not necessarily slower. In fact, Python's standard library includes a number of modules and libraries that are specifically designed for performance optimization, such as NumPy and SciPy. Additionally, Python's popularity has led to the development of a number of high-performance implementations, such as PyPy and Cython, which can be used to improve Python's speed and efficiency.

Finally, while it is true that Java has excellent cross-platform compatibility, Python is also designed to be portable and platform-independent. Python code can be run on a wide variety of platforms, including Windows, macOS, Linux, and more. Additionally, Python has excellent support for interacting with other languages and platforms, which can make it an ideal choice for integrating with existing systems and technologies.

Last edited by NFlex23 (Feb. 26, 2023 20:29:42)

WojtekGame
Scratcher
1000+ posts

JAVA is better then PYTHON

NFlex23 wrote:


ChatGPT wrote:

While everyone is entitled to their own opinion, I must respectfully disagree with your claim that Java is “better” than Python.

shut
ScratchCatHELLO
Scratcher
1000+ posts

JAVA is better then PYTHON

bigspeedfpv wrote:

ScratchCatHELLO wrote:

rust is usually simpler, safer, faster, and more featureful.
not necessarily - rust doesn't have gc pauses (java doesn't either with some configuration), but i'd bet you'd have to hand-optimize rust pretty far to get it to beat a warmed-up JVM. do you have the expertise to do that? i know i don't.

the speed part was a guess on my part based on the natures of the languages. they don’t seem to be that far apart, though. and rust doesn’t have to warm up, either.

The language is optimized for speed and has excellent support for multithreading, which allows it to handle multiple tasks simultaneously without compromising performance.
this is not unique. more modern languages (eg. rust) exist with the same featureset.
rust's async ecosystem is very fragmented. async-std? tokio? why is making async components so different from using them?

async exists natively, or you can use a third-party runtime (rust doesn’t have one).

regardless, rust is also secure while being a decent language at the same time.
this is literally you just saying rust is decent lol
does rust have security policies? cryptographically signed binaries? binary sandboxing?

“security” was so vague I didn’t know what it was being used to mean. I’m pretty sure you could do those things, though.

python is more modern and has all of these things
then why isn't intellij written in python

because python is not meant for GUI apps.

it’s not hard to debug python
depends on what you're doing

that’s true of java

ehh, not really? those are common, but people have done pretty much everything in python. it’s incredibly versitile.
okay find me an enterprise server written in python

google, r/socialmedia*, headbook*, youtube, pexitement*, netflix, etc.

*not real name
Thanks to ChatGPT (GPT 3.5)
no, machine learning has been a major draw of python for a long time.
you just argued with an AI written article lol

dam-
*looks at scratch cat*
gosh darnit! golly gee, I’ve been bamboozled!

your arguments are mostly either incorrect, not always important, or more true of other languages like rust.
rust doesn't have nearly as much tooling or enterprise support as Java.

not yet.

ever tried using a debugger on a rust program?

I don’t use debuggers.

not to mention the fact that the package ecosystem is HORRENDOUS still.

it’s not that bad, and it keeps getting better.

there's not really a rust equivalent of something like spring boot, for example.

I can’t tell what spring is even for, so I can’t help you there.

rust is still a baby language in terms of ecosystem, imo. it'll be a while before it can replace java - it's definitely a good language, as services like cloudflare and the blurple app use it, but it's not nearly as easy to use as something like java

I think this part is actually just a matter of opinion

Last edited by ScratchCatHELLO (Feb. 26, 2023 20:48:11)

bigspeedfpv
Scratcher
500+ posts

JAVA is better then PYTHON

ScratchCatHELLO wrote:

ever tried using a debugger on a rust program?

I don’t use debuggers.

there's not really a rust equivalent of something like spring boot, for example.

I can’t tell what spring is even for, so I can’t help you there.

rust is still a baby language in terms of ecosystem, imo. it'll be a while before it can replace java - it's definitely a good language, as services like cloudflare and the blurple app use it, but it's not nearly as easy to use as something like java

I think this part is actually just a matter of opinion
these three points alone tell me that you've not looked into the issue enough to say any of this definitively
qloakonscratch
Scratcher
1000+ posts

JAVA is better then PYTHON

the average at enjoyer

Powered by DjangoBB