Recent submissions

Comment · 3 years ago
> Trying to raise a software engineering discipline to the standard of the real engineers would leave you with an employee too expensive to do what his professional ethics wouldn't allow him to.

Nah. The vast majority of software projects are of the lower echelon variety e.g., the slapdash shopping cart web apps. Considering JavaScript is still the language of choice in that realm, engineering rigors can’t exactly be of any real consideration.

No, it’s not the expense keeping real engineering away, it’s the culture.

Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Recovery?
Comment · 3 years ago
They mostly have to do with design decisions / implementation details, not issues with extension methods in general.
Comment · 3 years ago
Ding!
Comment · 3 years ago
Comment · 3 years ago
There are good reasons. When you begin writing IDE support you will discover that:

1. Without annotations you’ll be forced to index all static methods based on the first argument, globally.

2. Method call code completion will be ridiculous. How many static methods have String, File, List, Object(!) etc. as the first parameter? I don’t think anybody wants their code completion to be invaded like that.

The annotations provide intention. Essentially, adding an extension method is not something to be taken lightly, it requires careful consideration, weighing context, frequency, etc.

Comment · 3 years ago
My sentiments exactly. The “API designers should control their APIs” one is my favorite and one of the more ridiculous things I’ve heard him say, which is saying something. It’s beyond humor, though, that all of his reasons are fallacies.
Comment · 3 years ago
Nice redirection of focus there.
Comment · 3 years ago
The “truth”
Comment · 3 years ago
Limit training to stackoverflow input and wham! we have automated modern programming ;)
Comment · 3 years ago
They are good about supporting latest JDK release and all LTS releases, going back to 8.

It’s Oracle’s saber rattling lately concerning plugins like Lombok and Manifold that make me more disappointed than nervous.

Comment · 3 years ago
The West has been importing its population for decades, full gas since 1965. Not only is this strategy failing, it is a significant contributor to the West’s current decline. The core problem is more centered on the dynamics of the 20th century that led to mass immigration.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton