Re:Don't Distract New Programmers with OOP
by collyw on Tuesday December 17, 2013 @07:37AM
(#6920750)
I have seen some truly awful code that has been written in Python. It wouldn't have been possible in Java due to the nature of the language.
Re:Don't Distract New Programmers with OOP
by Goladus on Tuesday December 17, 2013 @03:51PM
(#6923866)
One can write an O(n^2) that should be an O(n) algorithm in Java just as easily as Python.
Bad code is bad code. On the scale of encouraging good practices and discouraging bad ones, Python does pretty well given the very low overhead to get started-- something Java does not have.
First, many people need a simple introduction to the entire concept of programming-- codifying precise instructions to a computer to get specific results.
Second, python is a great tool for exploration of other low-level systems, eg the socket library, the posix library, the os library.