Archive

Archive for July, 2011

Steve Yegge on Properties design pattern

26.07.2011 Leave a comment

I have read Steve Yegge’s blog entry on Properties pattern. He claims that the pattern is sometimes called Prototype pattern, but the Prototype lacks flexibility which makes Steve’s idea cool. Essentially it’s like objects without a class. If it is also possible to store functions (lambda expressions?) in the properties so that not only values but also behavior is flexible then possibilities are endless. JavaScript seems to have extensive support for this entire way of design, maybe it’s a way to properly learn it?

Article also mentions a gnu perfect hash implementation.

Advertisements
Categories: Uncategorized