Tag: advanced

  • Java Inner Classes – Part 4 – Multiple Inheritance and Closures

    Java gets a lot of blame for not allowing straight multiple inheritance and for not implementing closures. But according to Bruce Eckel, you can do a multiple inheritance in Java, you can do closures – sort of. You can accomplish that with inner classes! In this final Part 4 entry, I will concentrate on these…

    Read more...

  • Java Inner Classes – Part 3 – Nested Classes

    In Part 1, I’ve covered the basics, in part 2, anonymous inner classes. Is there anything left about inner classes? Yes, there is. I warned you that inner classes are a beast. 🙂 In this part, I’ll cover nested classes. When you create an inner class, there is a connection between the enclosed class and…

    Read more...

  • Java Inner Classes – Part 2 – Anonymous

    In Part 1, Java Inner Classes – Intro, I covered most of the basics of inner classes. But there is much more. Some of it might get complex and confusing. But with all of that, I am beginning to understand and value what Bruce Eckel tries to say when he introduces inner classes. At first,…

    Read more...

  • Java Inner Classes – Intro

    I believe in writing self-documented, easy to read code. I believe in mantra that simple is beautiful Inner classes are not good tools for that task. I think they make the task of writing good code much harder: weird syntax, different rules, etc. Mostly for that reason, I have not really learned inner classes. I…

    Read more...

Recent Posts

Tags

2010 2011 abstraction advanced Books code concepts Craftsmanship design patterns encapsulation goals gof grasp immutability innerclass Java javascript jpa learning patterns practicing quality Quotes reading recommended reference solid tdd testing unclebob

Comments

  1. Good blog! I really love how it is simple on my eyes and the data are well written. I'm wondering…