Tag: Java
-
Effective Java (2nd) – Must Read Book
I read the 1st edition (my recommended book) a few years back. I just re-read the 2nd edition. It’s one of the best Java books around (the other must read would be Java Concurrency in Practice). Read it. Re-read it. The 2nd edition is a little harder to read. Some chapters are too long and…
-
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…
-
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…
-
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,…
-
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…
Recent Posts
- The Software Craftsman
- Write Debuggable Code!
- Effective Programming: More Than Writing Code
- Fundamentals of programming
- Steve Jobs on Simplicity
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
Yes it does, thanks a lot for the info.
Good blog! I really love how it is simple on my eyes and the data are well written. I'm wondering…