re: Refactoring the Worst Code I’ve Ever Written VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Not at all! Share away. :D
 

"Hold my <E extends Beer>"

public abstract class EntityManager <E extends Entity,F extends EntityMetaData,G extends EntityMetaDataCollection<F>,H extends EntityWebService> {

  protected abstract EntityDialog<E,F,G,H,EntityManager<E,F,G,H>> createEntityDialog(F entityMetaData);

}

I once thought the above was good code and was proud of how I had ensured type-safety 😭

code of conduct - report abuse