Hacker News new | past | comments | ask | show | jobs | submit login

"I was tired of writing code like this over and over again."

This is getting tiring:

   public class MyGraphThingee extends Graph<Foo, Bar>



Doesn’t this issue mostly go away when using a decent editor? I also found out that while I don’t particularly enjoy writing boilerplate code, it gives me a second to rest my brain, relax, think about the context etc. I think I like the resulting "rhythm changes".


Judging by the upvotes, the comment was misread. The point was that it is trivial to extend the generalization to avoid verbose references and type names.


Does Java have typedefs nowadays?


No. Don't need them.

https://gist.github.com/755824


are you some kind of java troll?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: