News for hackers. Stuff that matters.
Re:Python is becoming the world’s most popular programming l... by est on Wednesday October 10, 2018 @03:42AM (#18182825)
refactoring a equivalent Java project is way more challenging. I'd argue.

Refactoring a python project is usually one man's job.

Refactoring a Java project takes a whole department and process management crew.

Re:Python is becoming the world’s most popular programming l... by potatoyogurt on Wednesday October 10, 2018 @04:14AM (#18182957)
Why do you think Java is so much harder to refactor? Java and python are not that much different, and Java has static types which aid refactoring as well as a really strong tooling ecosystem. I haven't worked with large python codebases, but it hasn't really been my experience that refactoring Java is unusually hard, except insofar as average code quality among projects written in Java is probably lower.
Re:Python is becoming the world’s most popular programming l... by toolslive on Wednesday October 10, 2018 @04:30AM (#18183040)
Java IDEs have good support for refactoring since the late 90s:

  - rename/move class (and autoupdate all references)
  - change method signature
most of it is just stating what you want and the tool does it for you. I don't see that level of support from python IDEs.

https://news.ycombinator.com/item?id=9671783

Re:Python is becoming the world’s most popular programming l... by senorjazz on Wednesday October 10, 2018 @08:17AM (#18184102)
> refactoring a equivalent Java project is way more challenging. I'd argue.

Sorry but you are wrong. Just plain wrong. There are benefits for both languages. But to say python is easier to refactor is like saying Java is more concise. It isn't.

>Refactoring a Java project takes a whole department and process management crew.

Has nothing to do with the language, but the company. A small company will refactor and have an update out same day in Java. An enterprise using some python will be as you say

Re:Python is becoming the world’s most popular programming l... by qalmakka on Wednesday October 10, 2018 @03:52AM (#18182868)
Java is absolute garbage, and it is definitely not the kind of language I've in mind, which is something like Go, Rust, C#, Kotlin, Swift, ocaml... Even C++ is perhaps easier to understand than Java, if not because it tends to have half boilerplate than a similarly sized Java project.