Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Binding problem with 'do

From: lmecir:mbox:vol:cz at: 31-Jul-2005 23:58

Tim Johnson napsal(a): ....
> That's almost pythonistic in it's engineering (from me that's a > complement) :-). However, if I understand you correctly, it would > be as large and repetitive as the original switch. >
.... If that is the case, then it is highly probable, that the design issue is deeper than you presented and the solution should be more complex. I have some code that solves such issues in a more elegant way (using associative arrays e.g.), but that is a "higher level" solution, i.e. it was possible only when I knew the actual problem more thoroughly than you described in your question. -Ladislav