My Dad presented me with a bag of rhubarb from his allotment and this recipe for a crumble. This is one hell of a tasty recipe and its super easy. If one thing will convince you to grow rhubarb then this is it. As it’s just oats, fruit, nuts and honey it’s also basically … breakfast! 2 courses in 1! Serve hot, eat the leftovers (if there is any) out of the fridge. The making-of is a no-brainer: cook up the fruit base, cover with the crumble topping, bake. Done!
A large chunk of the Classes and Objects tutorial deals with Nested Classes, Inner Classes, Local Classes,Anonymous Classes, Lambda Expressions, and Method References. All these provide ways to:
- logically group classes that are only used in one place
- increase use of encapsulation as the outer class can have private members that the inner class can access
- create more readable and maintainable code
The end of the tutorial has some suggestions about which approach to use. I’m starting with this before diving into the detail:
The Classes And Objects tutorial starts off gently enough but then gets increasingly more mind-bending as it dives into Inner Classes, Local Classes, Anonymous Classes, Lambda Expressions, Method References and introductions to Generics. It’s pretty long too so I’m splitting it out, starting with notes on the basics.
The next Java tutorial gets the basic language out of the way. It’s surprisingly difficult to recall all those primitive types and operator precedence, which is a good reason to use
() with the latter so you don’t have to.
- Naming Rules & Conventions
- Primitive Types
- Character Strings
- Default Values
- Expressions, Statements, and Blocks
- Control Flow Statements
Post career at old Firm, my plan has been to spend May, June and July figuring out what to do next and let my imagination run free. When it comes to Networking, I’ve been thinking I would avoid it until I have a clear objective. The clear objective or objectives to have magically popped out by the end of July ;-). However the Penna networking course I did the other day convinced me that this is not necessarily the best approach and that my muddledness could actually translate into some clear networking objectives. The instructor painted a compelling picture which looked like this:
I confess, I not sure this recipe saves much money as I smothered it with Cadbury Daily Milk Chocolate, which, to be fair, I think is required to make it taste nice. The premise was finding something to do with the Weetabix mountain in our house which everybody has decided that they will no longer eat for breakfast ( don’t get my started 😡 ). This was the first recipe that Google suggested. It’s quite rich, definitely needs the chocolate icing, and is best eaten in small chunks. We cut the chunk(s) in the pic into 2 after tasting. Probably won’t rush to make again although it went down reasonably well. Now just got to find something to do with the other 84 bars of Weetabix. Yes, you did read that right. 84 bars. HELP!
The first trail is a basic intro into Object-Orientated Programming Concepts.
- Object – a bundle of related state (Fields) and behaviour (Methods), use data encapsulation to hide internal state, and force interaction through methods.
- Modularity : Independent source code. Pass object around system
- Information-hiding : hide internal implementation details
- Code re-use : reuse objects, implement/test/debug objects
- Pluggability and debugging ease
- Class – models state and behaviour of real-world object.
- Inheritance – subclass extends state and behaviour from 1 superclass.
- if a class implements an interface it must implement all methods defined in the interface.
- inherently static
- Package – namespace for organising classes and interfaces.
and then some exercises…