--------------Boundary-00	YOO3FXLMAV7HDR94ST8
Content-Type: text/plain;
  charsetso-8859-1"
Content-Transfer-Encoding: 8bit

I got stuck in a tar baby re: the tiny contest proposed by Tobias.  I was 
determined to improve on Dave's superfast and elegant solution by using a 
more OO approach. e.g. refactoring Dave's solution.  I came up with a 
modified Bag class and a Word class.  Each encapsulated the essential 
behaviour of a word for this particular problem:  permuting itself, sorting 
itself, keeping track of its own failure, etc.  But no solution making use of 
these classes came anywhere close to Dave's time.  So now I am wondering: Is 
OOP not appropriate for certain kinds of problems?  Is this one such 
instance?  Or am I just a poor programmer?
-- 
Quantum Mechanics: The dreams stuff is made of

--------------Boundary-00	YOO3FXLMAV7HDR94ST8
Content-Type: application/x-gzip;
  nameag.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bag.tgz"

H4sICGHObzwAA3RlbXBfdGFybEMyd2NhLnRhcgDtVm1v2zYQzlcR2H8g7AGSNofzu4GgSbaiCzag
wIC2wD64gUDLdKxallyRcmI7/u+7IyVLcpy1wJAVw3RBLOrueHx4dyKfCb/76eyFpd3ut0eDATy1
HD/NeNTv9Ub94WA0PGt32r3e8IwOXhoYSioVTyg9S+JY/Z3fl+z/UZlA/eGfJZOXWwPq2R72+8/V
v9cZ9k39B73+qNsD/06/3T2j7ZeDVMj/vP6E+CGXkr7md/QV/Y3LOSEWVyrxEsGnInHohQy2okUv
5mBzMxv3fSFljNZA3vAgTBN0uY+TKXUhwFTMaBAFKuAhTHZQD1Mtma4gIo5+1q6XFB/4imtkrwzH
qDtEBsOMhxKV2kFwf+5NNkrQaUwfqR49Uj6dOjhk/jxxqYggrv4xaBA9IlAJRLNtHIpwxmAPSscz
oRYtuoYHer16RZ0F/YGuXRMGp1Yi4nrx5JObhRrD+JZFQXhNr+lBAYt16EXp/UdQVMLozUBalqni
KoijHFkBCvbTon6kYAhGC75WiKp9/DCOMCtWMKOgHoMnrKhXMI5sKkKhhIMpQZ0wWdQ2432eeZs9
WptAhFOMhUuBzq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tfFSxn59CFSe6jyXWr710VRLLbXUUksttdRSSy211FJLLbXUUksttdRSyz+Q
vwB0UUctACgAAA
--------------Boundary-00	YOO3FXLMAV7HDR94ST8
Content-Type: application/x-gzip;
  nameord.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="word.tgz"

H4sICKvObzwAA3RlbXBfdGFyR1dJc0phLnRhcgDtVm1v2zYQ9lfpVxySAZLalJXfgbRZWqANNqDA
gLZAPgSBwMhMzEEWPZKCk8X57zuSsiS7bvrJK4bxASxKvCN5b3zOKyFnr3uHRZqO0ul4jKPF7uje
p6PhcDqaTIbTXtpPx+NJD8YHtsuiUppKgJ4UQj+n9yP5fxQrk3/zIPLmUGdgPtPJaPS9/PdHg4HL
/2QwHExxvj9Ih+MepIcyqIv/ef7DvKBKwSVWQBgGVGuZSUZnTMZwasoCknqW5jlTSph5KiV9OIFT
ri4oLyrJUCkMZuwWeMk1pwX/m8VmMa4N3tldzsAM5rNddAa3tFDMTNodceK9GUnJVjhpi5LRfJ7d
PGgGMwFrsG9rFAYcte3XKzinZsLtccWv4Rza95dnfTjtfJ9BH5VZiabYhzMb3dLMWKdQIYoai4hC
T4jmC6bc+Rx/Ct6+hTjm8BJPTkg+l/CiPoFQHfMkAX67NeGOClR9Zn2odW3J5KLSVHNRPnuq8bBk
93p3a1Ly4nwjvHSRNoOJYfxuk4MAV20USBsLF4x2bUcEuK+RMZegfTqv6uXOp+CBs2LWnLInyFpk
qvXRfRlxiA84hm4dorlZdvH7p49ZZqz8JQ3D1Y5vEaW0uGFSR0m4tMVF6iy2ddMJrguk3WQNTv8N
bK2DjS0/+0b+u7D8T2czeifpIjtMI/gB/w/6/bThf/wDgPrDien/nv8Pj1CyvyqObByZ3EdhaEnD
8OBvVM0tFbuZTNxmBSvv9HyLpxf0vp3Ge2pvOlPalpJtAicgmaoKjUTkXgx/um4gma5kWcsNtdn6
c5cSOdDc/WEYVGWBncfJmu6x1SC+uehqQYuCSUuIljsXVOfzmh+dP1c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