<p>For the past 10 years or so there have been a smattering of articles and papers referencing Christopher Alexander's newer work "The Nature of Order" and how it can be applied to software.</p>

<p>Unfortunately, the only works I can find are from James Coplien and Richard Gabriel; there is nothing beyond that, at least from my attempts to find such things through google.</p>

<p>Is this kind of discussion happening anywhere?</p>

<p>MSN</p>

<hr>

<p>@Georgia</p>

<p>My question isn't about design patterns or pattern languages; it's about trying to see if more of Christopher Alexander's work can be applied to software (which it probably can, since it has even less physical constraints than architecture and building).</p>

<p>Design patterns and pattern languages seem to have embraced the structure of Alexander's design patterns, but not many capture the essence. The essence being something beyond solving a problem in a particular context.</p>

<p>It's difficult to explain without using some of Alexander's later works as a reference point.</p>

<p>Edit: No, I take that back.</p>

<p>For example, there's an architectural design pattern that is called Alcoves. The pattern has a context that isn't just rooted in the circumstances of the situation but also rooted in fundamentals about the purpose of buildings: that they are structures to be lived in and must promote living in them. In the case of the Alcove pattern, the context is that you want an area that allows for multiple people to be in the same area doing different things, because it is important for family members to be physically together as well as to be able to do things that tend to distract other family members.</p>

<p>Most software design patterns describe a problem in a context, but they make no deeper statement about why the problem is important, or why the problem is something that is fundamental to software. It makes it very easy to apply design patterns inappropriately or blithely, which is the exact opposite of the intent of design patterns to began with.</p>

<p>MSN
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­</p>

[{'answer_id': 46766, 'author': 'eon', 'author_id': 2000, 'author_profile': 'https://Stackoverflow.com/users/2000', 'pm_score': 7, 'selected': True, 'text': '<p>For the sake of completeness I\'ll repeat the discussion on Reto\'s post over at the <a href="http://groups.google.com/group/android-developers/browse_thread/thread/36fe0648dabfe745#" rel="noreferrer">Android Groups here</a>.</p>\n\n<p>It seems that if you set the bounds on your drawable it does the trick:</p>\n\n<pre><code>Drawable defaultMarker = r.getDrawable(R.drawable.icon);\n\n// You HAVE to specify the bounds! It seems like the markers are drawn\n// through Drawable.draw(Canvas) and therefore must have its bounds set\n// before drawing.\ndefaultMarker.setBounds(0, 0, defaultMarker.getIntrinsicWidth(),\n    defaultMarker.getIntrinsicHeight());\n\nMyItemizedOverlay markers = new MyItemizedOverlay(defaultMarker);\noverlays.add(markers);\n</code></pre>\n\n<p>By the way, the above is shamelessly ripped from <a href="http://www.marcelp.info/2008/09/01/android-itemizedoverlay-demo/" rel="noreferrer">the demo at MarcelP.info</a>. Also, here is a <a href="http://androidguys.com/?p=1413" rel="noreferrer">good howto</a>.</p>\n'}, {'answer_id': 58889919, 'author': 'zahra salmaninejad', 'author_id': 11372789, 'author_profile': 'https://Stackoverflow.com/users/11372789', 'pm_score': 1, 'selected': False, 'text': '<p>try :</p>\n\n<pre><code>Drawable defaultMarker = r.getDrawable(R.drawable.icon);\n\ndefaultMarker.setBounds(0, 0, defaultMarker.getIntrinsicWidth(),\n    defaultMarker.getIntrinsicHeight());\n\nMyItemizedOverlay markers = new MyItemizedOverlay(defaultMarker);\noverlays.add(markers);\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/26366', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1799/']