There are many developers who prefer using ENUM in MySQL, which seems to be a viable choice many times. However it’s important to take care as…
ENUM requires a rebuild of the table when adding a value to the middle of the set.
ENUM values are ordered in the order they’re added to the database
ENUM values do [...]
According to Dmitry:
poorly optimized loops and unoptimized switch statements
memory caching with unlimited size: “I’m not sure what this pattern is called in Java, but [...]
Brandon Savage has some great tips regarding coding OOP:
“Use Objects. Lots of Objects”
“Use Interfaces To Make APIs Predictable”
Use Dependency Injection”
“Composition Over Inheritance”
“Create Loosely Coupled Classes”
As you can see it’s absolutely not rocket science nor these are new invetions: these rules simply help to avoid typical OOP pitfalls and keep your applications well structured.
Google released Closure, the library and toolset that powers Docs and other Google products.
Closure Library – a JS library with widgets, controls, lower-level utilities for DOM manipulation, server communication, animation, data [...]