Hacker News new | ask | show | jobs
by jasonboyd 2047 days ago
I rather like extension methods. I was not aware there was any controversy around them.

Edit

This wikipedia article suggests Java has extension methods, or maybe something functionally equivalent (I'm not a Java programmer): https://en.m.wikipedia.org/wiki/Extension_method

1 comments

> I was not aware there was any controversy around them.

Not controversy so much as that they're not close enough to being universally liked.

> This wikipedia article suggests Java has extension methods, or maybe something functionally equivalent

That uses a compiler plugin that changes the language quite considerably.