Hacker News new | ask | show | jobs
by lolive 273 days ago
Whoever criticises Java in the modern world will have to answer to this: if your IDE of choice does not provide a safe « Extract method » capability, then your langage largely sucks.
1 comments

> if your IDE of choice does not provide a safe « Extract method » capability, then your langage largely sucks.

Why is that a language problem as opposed to an IDE problem?

The IDE is basically applying static code analysis methods to "understand" the code structure. Something that works extremely well in Java, reasonably well in Typescript, and seems quite shaky in other languages.
Fair point. Still think that that sole criterion is a bit arbitrary to judge a language on, but different needs for different people, etc., etc.
When it’s Ruby or another language that uses metaprogramming to the point of complete obscurity to tools and humans.
Fair point. Looks like some IDEs can provide some kind of extract functionality, but can't say I have had enough experience with them to say how reliable it is.
In Java, it is platinium level.