Login Register






Is Python approriate with large scale project? filter_list
Author
Message
Is Python approriate with large scale project? #1
Python is easy and fast, I know that. But I stil confuse of this language, I want to use both Java and Python but tend to learn how to use Python first in order to build generic knowledge with higher accurate.
What does it mean by Python being productive? Is it approriate to make big projects? Is the hardware accessiblity equal to Java?
Theremore, may you guys introduce some pros Python here? I want to ask some more question.
My regard,
GINTOKI AMETO

Reply

Is Python approriate with large scale project? #2
Python is easy and fast, I know that. But I stil confuse of this language, I want to use both Java and Python but tend to learn how to use Python first in order to build generic knowledge with higher accurate.
What does it mean by Python being productive? Is it approriate to make big projects? Is the hardware accessiblity equal to Java?
Theremore, may you guys introduce some pros Python here? I want to ask some more question.
My regard,
GINTOKI AMETO

Reply

RE: Is Python approriate with large scale project? #3
commonalities:
* both are platform independend with their most common implementations (CPython and Oracle Java with JVM) which I will talk about also in the following points
* both are popular, both have lots of frameworks, libraries, a large community and you find a lot of help in form of tutorials, code examples and books
* both are on the same high level, meaning hardware accessibility is similar

differences:
* Python is more concise, Java has boilerplate code which will get on your nerves once you know Python
* Java is object oriented and you have to use classes, Python has object orientation capabilities, but you don't have to use them
* Python has functional features Java is lacking (but: with Java 8 there will be some functional features for Java too)
* Python is better with small scripts than Java. One reason is the compilation which doesn't take long for Python. (Most people even thing CPython is not compiled at all, which is wrong!) Java does more optimization during compilation, so it takes longer. Java also forces you to structure your code into classes which adds a lot of stuff you don't want for small scripts, but a good structure also makes it easier to use for large projects
* Java is good with multithreading, Python can use several threads, but they won't give any speedup, because of the global interpreter lock (GIP)
* Python is compiled, but not optimized during compilation (talking about CPython), whereas Java is optimized
* Python is dynamically typed, Java is statically typed. A dynamically typed language is more error prone, especially with large projects, you need more unit testing (which most programmers don't do), you need more accurate documentation (which most programmers hate to do). A statically typed language shows type errors at compiletime, but also needs you to write type declarations (unless types are inferred). Imho it is better starting with a statically typed language to learn how to work properly with types. People who start with Python tend to have more problems with type related errors since they don't have to think about types so much while writing code.
Note: I am not saying, Python can't be used for large projects. There are several counterexamples for that. I just think, Java is better for them.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Is Python approriate with large scale project? #4
commonalities:
* both are platform independend with their most common implementations (CPython and Oracle Java with JVM) which I will talk about also in the following points
* both are popular, both have lots of frameworks, libraries, a large community and you find a lot of help in form of tutorials, code examples and books
* both are on the same high level, meaning hardware accessibility is similar

differences:
* Python is more concise, Java has boilerplate code which will get on your nerves once you know Python
* Java is object oriented and you have to use classes, Python has object orientation capabilities, but you don't have to use them
* Python has functional features Java is lacking (but: with Java 8 there will be some functional features for Java too)
* Python is better with small scripts than Java. One reason is the compilation which doesn't take long for Python. (Most people even thing CPython is not compiled at all, which is wrong!) Java does more optimization during compilation, so it takes longer. Java also forces you to structure your code into classes which adds a lot of stuff you don't want for small scripts, but a good structure also makes it easier to use for large projects
* Java is good with multithreading, Python can use several threads, but they won't give any speedup, because of the global interpreter lock (GIP)
* Python is compiled, but not optimized during compilation (talking about CPython), whereas Java is optimized
* Python is dynamically typed, Java is statically typed. A dynamically typed language is more error prone, especially with large projects, you need more unit testing (which most programmers don't do), you need more accurate documentation (which most programmers hate to do). A statically typed language shows type errors at compiletime, but also needs you to write type declarations (unless types are inferred). Imho it is better starting with a statically typed language to learn how to work properly with types. People who start with Python tend to have more problems with type related errors since they don't have to think about types so much while writing code.
Note: I am not saying, Python can't be used for large projects. There are several counterexamples for that. I just think, Java is better for them.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Is Python approriate with large scale project? #5
:Thumbs-Up: Thankyou very much, then I decided to learn how to use Python, and I will give Java back into the Mr.Corner for a while....
Python syntax is pretty comfortable, I can use it well.

Reply