The Essence of Software Design Effective Java, Important Design Patterns & Idioms Effective Java I - Creating and Destroying Objects Item 1: Consider providing static factory methods instead of constructorsItem 2: Enforce the singleton property with a private constructorItem 3: Enforce noninstantiability with a private constructorItem 4: Avoid creating duplicate objectsItem 5: Eliminate obsolte object referencesItem 6: Avoid finalizers II - Methods common to all Objects Item 7: Obey the general contract when overriding equalsItem 8: Always override hashCode when you overrride equalsItem 9: Always override toStringItem 10: Override clone judiciouslyItem 11: Consider implementing Comparable III - Classes and Interfaces IV - Substitutes for C Constructs Item 19: Replace structures with classesItem 20: Replace unions with class hierarchiesItem 21: Replace enum constructs with classesItem 22: Replace function pointers with classes and interfaces V - Methods VI - General Programming VII - Exceptions VIII - Threads IX - Serialization
The Science of Learning: Best Approaches for Your Brain Do you wonder why people don’t understand the idea you’re trying to get across in a meeting? Are you mentoring another developer and struggling to understand why the still don’t get it? Do you run training courses and wonder why the attendees only learn 10% of the material? Only twenty years ago most people in the world of neuroscience believed that the connections between the neurons in your brain were fixed by the time you were a teenager (or even younger). The hippocampus is the gatekeeper for long term memory, in this case declarative memory (i.e. stories and experiences). Abstract Ideas We sometimes start talking about Unit Testing with a long theoretical explanation and we get blank stares from the people we’re trying to help. In the case of kids it would be more effective to teach math by using blocks or any other physical object that makes the idea concrete. What is going on in your brain? Emotion It is used to drive our behaviour however it can sometimes get in our way. Images
Geek Weapons: Guy creates real-life Thor hammer November 04, 2013, 3:06 PM — Just in time for Friday's debut of the Thor sequel ("Thor: The Dark World"), the AWE me channel on YouTube presents its latest "Man At Arms" episode, where master swordsmith Tony Swatton forges real-life weapons based on those in the world of fiction and movies. Swatton is tackling Thor's hammer Mjolnir, creating a hollow version that still weighs about 20 pounds. Can it still smash and break stuff like Thor? As always, my favorite part is the end of the episode, where they break stuff with the weapon.
Portfolio Image Navigation with jQuery « Previous Demo: Expanding Fullscreen Grid Portfolio Images by Angelo González back to the Codrops post Portfolio Image Navigation Up Down Previous Next Striking Unexpected Warped Window in London by Shirazeh Houshiary An unexpected warped window is at home at Church of St. Martin in the Fields, from Trafalgar Square, London, composed by surprising abstract design. Distinctive to the area that abruptly warps a large church window into a visually peculiar model. The richness of natural light insinuated through the etched glass and steel fret work gave the project light with the sole purpose to permanently replace a window shattered by bombs during World War II, to “successfully animate the light”.